Home
last modified time | relevance | path

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

/mbedtls-3.7.0/include/psa/
Dcrypto_values.h1068 #define PSA_ALG_TRUNCATED_MAC(mac_alg, mac_length) \ argument
1069 (((mac_alg) & ~(PSA_ALG_MAC_TRUNCATION_MASK | \
1085 #define PSA_ALG_FULL_LENGTH_MAC(mac_alg) \ argument
1086 ((mac_alg) & ~(PSA_ALG_MAC_TRUNCATION_MASK | \
1100 #define PSA_MAC_TRUNCATED_LENGTH(mac_alg) \ argument
1101 (((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) \ argument
1128 (PSA_ALG_TRUNCATED_MAC(mac_alg, min_mac_length) | \
/mbedtls-3.7.0/library/
Dssl_tls.c8821 psa_algorithm_t mac_alg = 0; in ssl_tls12_populate_transform() local
8887 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()
Dssl_misc.h2963 psa_algorithm_t mac_alg,
Dssl_msg.c65 psa_algorithm_t mac_alg, in mbedtls_ct_hmac() argument
89 psa_algorithm_t hash_alg = PSA_ALG_HMAC_GET_HASH(mac_alg); in mbedtls_ct_hmac()