21#ifndef PSA_CRYPTO_ITS_H
22#define PSA_CRYPTO_ITS_H
42#define PSA_STORAGE_FLAG_NONE 0
43#define PSA_STORAGE_FLAG_WRITE_ONCE (1 << 0)
55#define PSA_STORAGE_SUPPORT_SET_EXTENDED (1 << 0)
59#define PSA_ERROR_INVALID_SIGNATURE ((psa_status_t)-149)
60#define PSA_ERROR_DATA_CORRUPT ((psa_status_t)-152)
62#define PSA_ITS_API_VERSION_MAJOR 1
63#define PSA_ITS_API_VERSION_MINOR 1
108 uint32_t data_offset,
109 uint32_t data_length,
111 size_t *p_data_length );
PSA cryptography module: type aliases.
PSA cryptography module: macros to build and analyze integer values.
int32_t psa_status_t
Function return status.
psa_status_t psa_its_set(psa_storage_uid_t uid, uint32_t data_length, const void *p_data, psa_storage_create_flags_t create_flags)
create a new or modify an existing uid/value pair
uint32_t psa_storage_create_flags_t
Flags used when creating a data entry.
psa_status_t psa_its_get(psa_storage_uid_t uid, uint32_t data_offset, uint32_t data_length, void *p_data, size_t *p_data_length)
Retrieve the value associated with a provided uid.
psa_status_t psa_its_remove(psa_storage_uid_t uid)
Remove the provided key and its associated data from the storage.
psa_status_t psa_its_get_info(psa_storage_uid_t uid, struct psa_storage_info_t *p_info)
Retrieve the metadata about the provided uid.
uint64_t psa_storage_uid_t
A type for UIDs used for identifying data.
uint32_t psa_storage_create_flags_t
Flags used when creating a data entry.
uint64_t psa_storage_uid_t
A type for UIDs used for identifying data.
A container for metadata associated with a specific uid.
psa_storage_create_flags_t flags
The flags set when the uid was created.
uint32_t size
The size of the data associated with a uid.