Use safer size for tag checking
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
06b6b8c8d6
commit
b183d56b5f
1 changed files with 1 additions and 1 deletions
|
@ -1749,7 +1749,7 @@ psa_status_t psa_driver_wrapper_aead_verify(
|
||||||
plaintext_size,
|
plaintext_size,
|
||||||
plaintext_length,
|
plaintext_length,
|
||||||
check_tag,
|
check_tag,
|
||||||
tag_length,
|
sizeof( check_tag ),
|
||||||
&check_tag_length );
|
&check_tag_length );
|
||||||
|
|
||||||
if( status == PSA_SUCCESS )
|
if( status == PSA_SUCCESS )
|
||||||
|
|
Loading…
Reference in a new issue