Home
last modified time | relevance | path

Searched refs:key_alg2 (Results 1 – 3 of 3) sorted by relevance

/third_party/mbedtls/library/
Dpk.c320 psa_algorithm_t key_alg, key_alg2; in mbedtls_pk_can_do_ext() local
329 key_alg2 = psa_get_key_enrollment_algorithm(&attributes); in mbedtls_pk_can_do_ext()
344 if (alg == key_alg || alg == key_alg2) { in mbedtls_pk_can_do_ext()
361 if (PSA_ALG_IS_SIGN_HASH(key_alg2) && in mbedtls_pk_can_do_ext()
362 PSA_ALG_SIGN_GET_HASH(key_alg2) == PSA_ALG_ANY_HASH && in mbedtls_pk_can_do_ext()
363 (alg & ~PSA_ALG_HASH_MASK) == (key_alg2 & ~PSA_ALG_HASH_MASK)) { in mbedtls_pk_can_do_ext()
/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto_persistent_key.function50 int key_usage, int key_alg, int key_alg2)
62 psa_set_key_enrollment_algorithm(&attributes, key_alg2);
Dtest_suite_pk.function251 int key_alg2, int parameter, int alg_check, int usage_check,
265 if (key_alg2 != 0) {
266 psa_set_key_enrollment_algorithm(&attributes, key_alg2);