psa_crypto_storage_load() function
Load persistent data for the given key slot number. This function reads data from a storage backend and returns the data in a buffer.
Arguments
key
Persistent identifier of the key to be loaded. This should be an occupied storage location.
data
Buffer where the data is to be written.
data_size
Size of the \c data buffer in bytes.
Return value
#PSA_SUCCESS \emptydescription #PSA_ERROR_DATA_INVALID \emptydescription #PSA_ERROR_DATA_CORRUPT \emptydescription #PSA_ERROR_STORAGE_FAILURE \emptydescription #PSA_ERROR_DOES_NOT_EXIST \emptydescription