diff --git a/library/psa_crypto_driver_wrappers.c b/library/psa_crypto_driver_wrappers.c index 5e7eb11cc..4c56162f3 100644 --- a/library/psa_crypto_driver_wrappers.c +++ b/library/psa_crypto_driver_wrappers.c @@ -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 )