Home
last modified time | relevance | path

Searched refs:PSA_KEY_USAGE_EXPORT (Results 1 – 17 of 17) sorted by relevance

/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto_slot_management.data51 persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:132:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SI…
55 persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:133:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SI…
59 persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:132:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SI…
63 persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:134:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SI…
67 persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:135:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SI…
71 persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:136:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SI…
75 persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:135:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SI…
79 persistent_slot_lifecycle:PSA_KEY_LIFETIME_PERSISTENT:137:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SI…
171PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_COPY:0:0:PSA_KEY_TYPE_RAW_DATA:"4142434445":PSA_KEY_LIFETIME_…
175PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_COPY:0:0:PSA_KEY_TYPE_RAW_DATA:"4142434445":PSA_KEY_LIFETIME_…
[all …]
Dtest_suite_psa_crypto.data5 import_export:"2a":PSA_KEY_TYPE_RAW_DATA:PSA_KEY_USAGE_EXPORT:0:0:8:0:PSA_SUCCESS:1
8 import_export:"2a":PSA_KEY_TYPE_RAW_DATA:PSA_KEY_USAGE_EXPORT:0:0:8:1:PSA_SUCCESS:1
11 import_export:"2a2b":PSA_KEY_TYPE_RAW_DATA:PSA_KEY_USAGE_EXPORT:0:0:16:-1:PSA_ERROR_BUFFER_TOO_SMAL…
15 import_export:"0123456789abcdef0123456789abcdef":PSA_KEY_TYPE_AES:PSA_KEY_USAGE_EXPORT:PSA_ALG_CTR:…
19 …123456789abcdef0123456789abcdef0123456789abcdef":PSA_KEY_TYPE_AES:PSA_KEY_USAGE_EXPORT:PSA_ALG_CTR…
23 …123456789abcdef0123456789abcdef0123456789abcdef":PSA_KEY_TYPE_AES:PSA_KEY_USAGE_EXPORT:PSA_ALG_CTR…
27 import_export:"2a":PSA_KEY_TYPE_RAW_DATA:PSA_KEY_USAGE_EXPORT:0:PSA_KEY_LIFETIME_FROM_PERSISTENCE_A…
31 import_export:"2a":PSA_KEY_TYPE_RAW_DATA:PSA_KEY_USAGE_EXPORT:0:PSA_KEY_LIFETIME_FROM_PERSISTENCE_A…
35 import_export:"2a2b":PSA_KEY_TYPE_RAW_DATA:PSA_KEY_USAGE_EXPORT:0:PSA_KEY_LIFETIME_FROM_PERSISTENCE…
39 import_export:"0123456789abcdef0123456789abcdef":PSA_KEY_TYPE_AES:PSA_KEY_USAGE_EXPORT:PSA_ALG_CTR:…
[all …]
Dtest_suite_psa_crypto_persistent_key.data2 …a2b24":PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_TYPE_RSA_KEY_PAIR:1024:PSA_KEY_USAGE_EXPORT:PSA_ALG_CAT…
8 …a2b24":PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_TYPE_RSA_KEY_PAIR:1024:PSA_KEY_USAGE_EXPORT:PSA_ALG_CAT…
14 …a2b24":PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_TYPE_RSA_KEY_PAIR:1024:PSA_KEY_USAGE_EXPORT:PSA_ALG_CAT…
17 …a2b24":"":PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_TYPE_RSA_KEY_PAIR:0:PSA_KEY_USAGE_EXPORT:PSA_ALG_CAT…
20 …a2b24":PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_TYPE_RSA_KEY_PAIR:1024:PSA_KEY_USAGE_EXPORT:PSA_ALG_CAT…
23 …b4559":"":PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_TYPE_RSA_KEY_PAIR:0:PSA_KEY_USAGE_EXPORT:PSA_ALG_CAT…
26 …20200":"":PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_TYPE_RSA_KEY_PAIR:0:PSA_KEY_USAGE_EXPORT:PSA_ALG_CAT…
29 …47a2b":"":PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_TYPE_RSA_KEY_PAIR:0:PSA_KEY_USAGE_EXPORT:PSA_ALG_CAT…
Dtest_suite_psa_crypto_storage_format.misc.data7 key_storage_read:PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_EXPORT | PSA_KEY_US…
11 key_storage_save:PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_EXPORT | PSA_KEY_US…
Dtest_suite_psa_crypto_se_driver_hal_mocks.function355 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_EXPORT );
381 ( mock_alloc_return_value == PSA_SUCCESS? PSA_KEY_USAGE_EXPORT : 0 ) );
426 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_EXPORT );
476 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_EXPORT );
500 ( mock_alloc_return_value == PSA_SUCCESS? PSA_KEY_USAGE_EXPORT : 0 ) );
546 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_EXPORT );
Dtest_suite_psa_crypto_slot_management.function309 if( usage_flags & PSA_KEY_USAGE_EXPORT )
376 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_EXPORT );
402 TEST_EQUAL( psa_get_key_usage_flags( &attributes ), PSA_KEY_USAGE_EXPORT );
584 if( expected_usage & PSA_KEY_USAGE_EXPORT )
705 if( target_usage & PSA_KEY_USAGE_EXPORT )
834 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_EXPORT );
881 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_EXPORT );
964 PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_COPY );
Dtest_suite_psa_crypto_persistent_key.function272 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_EXPORT );
295 TEST_EQUAL( psa_get_key_usage_flags( &attributes ), PSA_KEY_USAGE_EXPORT );
Dtest_suite_psa_crypto_se_driver_hal.function889 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_EXPORT );
1022 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_EXPORT );
1111 PSA_KEY_USAGE_EXPORT );
1224 PSA_KEY_USAGE_EXPORT );
1476 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_EXPORT );
Dtest_suite_psa_crypto_storage_format.function55 if( psa_get_key_usage_flags( attributes ) & PSA_KEY_USAGE_EXPORT )
Dtest_suite_psa_crypto_driver_wrappers.function263 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_EXPORT );
333 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_EXPORT );
376 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_EXPORT );
Dtest_suite_psa_crypto.function727 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_EXPORT );
932 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_EXPORT );
1686 if( expected_usage & PSA_KEY_USAGE_EXPORT )
6379 psa_set_key_usage_flags( &derived_attributes, PSA_KEY_USAGE_EXPORT );
6443 psa_set_key_usage_flags( &derived_attributes, PSA_KEY_USAGE_EXPORT );
6908 if( usage_flags & PSA_KEY_USAGE_EXPORT )
6975 if( usage_flags & PSA_KEY_USAGE_EXPORT )
7003 if( usage_flags & PSA_KEY_USAGE_EXPORT )
/third_party/mbedtls/tests/src/drivers/
Dtest_driver_key_management.c438 PSA_KEY_USAGE_EXPORT ) == 0 ) in mbedtls_test_opaque_export_key()
459 PSA_KEY_USAGE_EXPORT ) == 0 ) in mbedtls_test_opaque_export_key()
684 PSA_KEY_USAGE_EXPORT ); in mbedtls_test_opaque_get_builtin_key()
703 PSA_KEY_USAGE_EXPORT ); in mbedtls_test_opaque_get_builtin_key()
/third_party/mbedtls/programs/psa/
Dkey_ladder_demo.c202 PSA_KEY_USAGE_DERIVE | PSA_KEY_USAGE_EXPORT ); in generate()
280 PSA_KEY_USAGE_DERIVE | PSA_KEY_USAGE_EXPORT ); in derive_key_ladder()
546 PSA_CHECK( import_key_from_file( PSA_KEY_USAGE_DERIVE | PSA_KEY_USAGE_EXPORT, in run()
/third_party/mbedtls/include/psa/
Dcrypto_values.h2304 #define PSA_KEY_USAGE_EXPORT ((psa_key_usage_t)0x00000001) macro
/third_party/mbedtls/tests/src/
Dpsa_exercise_key.c811 if( ( usage & PSA_KEY_USAGE_EXPORT ) == 0 && in exercise_export_key()
/third_party/mbedtls/library/
Dpsa_crypto.c907 usage &= ~PSA_KEY_USAGE_EXPORT; in psa_get_and_lock_key_slot_with_policy()
1322 PSA_KEY_USAGE_EXPORT, 0 ); in psa_export_key()
1461 if( ( policy->usage & ~( PSA_KEY_USAGE_EXPORT | in psa_validate_key_policy()
/third_party/mbedtls/docs/
Dgetting_started.md840 …rt the public key, not the key pair (or private key); therefore, do not set `PSA_KEY_USAGE_EXPORT`.