Searched refs:alg2_len (Results 1 – 1 of 1) sorted by relevance
702 size_t alg2_len = PSA_ALG_AEAD_GET_TAG_LENGTH(alg2); in psa_key_policy_algorithm_intersection() local703 size_t restricted_len = alg1_len > alg2_len ? alg1_len : alg2_len; in psa_key_policy_algorithm_intersection()713 (alg1_len <= alg2_len)) { in psa_key_policy_algorithm_intersection()717 (alg2_len <= alg1_len)) { in psa_key_policy_algorithm_intersection()742 size_t alg2_len = PSA_MAC_LENGTH(key_type, 0, alg2); in psa_key_policy_algorithm_intersection() local743 size_t restricted_len = alg1_len > alg2_len ? alg1_len : alg2_len; in psa_key_policy_algorithm_intersection()755 return (alg1_len <= alg2_len) ? alg2 : 0; in psa_key_policy_algorithm_intersection()758 return (alg2_len <= alg1_len) ? alg1 : 0; in psa_key_policy_algorithm_intersection()765 if (alg1_len == alg2_len) { in psa_key_policy_algorithm_intersection()