Home
last modified time | relevance | path

Searched refs:psa_get_key_usage_flags (Results 1 – 14 of 14) sorted by relevance

/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_crypto_attributes.function28 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);
Dtest_suite_psa_crypto_storage_format.function55 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),
Dtest_suite_psa_crypto_generate_key.function37 TEST_EQUAL(psa_get_key_usage_flags(&attributes), 0);
Dtest_suite_psa_crypto_persistent_key.function106 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);
Dtest_suite_psa_crypto_slot_management.function241 TEST_EQUAL(psa_get_key_usage_flags(&attributes),
261 TEST_EQUAL(psa_get_key_usage_flags(&attributes),
295 TEST_EQUAL(psa_get_key_usage_flags(&attributes),
398 TEST_EQUAL(psa_get_key_usage_flags(&attributes), PSA_KEY_USAGE_EXPORT);
571 TEST_EQUAL(expected_usage, psa_get_key_usage_flags(&target_attributes));
685 TEST_EQUAL(psa_get_key_usage_flags(&attributes1),
686 psa_get_key_usage_flags(&attributes2));
Dtest_suite_pkparse.function55 psa_algorithm_t exercise_usage = psa_get_key_usage_flags(&attributes);
Dtest_suite_pk.function545 usage = psa_get_key_usage_flags(&attributes);
579 psa_set_key_usage_flags(&new_attr, psa_get_key_usage_flags(&orig_attr));
2173 TEST_EQUAL(psa_get_key_usage_flags(&attributes), expected_usage);
2221 TEST_EQUAL(psa_get_key_usage_flags(&attributes), expected_usage);
2391 TEST_EQUAL(psa_get_key_usage_flags(&attributes), expected_usage);
2497 TEST_EQUAL(expected_usage, psa_get_key_usage_flags(&actual_attributes));
Dtest_suite_psa_crypto_se_driver_hal.function541 TEST_EQUAL(psa_get_key_usage_flags(&actual_attributes),
542 psa_get_key_usage_flags(reference_attributes));
Dtest_suite_psa_crypto.function262 TEST_EQUAL(psa_get_key_usage_flags(&attributes), 0);
1582 TEST_EQUAL(psa_get_key_usage_flags(&got_attributes),
2097 TEST_EQUAL(psa_get_key_usage_flags(&attributes), expected_usage);
2149 TEST_EQUAL(psa_get_key_usage_flags(&func), 0);
2150 TEST_EQUAL(psa_get_key_usage_flags(&init), 0);
2151 TEST_EQUAL(psa_get_key_usage_flags(&zero), 0);
2189 TEST_EQUAL(psa_get_key_usage_flags(&attributes),
2559 TEST_EQUAL(psa_get_key_usage_flags(&attributes), expected_usage);
2719 TEST_EQUAL(psa_get_key_usage_flags(&got_attributes), usage);
2843 TEST_EQUAL(expected_usage, psa_get_key_usage_flags(&target_attributes));
[all …]
/openthread-latest/third_party/mbedtls/repo/tests/src/drivers/
Dtest_driver_key_management.c469 if ((psa_get_key_usage_flags(attributes) & in mbedtls_test_opaque_export_key()
495 if ((psa_get_key_usage_flags(attributes) & in mbedtls_test_opaque_export_key()
/openthread-latest/third_party/mbedtls/repo/include/psa/
Dcrypto_struct.h375 static inline psa_key_usage_t psa_get_key_usage_flags( in psa_get_key_usage_flags() function
Dcrypto.h241 static psa_key_usage_t psa_get_key_usage_flags(
/openthread-latest/third_party/mbedtls/repo/library/
Dpk.c335 key_usage = psa_get_key_usage_flags(&attributes); in mbedtls_pk_can_do_ext()
563 more_usage = psa_get_key_usage_flags(&old_attributes); in mbedtls_pk_get_psa_attributes()
/openthread-latest/third_party/mbedtls/repo/docs/
Dpsa-transition.md895 …d, you can also access a key's policy from its attributes with [`psa_get_key_usage_flags`](https:/…