commit | 0b4d12313a6814ce45ffc42972539676effabb55 | [log] [tgz] |
---|---|---|
author | Ronald Cron <ronald.cron@arm.com> | Tue Dec 07 10:45:00 2021 +0100 |
committer | Ronald Cron <ronald.cron@arm.com> | Tue Dec 07 10:45:00 2021 +0100 |
tree | c5773e20e6a8a6dae5c24e69a3cb0c7de625cd53 | |
parent | 01186270137225b812b18afb53acd66bc88002eb [diff] |
Remove assertion on local nonce buffer size Signed-off-by: Ronald Cron <ronald.cron@arm.com>
diff --git a/library/psa_crypto.c b/library/psa_crypto.c index d3a2865..c2b4e48 100644 --- a/library/psa_crypto.c +++ b/library/psa_crypto.c
@@ -3893,10 +3893,6 @@ goto exit; } -#if defined(assert) - assert( required_nonce_size <= sizeof( local_nonce ) ); -#endif - status = psa_generate_random( local_nonce, required_nonce_size ); if( status != PSA_SUCCESS ) goto exit;