Searched refs:alg1_len (Results 1 – 1 of 1) sorted by relevance
649 size_t alg1_len = PSA_ALG_AEAD_GET_TAG_LENGTH( alg1 ); in psa_key_policy_algorithm_intersection() local651 size_t restricted_len = alg1_len > alg2_len ? alg1_len : alg2_len; in psa_key_policy_algorithm_intersection()662 ( alg1_len <= alg2_len ) ) in psa_key_policy_algorithm_intersection()667 ( alg2_len <= alg1_len ) ) in psa_key_policy_algorithm_intersection()692 size_t alg1_len = PSA_MAC_LENGTH( key_type, 0, alg1 ); in psa_key_policy_algorithm_intersection() local694 size_t restricted_len = alg1_len > alg2_len ? alg1_len : alg2_len; in psa_key_policy_algorithm_intersection()708 return( ( alg1_len <= alg2_len ) ? alg2 : 0 ); in psa_key_policy_algorithm_intersection()712 return( ( alg2_len <= alg1_len ) ? alg1 : 0 ); in psa_key_policy_algorithm_intersection()719 if( alg1_len == alg2_len ) in psa_key_policy_algorithm_intersection()720 return( PSA_ALG_TRUNCATED_MAC( alg1, alg1_len ) ); in psa_key_policy_algorithm_intersection()