Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/crypto/
Dsha256-tlsprf.c53 hmac_sha256_vector(secret, secret_len, 2, &addr[1], &len[1], A); in tls_prf_sha256()
57 hmac_sha256_vector(secret, secret_len, 3, addr, len, P); in tls_prf_sha256()
Dsha256-kdf.c48 if (hmac_sha256_vector(secret, secret_len, 3, &addr[1], &len[1], T) < 0) in hmac_sha256_kdf()
69 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.c78 hmac_sha256_vector(key, key_len, 4, addr, len, in sha256_prf_bits()
82 hmac_sha256_vector(key, key_len, 4, addr, len, hash); in sha256_prf_bits()
Dsha256.h14 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem,
Dcrypto_module_tests.c1531 if (hmac_sha256_vector(t->key, t->key_len, 1, addr, len, in test_sha256()
1544 if (hmac_sha256_vector(t->key, t->key_len, 2, addr, len, in test_sha256()
Dcrypto_openssl.c829 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector() function
840 return hmac_sha256_vector(key, key_len, 1, &data, &data_len, mac); in hmac_sha256()
/external/wpa_supplicant_8/src/eap_common/
Deap_eke_common.c230 return hmac_sha256_vector(key, key_len, num_elem, addr, len, in eap_eke_prf()
297 ret = hmac_sha256_vector(key, key_len, 2, &addr[1], in eap_eke_prf_hmac_sha256()
300 ret = hmac_sha256_vector(key, key_len, 3, addr, vlen, in eap_eke_prf_hmac_sha256()
Deap_sim_common.c266 hmac_sha256_vector(k, 32, 5, addr, len, hash); in prf_prime()
391 hmac_sha256_vector(k_aut, EAP_AKA_PRIME_K_AUT_LEN, 2, addr, len, hmac); in eap_sim_verify_mac_sha256()
419 hmac_sha256_vector(k_aut, EAP_AKA_PRIME_K_AUT_LEN, 2, addr, len, hmac); in eap_sim_add_mac_sha256()
485 hmac_sha256_vector(key, sizeof(key), 5, addr, len, hash); in eap_aka_prime_derive_ck_ik_prime()
Deap_gpsk_common.c95 hmac_sha256_vector(psk, 32, 2, addr, vlen, hash); in eap_gpsk_gkdf_sha256()
/external/wpa_supplicant_8/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()
642 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_r_snonce1()
682 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()
Dwps_attr_build.c177 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 2, addr, len, hash); in wps_build_authenticator()
Dwps_registrar.c1458 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_r_hash()
1468 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_r_hash()
2232 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_e_snonce1()
2272 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_e_snonce2()
/external/wpa_supplicant_8/src/common/
Dsae.c487 if (hmac_sha256_vector(addrs, sizeof(addrs), 2, addr, len, in sae_derive_pwe_ecc()
587 if (hmac_sha256_vector(addrs, sizeof(addrs), 2, addr, len, in sae_derive_pwe_ffc()
1181 hmac_sha256_vector(sae->tmp->kck, sizeof(sae->tmp->kck), 5, addr, len, in sae_cn_confirm()
Dwpa_common.c1031 hmac_sha256_vector(pmk, pmk_len, 3, addr, len, hash); in rsn_pmkid()
1064 if (hmac_sha256_vector(kck, kck_len, 3, addr, len, hash) < 0) in rsn_pmkid_suite_b()
/external/wpa_supplicant_8/src/rsn_supp/
Dpeerkey.c314 hmac_sha256_vector(smk, PMK_LEN, 5, addr, len, hash); in rsn_smkid()