mirror of
https://github.com/cuberite/polarssl.git
synced 2025-08-20 19:16:32 -04:00
Add implementation of psa_crypto_input_copy_free()
Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
parent
6790a6d36f
commit
fa2d75d30a
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user