psa_crypto.c, test_suite_psa_crypto.function: fix style

Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
Przemek Stekiel 2022-03-08 11:37:54 +01:00
parent 7fc0751f78
commit c85f0912c4
2 changed files with 8 additions and 8 deletions

View File

@ -6784,11 +6784,11 @@ void derive_key_type( int alg_arg,
PSA_ASSERT( psa_import_key( &base_attributes, key_data->x, key_data->len, PSA_ASSERT( psa_import_key( &base_attributes, key_data->x, key_data->len,
&base_key ) ); &base_key ) );
if( !mbedtls_test_psa_setup_key_derivation_wrap( if( mbedtls_test_psa_setup_key_derivation_wrap(
&operation, base_key, alg, &operation, base_key, alg,
input1->x, input1->len, input1->x, input1->len,
input2->x, input2->len, input2->x, input2->len,
PSA_KEY_DERIVATION_UNLIMITED_CAPACITY ) ) PSA_KEY_DERIVATION_UNLIMITED_CAPACITY ) == 0 )
goto exit; goto exit;
psa_set_key_usage_flags( &derived_attributes, PSA_KEY_USAGE_EXPORT ); psa_set_key_usage_flags( &derived_attributes, PSA_KEY_USAGE_EXPORT );