Searched refs:PSA_MAC_TRUNCATED_LENGTH (Results 1 – 4 of 4) sorted by relevance
276 ((alg) & PSA_ALG_MAC_TRUNCATION_MASK ? PSA_MAC_TRUNCATED_LENGTH(alg) : \
1092 #define PSA_MAC_TRUNCATED_LENGTH(mac_alg) \ macro
124 alg = PSA_ALG_TRUNCATED_MAC(alg, PSA_MAC_TRUNCATED_LENGTH(alg)); in exercise_mac_key()
820 if (PSA_MAC_TRUNCATED_LENGTH(policy_alg) == 0) { in psa_key_algorithm_permits()826 if (PSA_MAC_TRUNCATED_LENGTH(requested_alg) == 0 && in psa_key_algorithm_permits()827 PSA_MAC_TRUNCATED_LENGTH(policy_alg) == default_output_length) { in psa_key_algorithm_permits()835 return PSA_MAC_TRUNCATED_LENGTH(policy_alg) <= in psa_key_algorithm_permits()