mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-16 08:42:50 +00:00
Add implementation of psa_crypto_input_copy_free()
Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
parent
4700144817
commit
e6042ffc49
@ -8503,4 +8503,11 @@ error:
|
||||
return status;
|
||||
}
|
||||
|
||||
void psa_crypto_input_copy_free(psa_crypto_input_copy_t *input_copy)
|
||||
{
|
||||
mbedtls_free(input_copy->buffer);
|
||||
input_copy->buffer = NULL;
|
||||
input_copy->len = 0;
|
||||
}
|
||||
|
||||
#endif /* MBEDTLS_PSA_CRYPTO_C */
|
||||
|
Loading…
x
Reference in New Issue
Block a user