Home
last modified time | relevance | path

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

/mbedtls-3.5.0/library/
Dpsa_crypto.c775 psa_algorithm_t requested_alg) in psa_key_algorithm_permits() argument
778 if (requested_alg == policy_alg) { in psa_key_algorithm_permits()
784 if (PSA_ALG_IS_SIGN_HASH(requested_alg) && in psa_key_algorithm_permits()
787 (requested_alg & ~PSA_ALG_HASH_MASK); in psa_key_algorithm_permits()
793 PSA_ALG_IS_AEAD(requested_alg) && in psa_key_algorithm_permits()
795 PSA_ALG_AEAD_WITH_SHORTENED_TAG(requested_alg, 0)) && in psa_key_algorithm_permits()
798 PSA_ALG_AEAD_GET_TAG_LENGTH(requested_alg); in psa_key_algorithm_permits()
803 PSA_ALG_IS_MAC(requested_alg) && in psa_key_algorithm_permits()
805 PSA_ALG_FULL_LENGTH_MAC(requested_alg))) { in psa_key_algorithm_permits()
818 key_type, 0, requested_alg); in psa_key_algorithm_permits()
[all …]