1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-10-26 00:37:41 +03:00

Use safer size for tag checking

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

View File

@@ -1749,7 +1749,7 @@ psa_status_t psa_driver_wrapper_aead_verify(
plaintext_size,
plaintext_length,
check_tag,
tag_length,
sizeof( check_tag ),
&check_tag_length );
if( status == PSA_SUCCESS )