Home
last modified time | relevance | path

Searched refs:PSA_MAC_TRUNCATED_LENGTH (Results 1 – 4 of 4) sorted by relevance

/third_party/mbedtls/include/psa/
Dcrypto_sizes.h276 ((alg) & PSA_ALG_MAC_TRUNCATION_MASK ? PSA_MAC_TRUNCATED_LENGTH(alg) : \
Dcrypto_values.h1092 #define PSA_MAC_TRUNCATED_LENGTH(mac_alg) \ macro
/third_party/mbedtls/tests/src/
Dpsa_exercise_key.c124 alg = PSA_ALG_TRUNCATED_MAC(alg, PSA_MAC_TRUNCATED_LENGTH(alg)); in exercise_mac_key()
/third_party/mbedtls/library/
Dpsa_crypto.c820 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()