Searched refs:psa_get_key_usage_flags (Results 1 – 14 of 14) sorted by relevance
/mbedtls-latest/tests/suites/ |
D | test_suite_psa_crypto_attributes.function | 28 TEST_EQUAL(psa_get_key_usage_flags(&attributes), 0); 43 TEST_EQUAL(psa_get_key_usage_flags(&attributes), usage_flags); 55 TEST_EQUAL(psa_get_key_usage_flags(&attributes), 0);
|
D | test_suite_psa_crypto_storage_format.function | 55 if (psa_get_key_usage_flags(attributes) & PSA_KEY_USAGE_EXPORT) { 97 psa_key_usage_t usage = psa_get_key_usage_flags(attributes); 171 TEST_EQUAL(psa_get_key_usage_flags(expected_attributes), 172 psa_get_key_usage_flags(&actual_attributes)); 189 psa_get_key_usage_flags(expected_attributes),
|
D | test_suite_psa_crypto_persistent_key.function | 106 TEST_EQUAL(psa_get_key_usage_flags(&attributes), 238 TEST_EQUAL(psa_get_key_usage_flags(&attributes), 0); 296 TEST_EQUAL(psa_get_key_usage_flags(&attributes), PSA_KEY_USAGE_EXPORT);
|
D | test_suite_psa_crypto_slot_management.function | 266 TEST_EQUAL(psa_get_key_usage_flags(&attributes), 286 TEST_EQUAL(psa_get_key_usage_flags(&attributes), 320 TEST_EQUAL(psa_get_key_usage_flags(&attributes), 423 TEST_EQUAL(psa_get_key_usage_flags(&attributes), PSA_KEY_USAGE_EXPORT); 596 TEST_EQUAL(expected_usage, psa_get_key_usage_flags(&target_attributes)); 710 TEST_EQUAL(psa_get_key_usage_flags(&attributes1), 711 psa_get_key_usage_flags(&attributes2));
|
D | test_suite_psa_crypto_generate_key.function | 37 TEST_EQUAL(psa_get_key_usage_flags(&attributes), 0);
|
D | test_suite_pk.function | 594 usage = psa_get_key_usage_flags(&attributes); 628 psa_set_key_usage_flags(&new_attr, psa_get_key_usage_flags(&orig_attr)); 2156 TEST_EQUAL(psa_get_key_usage_flags(&attributes), expected_usage); 2204 TEST_EQUAL(psa_get_key_usage_flags(&attributes), expected_usage); 2371 TEST_EQUAL(psa_get_key_usage_flags(&attributes), expected_usage); 2474 TEST_EQUAL(expected_usage, psa_get_key_usage_flags(&actual_attributes));
|
D | test_suite_pkparse.function | 67 psa_algorithm_t exercise_usage = psa_get_key_usage_flags(&attributes);
|
D | test_suite_psa_crypto_se_driver_hal.function | 554 TEST_EQUAL(psa_get_key_usage_flags(&actual_attributes), 555 psa_get_key_usage_flags(reference_attributes));
|
D | test_suite_psa_crypto.function | 240 TEST_EQUAL(psa_get_key_usage_flags(&attributes), 0); 1562 TEST_EQUAL(psa_get_key_usage_flags(&got_attributes), 2077 TEST_EQUAL(psa_get_key_usage_flags(&attributes), expected_usage); 2129 TEST_EQUAL(psa_get_key_usage_flags(&func), 0); 2130 TEST_EQUAL(psa_get_key_usage_flags(&init), 0); 2131 TEST_EQUAL(psa_get_key_usage_flags(&zero), 0); 2169 TEST_EQUAL(psa_get_key_usage_flags(&attributes), 2539 TEST_EQUAL(psa_get_key_usage_flags(&attributes), expected_usage); 2699 TEST_EQUAL(psa_get_key_usage_flags(&got_attributes), usage); 2823 TEST_EQUAL(expected_usage, psa_get_key_usage_flags(&target_attributes)); [all …]
|
/mbedtls-latest/tests/src/drivers/ |
D | test_driver_key_management.c | 470 if ((psa_get_key_usage_flags(attributes) & in mbedtls_test_opaque_export_key() 496 if ((psa_get_key_usage_flags(attributes) & in mbedtls_test_opaque_export_key()
|
/mbedtls-latest/include/psa/ |
D | crypto_struct.h | 401 static inline psa_key_usage_t psa_get_key_usage_flags( in psa_get_key_usage_flags() function
|
D | crypto.h | 244 static psa_key_usage_t psa_get_key_usage_flags(
|
/mbedtls-latest/library/ |
D | pk.c | 331 key_usage = psa_get_key_usage_flags(&attributes); in mbedtls_pk_can_do_ext() 559 more_usage = psa_get_key_usage_flags(&old_attributes); in mbedtls_pk_get_psa_attributes()
|
/mbedtls-latest/docs/ |
D | psa-transition.md | 895 …d, you can also access a key's policy from its attributes with [`psa_get_key_usage_flags`](https:/…
|