Clean aux_out in PSA version of mbedtls_ct_hmac()
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
parent
4313f55a13
commit
6958bd0206
1 changed files with 1 additions and 0 deletions
|
@ -550,6 +550,7 @@ cleanup:
|
||||||
mbedtls_platform_zeroize( mac_key, MBEDTLS_MD_MAX_BLOCK_SIZE );
|
mbedtls_platform_zeroize( mac_key, MBEDTLS_MD_MAX_BLOCK_SIZE );
|
||||||
mbedtls_platform_zeroize( ikey, MBEDTLS_MD_MAX_BLOCK_SIZE );
|
mbedtls_platform_zeroize( ikey, MBEDTLS_MD_MAX_BLOCK_SIZE );
|
||||||
mbedtls_platform_zeroize( okey, MBEDTLS_MD_MAX_BLOCK_SIZE );
|
mbedtls_platform_zeroize( okey, MBEDTLS_MD_MAX_BLOCK_SIZE );
|
||||||
|
mbedtls_platform_zeroize( aux_out, MBEDTLS_MD_MAX_SIZE );
|
||||||
psa_hash_abort( &operation );
|
psa_hash_abort( &operation );
|
||||||
psa_hash_abort( &aux_operation );
|
psa_hash_abort( &aux_operation );
|
||||||
return( status == PSA_SUCCESS ? 0 : MBEDTLS_ERR_PLATFORM_HW_ACCEL_FAILED );
|
return( status == PSA_SUCCESS ? 0 : MBEDTLS_ERR_PLATFORM_HW_ACCEL_FAILED );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue