mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-24 19:41:06 +00:00
test: psa driver: Remove unnecessary IV generation
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
1637707929
commit
e25351ad5b
|
@ -68,8 +68,6 @@ psa_status_t mbedtls_test_transparent_cipher_encrypt(
|
|||
if( mbedtls_test_driver_cipher_hooks.forced_status != PSA_SUCCESS )
|
||||
return( mbedtls_test_driver_cipher_hooks.forced_status );
|
||||
|
||||
psa_generate_random( output, PSA_CIPHER_IV_LENGTH( attributes->core.type, alg ) );
|
||||
|
||||
return( mbedtls_transparent_test_driver_cipher_encrypt(
|
||||
attributes, key_buffer, key_buffer_size,
|
||||
alg, input, input_length,
|
||||
|
|
Loading…
Reference in a new issue