Home
last modified time | relevance | path

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

/mbedtls-3.7.0/library/
Dpsa_crypto.c845 size_t alg2_len = PSA_ALG_AEAD_GET_TAG_LENGTH(alg2); in psa_key_policy_algorithm_intersection() local
846 size_t restricted_len = alg1_len > alg2_len ? alg1_len : alg2_len; in psa_key_policy_algorithm_intersection()
856 (alg1_len <= alg2_len)) { in psa_key_policy_algorithm_intersection()
860 (alg2_len <= alg1_len)) { in psa_key_policy_algorithm_intersection()
885 size_t alg2_len = PSA_MAC_LENGTH(key_type, 0, alg2); in psa_key_policy_algorithm_intersection() local
886 size_t restricted_len = alg1_len > alg2_len ? alg1_len : alg2_len; in psa_key_policy_algorithm_intersection()
898 return (alg1_len <= alg2_len) ? alg2 : 0; in psa_key_policy_algorithm_intersection()
901 return (alg2_len <= alg1_len) ? alg1 : 0; in psa_key_policy_algorithm_intersection()
908 if (alg1_len == alg2_len) { in psa_key_policy_algorithm_intersection()