Add missing initialisation to setup test.
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
4a760882bb
commit
64555bd98c
1 changed files with 2 additions and 0 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue