psa_crypto_storage_store() function
Store persistent data for the given key slot number. This function stores the given data buffer to a persistent storage.
Arguments
key
Persistent identifier of the key to be stored. This should be an unoccupied storage location.
data
Buffer containing the data to be stored.
data_length
The number of bytes that make up the data.
Return value
#PSA_SUCCESS \emptydescription #PSA_ERROR_INSUFFICIENT_STORAGE \emptydescription #PSA_ERROR_ALREADY_EXISTS \emptydescription #PSA_ERROR_STORAGE_FAILURE \emptydescription #PSA_ERROR_DATA_INVALID \emptydescription