mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-13 15:40:58 +00:00
psa_crypto.c, test_suite_psa_crypto.function: fix style
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
parent
7fc0751f78
commit
c85f0912c4
@ -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 );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user