Home
last modified time | relevance | path

Searched refs:hmac_sha256_vector (Results 1 – 25 of 46) sorted by relevance

12

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dsha256-tlsprf.c53 if (hmac_sha256_vector(secret, secret_len, 2, &addr[1], &len[1], A) < 0) in tls_prf_sha256()
58 if (hmac_sha256_vector(secret, secret_len, 3, addr, len, P) < in tls_prf_sha256()
Dsha256-kdf.c56 if (hmac_sha256_vector(secret, secret_len, 3, &addr[1], &len[1], T) < 0) in hmac_sha256_kdf()
77 if (hmac_sha256_vector(secret, secret_len, 4, addr, len, T) < 0) in hmac_sha256_kdf()
Dsha256.c26 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector() function
103 return hmac_sha256_vector(key, key_len, 1, &data, &data_len, mac); in hmac_sha256()
Dsha256-prf.c81 if (hmac_sha256_vector(key, key_len, 4, addr, len, in sha256_prf_bits()
86 if (hmac_sha256_vector(key, key_len, 4, addr, len, in sha256_prf_bits()
Dsha256.h14 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem,
Dcrypto_nettle.c160 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector() function
181 return hmac_sha256_vector(key, key_len, 1, &data, &data_len, mac); in hmac_sha256()
Dcrypto_gnutls.c160 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector() function
171 return hmac_sha256_vector(key, key_len, 1, &data, &data_len, mac); in hmac_sha256()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dsha256-tlsprf.c53 if (hmac_sha256_vector(secret, secret_len, 2, &addr[1], &len[1], A) < 0) in tls_prf_sha256()
58 if (hmac_sha256_vector(secret, secret_len, 3, addr, len, P) < in tls_prf_sha256()
Dsha256-kdf.c56 if (hmac_sha256_vector(secret, secret_len, 3, &addr[1], &len[1], T) < 0) in hmac_sha256_kdf()
77 if (hmac_sha256_vector(secret, secret_len, 4, addr, len, T) < 0) in hmac_sha256_kdf()
Dsha256.c26 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector() function
103 return hmac_sha256_vector(key, key_len, 1, &data, &data_len, mac); in hmac_sha256()
Dsha256-prf.c81 if (hmac_sha256_vector(key, key_len, 4, addr, len, in sha256_prf_bits()
86 if (hmac_sha256_vector(key, key_len, 4, addr, len, in sha256_prf_bits()
Dsha256.h14 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem,
Dcrypto_nettle.c160 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector() function
181 return hmac_sha256_vector(key, key_len, 1, &data, &data_len, mac); in hmac_sha256()
Dcrypto_gnutls.c160 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector() function
171 return hmac_sha256_vector(key, key_len, 1, &data, &data_len, mac); in hmac_sha256()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/
Deap_eke_common.c202 return hmac_sha256_vector(key, key_len, num_elem, addr, len, in eap_eke_prf()
269 ret = hmac_sha256_vector(key, key_len, 2, &addr[1], in eap_eke_prf_hmac_sha256()
272 ret = hmac_sha256_vector(key, key_len, 3, addr, vlen, in eap_eke_prf_hmac_sha256()
Deap_sim_common.c265 hmac_sha256_vector(k, 32, 5, addr, len, hash); in prf_prime()
389 hmac_sha256_vector(k_aut, EAP_AKA_PRIME_K_AUT_LEN, 2, addr, len, hmac); in eap_sim_verify_mac_sha256()
417 hmac_sha256_vector(k_aut, EAP_AKA_PRIME_K_AUT_LEN, 2, addr, len, hmac); in eap_sim_add_mac_sha256()
483 hmac_sha256_vector(key, sizeof(key), 5, addr, len, hash); in eap_aka_prime_derive_ck_ik_prime()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/
Deap_eke_common.c202 return hmac_sha256_vector(key, key_len, num_elem, addr, len, in eap_eke_prf()
269 ret = hmac_sha256_vector(key, key_len, 2, &addr[1], in eap_eke_prf_hmac_sha256()
272 ret = hmac_sha256_vector(key, key_len, 3, addr, vlen, in eap_eke_prf_hmac_sha256()
Deap_sim_common.c265 hmac_sha256_vector(k, 32, 5, addr, len, hash); in prf_prime()
389 hmac_sha256_vector(k_aut, EAP_AKA_PRIME_K_AUT_LEN, 2, addr, len, hmac); in eap_sim_verify_mac_sha256()
417 hmac_sha256_vector(k_aut, EAP_AKA_PRIME_K_AUT_LEN, 2, addr, len, hmac); in eap_sim_add_mac_sha256()
483 hmac_sha256_vector(key, sizeof(key), 5, addr, len, hash); in eap_aka_prime_derive_ck_ik_prime()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dwps_attr_process.c43 if (hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 2, addr, len, in wps_process_authenticator()
Dwps_enrollee.c66 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_e_hash()
76 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_e_hash()
647 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_r_snonce1()
687 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_r_snonce2()
Dwps_common.c51 hmac_sha256_vector(key, SHA256_MAC_LEN, 4, addr, len, hash); in wps_kdf()
112 hmac_sha256_vector(dhkey, sizeof(dhkey), 3, addr, len, kdk); in wps_derive_keys()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dwps_attr_process.c42 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 2, addr, len, hash); in wps_process_authenticator()
Dwps_enrollee.c66 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_e_hash()
76 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_e_hash()
647 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_r_snonce1()
687 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_r_snonce2()
Dwps_common.c51 hmac_sha256_vector(key, SHA256_MAC_LEN, 4, addr, len, hash); in wps_kdf()
112 hmac_sha256_vector(dhkey, sizeof(dhkey), 3, addr, len, kdk); in wps_derive_keys()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dwpa_common.c516 res = hmac_sha256_vector(nonces, 2 * FILS_NONCE_LEN, num_elem, in fils_rmsk_to_pmk()
709 res = hmac_sha256_vector(ick, ick_len, num_elem, addr, len, in fils_key_auth_sk()
737 res = hmac_sha256_vector(ick, ick_len, num_elem, addr, len, in fils_key_auth_sk()
1858 hmac_sha256_vector(pmk, pmk_len, 3, addr, len, hash); in rsn_pmkid()
1894 if (hmac_sha256_vector(kck, kck_len, 3, addr, len, hash) < 0) in rsn_pmkid_suite_b()

12