Searched refs:PSA_MAC_TRUNCATED_LENGTH (Results 1 – 5 of 5) sorted by relevance
159 length_modifier = PSA_MAC_TRUNCATED_LENGTH(alg); in psa_snprint_algorithm()163 length_modifier = PSA_MAC_TRUNCATED_LENGTH(alg); in psa_snprint_algorithm()
329 ((alg) & PSA_ALG_MAC_TRUNCATION_MASK ? PSA_MAC_TRUNCATED_LENGTH(alg) : \
1100 #define PSA_MAC_TRUNCATED_LENGTH(mac_alg) \ macro
132 alg = PSA_ALG_TRUNCATED_MAC(alg, PSA_MAC_TRUNCATED_LENGTH(alg)); in exercise_mac_key()
968 if (PSA_MAC_TRUNCATED_LENGTH(policy_alg) == 0) { in psa_key_algorithm_permits()974 if (PSA_MAC_TRUNCATED_LENGTH(requested_alg) == 0 && in psa_key_algorithm_permits()975 PSA_MAC_TRUNCATED_LENGTH(policy_alg) == default_output_length) { in psa_key_algorithm_permits()983 return PSA_MAC_TRUNCATED_LENGTH(policy_alg) <= in psa_key_algorithm_permits()