mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-09-02 16:01:16 +03:00
test: psa driver: Remove unnecessary IV generation
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
@@ -68,8 +68,6 @@ psa_status_t mbedtls_test_transparent_cipher_encrypt(
|
|||||||
if( mbedtls_test_driver_cipher_hooks.forced_status != PSA_SUCCESS )
|
if( mbedtls_test_driver_cipher_hooks.forced_status != PSA_SUCCESS )
|
||||||
return( mbedtls_test_driver_cipher_hooks.forced_status );
|
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(
|
return( mbedtls_transparent_test_driver_cipher_encrypt(
|
||||||
attributes, key_buffer, key_buffer_size,
|
attributes, key_buffer, key_buffer_size,
|
||||||
alg, input, input_length,
|
alg, input, input_length,
|
||||||
|
Reference in New Issue
Block a user