Home
last modified time | relevance | path

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

/mbedtls-latest/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_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.function266 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));
Dtest_suite_psa_crypto_generate_key.function37 TEST_EQUAL(psa_get_key_usage_flags(&attributes), 0);
Dtest_suite_pk.function594 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));
Dtest_suite_pkparse.function67 psa_algorithm_t exercise_usage = psa_get_key_usage_flags(&attributes);
Dtest_suite_psa_crypto_se_driver_hal.function554 TEST_EQUAL(psa_get_key_usage_flags(&actual_attributes),
555 psa_get_key_usage_flags(reference_attributes));
Dtest_suite_psa_crypto.function240 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/
Dtest_driver_key_management.c470 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/
Dcrypto_struct.h401 static inline psa_key_usage_t psa_get_key_usage_flags( in psa_get_key_usage_flags() function
Dcrypto.h244 static psa_key_usage_t psa_get_key_usage_flags(
/mbedtls-latest/library/
Dpk.c331 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/
Dpsa-transition.md895 …d, you can also access a key's policy from its attributes with [`psa_get_key_usage_flags`](https:/…