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 6790a6d36f
commit fa2d75d30a

View File

@ -5584,4 +5584,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 */