Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/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()
Dcrypto_module_tests.c1886 if (hmac_sha256_vector(t->key, t->key_len, 1, addr, len, in test_sha256()
1899 if (hmac_sha256_vector(t->key, t->key_len, 2, addr, len, in test_sha256()
Dcrypto_linux.c201 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector() function
212 return hmac_sha256_vector(key, key_len, 1, &data, &data_len, mac); in hmac_sha256()
Dcrypto_wolfssl.c219 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector() function
230 return hmac_sha256_vector(key, key_len, 1, &data, &data_len, mac); in hmac_sha256()
Dcrypto_openssl.c1154 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector() function
1165 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.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()
Deap_gpsk_common.c95 if (hmac_sha256_vector(psk, 32, 2, addr, vlen, hash)) in eap_gpsk_gkdf_sha256()
/external/wpa_supplicant_8/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()
Dwps_attr_build.c178 if (hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 2, addr, len, in wps_build_authenticator()
Dwps_registrar.c1498 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_r_hash()
1508 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_r_hash()
2319 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_e_snonce1()
2359 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_e_snonce2()
/external/wpa_supplicant_8/src/common/
Dwpa_common.c556 res = hmac_sha256_vector(nonces, 2 * FILS_NONCE_LEN, num_elem, in fils_rmsk_to_pmk()
774 res = hmac_sha256_vector(ick, ick_len, num_elem, addr, len, in fils_key_auth_sk()
802 res = hmac_sha256_vector(ick, ick_len, num_elem, addr, len, in fils_key_auth_sk()
2214 hmac_sha256_vector(pmk, pmk_len, 3, addr, len, hash); in rsn_pmkid()
2249 if (hmac_sha256_vector(kck, kck_len, 3, addr, len, hash) < 0) in rsn_pmkid_suite_b()
Dsae.c370 if (hmac_sha256_vector(addrs, sizeof(addrs), num_elem, in sae_derive_pwe_ecc()
500 if (hmac_sha256_vector(addrs, sizeof(addrs), num_elem, in sae_derive_pwe_ffc()
538 return hmac_sha256_vector(salt, salt_len, num_elem, addr, len, in hkdf_extract()
Ddpp_crypto.c271 return hmac_sha256_vector(key, key_len, num_elem, addr, len, in dpp_hmac_vector()
/external/wpa_supplicant_8/src/ap/
Dieee802_11.c756 if (hmac_sha256_vector(hapd->sae_token_key, sizeof(hapd->sae_token_key), in check_sae_token()
823 if (hmac_sha256_vector(hapd->sae_token_key, sizeof(hapd->sae_token_key), in auth_build_token_req()