Skip to content

Commit a967ede

Browse files
committed
Change key to to public key for testing public export
1 parent adad804 commit a967ede

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
@@ -404,7 +404,7 @@ void mock_export_public( int mock_export_public_return_value,
404404
psa_set_key_id( &attributes, id );
405405
psa_set_key_lifetime( &attributes, lifetime );
406406
psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_EXPORT );
407-
psa_set_key_type( &attributes, PSA_KEY_TYPE_RAW_DATA );
407+
psa_set_key_type( &attributes, PSA_KEY_TYPE_RSA_PUBLIC_KEY );
408408

409409
PSA_ASSERT( psa_import_key( &attributes,
410410
key_material, sizeof( key_material ),

0 commit comments

Comments
 (0)