psa_free_persistent_key_data() function
Free the temporary buffer allocated by psa_load_persistent_key(). This function must be called at some point after psa_load_persistent_key() to zeroize and free the memory allocated to the buffer in that function.
Arguments
key_data
Buffer for the key data.
key_data_length
Size of the key data buffer.