Home
last modified time | relevance | path

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

/external/openthread/third_party/mbedtls/repo/include/psa/
Dcrypto_values.h954 #define PSA_ALG_TRUNCATED_MAC(mac_alg, mac_length) \ argument
955 (((mac_alg) & ~(PSA_ALG_MAC_TRUNCATION_MASK | \
971 #define PSA_ALG_FULL_LENGTH_MAC(mac_alg) \ argument
972 ((mac_alg) & ~(PSA_ALG_MAC_TRUNCATION_MASK | \
986 #define PSA_MAC_TRUNCATED_LENGTH(mac_alg) \ argument
987 (((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) \ argument
1014 ( PSA_ALG_TRUNCATED_MAC(mac_alg, min_mac_length) | \
/external/mbedtls/include/psa/
Dcrypto_values.h1042 #define PSA_ALG_TRUNCATED_MAC(mac_alg, mac_length) \ argument
1043 (((mac_alg) & ~(PSA_ALG_MAC_TRUNCATION_MASK | \
1059 #define PSA_ALG_FULL_LENGTH_MAC(mac_alg) \ argument
1060 ((mac_alg) & ~(PSA_ALG_MAC_TRUNCATION_MASK | \
1074 #define PSA_MAC_TRUNCATED_LENGTH(mac_alg) \ argument
1075 (((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) \ argument
1102 ( PSA_ALG_TRUNCATED_MAC(mac_alg, min_mac_length) | \
/external/mbedtls/library/
Dconstant_time.c452 psa_algorithm_t mac_alg, in mbedtls_ct_hmac() argument
476 psa_algorithm_t hash_alg = PSA_ALG_HMAC_GET_HASH( mac_alg ); in mbedtls_ct_hmac()
Dssl_tls.c7999 psa_algorithm_t mac_alg = 0; in ssl_tls12_populate_transform() local
8077 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()