nRF Connect SDK API 2.8.0
|
psa_status_t psa_its_remove | ( | psa_storage_uid_t | uid | ) |
#include <include/internal_trusted_storage.h>
Remove the provided uid and its associated data from the storage.
Deletes the data from internal storage.
[in] | uid | The uid value |
PSA_SUCCESS | The operation completed successfully |
PSA_ERROR_INVALID_ARGUMENT | The operation failed because one or more of the given arguments were invalid (null pointer, wrong flags and so on) |
PSA_ERROR_DOES_NOT_EXIST | The operation failed because the provided uid value was not found in the storage |
PSA_ERROR_NOT_PERMITTED | The operation failed because the provided uid value was created with PSA_STORAGE_FLAG_WRITE_ONCE |
PSA_ERROR_STORAGE_FAILURE | The operation failed because the physical storage has failed (Fatal error) |