Searched refs:mac_alg (Results 1 – 4 of 4) sorted by relevance
1068 #define PSA_ALG_TRUNCATED_MAC(mac_alg, mac_length) \ argument1069 (((mac_alg) & ~(PSA_ALG_MAC_TRUNCATION_MASK | \1085 #define PSA_ALG_FULL_LENGTH_MAC(mac_alg) \ argument1086 ((mac_alg) & ~(PSA_ALG_MAC_TRUNCATION_MASK | \1100 #define PSA_MAC_TRUNCATED_LENGTH(mac_alg) \ argument1101 (((mac_alg) & PSA_ALG_MAC_TRUNCATION_MASK) >> PSA_MAC_TRUNCATION_OFFSET)1127 #define PSA_ALG_AT_LEAST_THIS_LENGTH_MAC(mac_alg, min_mac_length) \ argument1128 (PSA_ALG_TRUNCATED_MAC(mac_alg, min_mac_length) | \
8821 psa_algorithm_t mac_alg = 0; in ssl_tls12_populate_transform() local8887 mac_alg = mbedtls_md_psa_alg_from_type((mbedtls_md_type_t) ciphersuite_info->mac); in ssl_tls12_populate_transform()8888 if (mac_alg == 0) { in ssl_tls12_populate_transform()8994 mac_key_len = PSA_HASH_LENGTH(mac_alg); in ssl_tls12_populate_transform()9184 transform->psa_mac_alg = PSA_ALG_HMAC(mac_alg); in ssl_tls12_populate_transform()9187 psa_set_key_algorithm(&attributes, PSA_ALG_HMAC(mac_alg)); in ssl_tls12_populate_transform()
2963 psa_algorithm_t mac_alg,
65 psa_algorithm_t mac_alg, in mbedtls_ct_hmac() argument89 psa_algorithm_t hash_alg = PSA_ALG_HMAC_GET_HASH(mac_alg); in mbedtls_ct_hmac()