@@ -1738,7 +1738,7 @@ psa_status_t psa_copy_key( psa_key_handle_t source_handle,
1738
1738
psa_se_drv_table_entry_t * driver = NULL ;
1739
1739
1740
1740
status = psa_get_transparent_key ( source_handle , & source_slot ,
1741
- PSA_KEY_USAGE_COPY , 0 );
1741
+ PSA_KEY_USAGE_COPY , 0 );
1742
1742
if ( status != PSA_SUCCESS )
1743
1743
goto exit ;
1744
1744
@@ -5332,8 +5332,8 @@ psa_status_t psa_key_derivation_input_key(
5332
5332
psa_key_slot_t * slot ;
5333
5333
psa_status_t status ;
5334
5334
status = psa_get_transparent_key ( handle , & slot ,
5335
- PSA_KEY_USAGE_DERIVE ,
5336
- operation -> alg );
5335
+ PSA_KEY_USAGE_DERIVE ,
5336
+ operation -> alg );
5337
5337
if ( status != PSA_SUCCESS )
5338
5338
return ( status );
5339
5339
if ( slot -> type != PSA_KEY_TYPE_DERIVE )
@@ -5481,7 +5481,7 @@ psa_status_t psa_key_derivation_key_agreement( psa_key_derivation_operation_t *o
5481
5481
if ( ! PSA_ALG_IS_KEY_AGREEMENT ( operation -> alg ) )
5482
5482
return ( PSA_ERROR_INVALID_ARGUMENT );
5483
5483
status = psa_get_transparent_key ( private_key , & slot ,
5484
- PSA_KEY_USAGE_DERIVE , operation -> alg );
5484
+ PSA_KEY_USAGE_DERIVE , operation -> alg );
5485
5485
if ( status != PSA_SUCCESS )
5486
5486
return ( status );
5487
5487
status = psa_key_agreement_internal ( operation , step ,
@@ -5509,7 +5509,7 @@ psa_status_t psa_raw_key_agreement( psa_algorithm_t alg,
5509
5509
goto exit ;
5510
5510
}
5511
5511
status = psa_get_transparent_key ( private_key , & slot ,
5512
- PSA_KEY_USAGE_DERIVE , alg );
5512
+ PSA_KEY_USAGE_DERIVE , alg );
5513
5513
if ( status != PSA_SUCCESS )
5514
5514
goto exit ;
5515
5515
0 commit comments