Removes unecessary statement

After other changes had taken place the call to
PSA_ASSERT( psa_get_key_attributes( key, &attributes ) )
was no longer needed.

Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This commit is contained in:
Thomas Daubney 2022-04-07 15:10:34 +01:00
parent d9c69b7655
commit 6f57be93ec

View file

@ -2481,7 +2481,6 @@ void aead_decrypt_setup( int key_type_arg, data_t *key_data,
PSA_ASSERT( psa_import_key( &attributes, key_data->x, key_data->len,
&key ) );
PSA_ASSERT( psa_get_key_attributes( key, &attributes ) );
output_size = input_ciphertext->len;