mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-01 04:20:45 +00:00
Add missing initialisation to setup test.
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
4a760882bb
commit
64555bd98c
@ -4181,6 +4181,8 @@ void aead_multipart_setup( int key_type_arg, data_t *key_data,
|
|||||||
PSA_ASSERT( psa_import_key( &attributes, key_data->x, key_data->len,
|
PSA_ASSERT( psa_import_key( &attributes, key_data->x, key_data->len,
|
||||||
&key ) );
|
&key ) );
|
||||||
|
|
||||||
|
operation = psa_aead_operation_init( );
|
||||||
|
|
||||||
mbedtls_test_set_step( 0 );
|
mbedtls_test_set_step( 0 );
|
||||||
|
|
||||||
status = psa_aead_encrypt_setup( &operation, key, alg );
|
status = psa_aead_encrypt_setup( &operation, key, alg );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user