10#ifndef PSA_INTERNAL_TRUSTED_STORAGE_H
11#define PSA_INTERNAL_TRUSTED_STORAGE_H
17#include "psa/storage_common.h"
29#define PSA_ITS_API_VERSION_MAJOR \
33#define PSA_ITS_API_VERSION_MINOR \
72psa_status_t
psa_its_set(psa_storage_uid_t uid,
size_t data_length,
const void *p_data,
73 psa_storage_create_flags_t create_flags);
111psa_status_t
psa_its_get(psa_storage_uid_t uid,
size_t data_offset,
size_t data_size,
void *p_data,
112 size_t *p_data_length);
137psa_status_t
psa_its_get_info(psa_storage_uid_t uid,
struct psa_storage_info_t *p_info);
psa_status_t psa_its_set(psa_storage_uid_t uid, size_t data_length, const void *p_data, psa_storage_create_flags_t create_flags)
Create a new, or modify an existing, uid/value pair.
psa_status_t psa_its_get(psa_storage_uid_t uid, size_t data_offset, size_t data_size, void *p_data, size_t *p_data_length)
Retrieve data associated with a provided UID.
psa_status_t psa_its_remove(psa_storage_uid_t uid)
Remove the provided uid 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.