![]() |
nRF Connect SDK API 3.3.99
|
| psa_status_t psa_its_get_info | ( | psa_storage_uid_t | uid, |
| struct psa_storage_info_t * | p_info ) |
#include <subsys/trusted_storage/include/psa/internal_trusted_storage.h>
Retrieve the metadata about the provided uid.
Retrieves the metadata stored for a given uid as a psa_storage_info_t structure.
| [in] | uid | The uid value |
| [out] | p_info | A pointer to the psa_storage_info_t struct that will be populated with the metadata |
| PSA_SUCCESS | The operation completed successfully |
| PSA_ERROR_DOES_NOT_EXIST | The operation failed because the provided uid value was not found in the storage |
| PSA_ERROR_STORAGE_FAILURE | The operation failed because the physical storage has failed (Fatal error) |
| PSA_ERROR_INVALID_ARGUMENT | The operation failed because one of the provided pointers(p_info) is invalid, for example is NULL or references memory the caller cannot access |