Skip to content

Commit 91fb162

Browse files
committed
Change key to key-pair for testing signing
1 parent b16d54b commit 91fb162

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/suites/test_suite_psa_crypto_se_driver_hal_mocks.function

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ void mock_sign( int mock_sign_return_value, int expected_result )
467467
psa_set_key_lifetime( &attributes, lifetime );
468468
psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_SIGN );
469469
psa_set_key_algorithm( &attributes, algorithm );
470-
psa_set_key_type( &attributes, PSA_KEY_TYPE_RAW_DATA );
470+
psa_set_key_type( &attributes, PSA_KEY_TYPE_RSA_KEY_PAIR );
471471

472472
PSA_ASSERT( psa_import_key( &attributes,
473473
key_material, sizeof( key_material ),

0 commit comments

Comments
 (0)