Add missing zeroize for sensitive tag data.

Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
Paul Elliott 2021-09-13 19:02:04 +01:00
parent 719c1324a1
commit 06b6b8c8d6

View File

@ -1760,6 +1760,8 @@ psa_status_t psa_driver_wrapper_aead_verify(
status = PSA_ERROR_INVALID_SIGNATURE;
}
mbedtls_platform_zeroize( check_tag, sizeof( check_tag ) );
return( status );
}