psa_crypto_local_input_alloc() function
Allocate a local copy of an input buffer and copy the contents into it.
Arguments
input
Pointer to input buffer.
input_len
Length of the input buffer.
local_input
Pointer to a psa_crypto_local_input_t struct containing a local input copy.
Return value
#PSA_SUCCESS, if the buffer was successfully copied. #PSA_ERROR_INSUFFICIENT_MEMORY, if a copy of the buffer cannot be allocated.
psa_crypto_local_input_alloc() is called by 33 functions and calls 3 functions:
![]()
psa_crypto_local_input_alloc()
psa_crypto_local_input_alloc() reads 2 variables and writes 2 variables:
![]()
psa_crypto_local_input_alloc()