Searched refs:alg1 (Results 1 – 1 of 1) sorted by relevance
690 psa_algorithm_t alg1, in psa_key_policy_algorithm_intersection() argument694 if( alg1 == alg2 ) in psa_key_policy_algorithm_intersection()695 return( alg1 ); in psa_key_policy_algorithm_intersection()698 if( PSA_ALG_IS_SIGN_HASH( alg1 ) && in psa_key_policy_algorithm_intersection()700 ( alg1 & ~PSA_ALG_HASH_MASK ) == ( alg2 & ~PSA_ALG_HASH_MASK ) ) in psa_key_policy_algorithm_intersection()702 if( PSA_ALG_SIGN_GET_HASH( alg1 ) == PSA_ALG_ANY_HASH ) in psa_key_policy_algorithm_intersection()705 return( alg1 ); in psa_key_policy_algorithm_intersection()710 if( PSA_ALG_IS_AEAD( alg1 ) && PSA_ALG_IS_AEAD( alg2 ) && in psa_key_policy_algorithm_intersection()711 ( PSA_ALG_AEAD_WITH_SHORTENED_TAG( alg1, 0 ) == in psa_key_policy_algorithm_intersection()714 size_t alg1_len = PSA_ALG_AEAD_GET_TAG_LENGTH( alg1 ); in psa_key_policy_algorithm_intersection()[all …]