Searched refs:mac_alg (Results 1 – 4 of 4) sorted by relevance
954 #define PSA_ALG_TRUNCATED_MAC(mac_alg, mac_length) \ argument955 (((mac_alg) & ~(PSA_ALG_MAC_TRUNCATION_MASK | \971 #define PSA_ALG_FULL_LENGTH_MAC(mac_alg) \ argument972 ((mac_alg) & ~(PSA_ALG_MAC_TRUNCATION_MASK | \986 #define PSA_MAC_TRUNCATED_LENGTH(mac_alg) \ argument987 (((mac_alg) & PSA_ALG_MAC_TRUNCATION_MASK) >> PSA_MAC_TRUNCATION_OFFSET)1013 #define PSA_ALG_AT_LEAST_THIS_LENGTH_MAC(mac_alg, min_mac_length) \ argument1014 ( PSA_ALG_TRUNCATED_MAC(mac_alg, min_mac_length) | \
1042 #define PSA_ALG_TRUNCATED_MAC(mac_alg, mac_length) \ argument1043 (((mac_alg) & ~(PSA_ALG_MAC_TRUNCATION_MASK | \1059 #define PSA_ALG_FULL_LENGTH_MAC(mac_alg) \ argument1060 ((mac_alg) & ~(PSA_ALG_MAC_TRUNCATION_MASK | \1074 #define PSA_MAC_TRUNCATED_LENGTH(mac_alg) \ argument1075 (((mac_alg) & PSA_ALG_MAC_TRUNCATION_MASK) >> PSA_MAC_TRUNCATION_OFFSET)1101 #define PSA_ALG_AT_LEAST_THIS_LENGTH_MAC(mac_alg, min_mac_length) \ argument1102 ( PSA_ALG_TRUNCATED_MAC(mac_alg, min_mac_length) | \
452 psa_algorithm_t mac_alg, in mbedtls_ct_hmac() argument476 psa_algorithm_t hash_alg = PSA_ALG_HMAC_GET_HASH( mac_alg ); in mbedtls_ct_hmac()
7999 psa_algorithm_t mac_alg = 0; in ssl_tls12_populate_transform() local8077 mac_alg = mbedtls_hash_info_psa_from_md( ciphersuite_info->mac ); in ssl_tls12_populate_transform()8078 if( mac_alg == 0 ) in ssl_tls12_populate_transform()8192 mac_key_len = PSA_HASH_LENGTH(mac_alg); in ssl_tls12_populate_transform()8406 transform->psa_mac_alg = PSA_ALG_HMAC( mac_alg ); in ssl_tls12_populate_transform()8409 psa_set_key_algorithm( &attributes, PSA_ALG_HMAC( mac_alg ) ); in ssl_tls12_populate_transform()