30#ifndef ANJ_CRYPTO_STORAGE_H
31# define ANJ_CRYPTO_STORAGE_H
40# ifdef ANJ_WITH_EXTERNAL_CRYPTO_STORAGE
42# ifdef ANJ_WITH_PERSISTENCE
47# define ANJ_CRYPTO_STORAGE_PERSISTENCE_INFO_MAX_SIZE 64
151 size_t out_buffer_size,
152 size_t *out_record_size);
164# ifdef ANJ_WITH_PERSISTENCE
190 size_t *out_data_size);
Cryptographic data descriptors used by Security Object and networking.
Core type and constant definitions for Anjay Lite.
Global configuration validation header for Anjay Lite.
int anj_crypto_storage_delete_record(void *crypto_ctx, const anj_crypto_security_info_t *info)
int anj_crypto_storage_resolve_persistence_info(void *crypto_ctx, const void *data, size_t data_size, anj_crypto_security_info_external_t *out_info)
int anj_crypto_storage_store_data(void *crypto_ctx, const anj_crypto_security_info_t *info, const void *data, size_t data_size, bool last_chunk)
int anj_crypto_storage_init(void **out_crypto_ctx)
int anj_crypto_storage_resolve_security_info(void *crypto_ctx, anj_crypto_security_info_external_t *info, char *out_buffer, size_t out_buffer_size, size_t *out_record_size)
int anj_crypto_storage_get_persistence_info(void *crypto_ctx, const anj_crypto_security_info_external_t *info, void *out_data, size_t *out_data_size)
int anj_crypto_storage_create_new_record(void *crypto_ctx, anj_crypto_security_info_t *out_info)
void anj_crypto_storage_deinit(void *out_crypto_ctx)