Enum anj_crypto_data_source_t
Defined in File crypto.h
Enum Documentation
-
enum anj_crypto_data_source_t
Specifies where cryptographic data is obtained from.
See also
Note
Most users will set this when populating anj_dm_security_instance_init_t while adding a Security Object Instance.
Values:
-
enumerator ANJ_CRYPTO_DATA_SOURCE_EMPTY
No data set.
-
enumerator ANJ_CRYPTO_DATA_SOURCE_BUFFER
Data is provided inline in the structure. The anj_crypto_security_info_buffer_t::data field must point to a valid memory region of size anj_crypto_security_info_buffer_t::data_size.
See also
-
enumerator ANJ_CRYPTO_DATA_SOURCE_EXTERNAL
Data is provided as an opaque external identifier (e.g., file path, alias in a keystore).
See also
-
enumerator ANJ_CRYPTO_DATA_SOURCE_EMPTY