1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Add implementation of psa_crypto_input_copy_free()

Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
David Horstmann
2023-11-07 18:00:41 +00:00
parent 4700144817
commit e6042ffc49

View File

@ -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 */