8 #ifndef __TFM_PROTECTED_STORAGE_H__
9 #define __TFM_PROTECTED_STORAGE_H__
105 uint32_t data_offset,
107 size_t *p_data_length);
psa_status_t tfm_ps_set(int32_t client_id, psa_storage_uid_t uid, uint32_t data_length, psa_storage_create_flags_t create_flags)
Creates a new or modifies an existing asset.
psa_status_t tfm_ps_get(int32_t client_id, psa_storage_uid_t uid, uint32_t data_offset, uint32_t data_size, size_t *p_data_length)
Gets the asset data for the provided uid.
psa_status_t tfm_ps_init(void)
Initializes the protected storage system.
psa_status_t tfm_ps_remove(int32_t client_id, psa_storage_uid_t uid)
Removes the provided uid and its associated data from storage.
psa_status_t tfm_ps_get_info(int32_t client_id, psa_storage_uid_t uid, struct psa_storage_info_t *p_info)
Gets the metadata for the provided uid.
uint64_t psa_storage_uid_t
uint32_t tfm_ps_get_support(void)
Gets a bitmask with flags set for all of the optional features supported by the implementation.
uint32_t psa_storage_create_flags_t
int32_t psa_status_t
Function return status.