Add missing initialisation to setup test.

Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
Paul Elliott 2021-09-20 16:44:44 +01:00
parent 4a760882bb
commit 64555bd98c

View file

@ -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,
&key ) );
operation = psa_aead_operation_init( );
mbedtls_test_set_step( 0 );
status = psa_aead_encrypt_setup( &operation, key, alg );