psa_crypto_local_output_free() function
Copy from a local copy of an output buffer back to the original, then free the local copy.
Arguments
local_output
Pointer to a psa_crypto_local_output_t struct populated by a previous call to psa_crypto_local_output_alloc().
Return value
#PSA_SUCCESS, if the local output was successfully copied back to the original. #PSA_ERROR_CORRUPTION_DETECTED, if the output could not be copied back to the original.