psa_its_get() function
Retrieve the value associated with a provided uid
Arguments
data_offset
The starting offset of the data requested
data_length
the amount of data requested (and the minimum allocated size of the `p_data` buffer)
p_data
The buffer where the data will be placed upon successful completion
p_data_length
The amount of data returned in the p_data buffer
Return value
A status indicating the success/failure of the operation #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_DATA_CORRUPT The operation failed because stored data has been corrupted #PSA_ERROR_INVALID_ARGUMENT The operation failed because one of the provided pointers(`p_data`, `p_data_length`) is invalid. For example is `NULL` or references memory the caller cannot access. In addition, this can also happen if an invalid offset was provided.