/freebsd/contrib/wpa/src/crypto/ |
H A D | sha256-tlsprf.c | 53 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()
|
H A D | sha256-kdf.c | 56 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()
|
H A D | sha256-prf.c | 81 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()
|
H A D | sha256.c | 26 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector() function 112 return hmac_sha256_vector(key, key_len, 1, &data, &data_len, mac); in hmac_sha256()
|
H A D | sha256.h | 14 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem,
|
H A D | crypto_nettle.c | 160 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()
|
H A D | crypto_gnutls.c | 160 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()
|
H A D | crypto_linux.c | 201 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()
|
H A D | crypto_module_tests.c | 1886 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()
|
H A D | crypto_openssl.c | 1600 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector() function 1611 return hmac_sha256_vector(key, key_len, 1, &data, &data_len, mac); in hmac_sha256() 1722 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector() function 1733 return hmac_sha256_vector(key, key_len, 1, &data, &data_len, mac); in hmac_sha256()
|
H A D | crypto_wolfssl.c | 457 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector() function 468 return hmac_sha256_vector(key, key_len, 1, &data, &data_len, mac); in hmac_sha256()
|
/freebsd/contrib/wpa/src/ap/ |
H A D | comeback_token.c | 59 if (hmac_sha256_vector(comeback_key, COMEBACK_KEY_SIZE, in check_comeback_token() 129 if (hmac_sha256_vector(comeback_key, COMEBACK_KEY_SIZE, in auth_build_token_req()
|
/freebsd/contrib/wpa/src/eap_common/ |
H A D | eap_eke_common.c | 202 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()
|
H A D | eap_sim_common.c | 265 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()
|
H A D | eap_gpsk_common.c | 95 if (hmac_sha256_vector(psk, 32, 2, addr, vlen, hash)) in eap_gpsk_gkdf_sha256()
|
/freebsd/contrib/wpa/src/wps/ |
H A D | wps_attr_process.c | 43 if (hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 2, addr, len, in wps_process_authenticator()
|
H A D | wps_enrollee.c | 66 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()
|
H A D | wps_common.c | 51 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()
|
H A D | wps_attr_build.c | 178 if (hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 2, addr, len, in wps_build_authenticator()
|
H A D | wps_registrar.c | 1485 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_r_hash() 1495 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_r_hash() 2308 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_e_snonce1() 2348 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_e_snonce2()
|
/freebsd/contrib/wpa/src/common/ |
H A D | wpa_common.c | 631 res = hmac_sha256_vector(nonces, 2 * FILS_NONCE_LEN, num_elem, in fils_rmsk_to_pmk() 849 res = hmac_sha256_vector(ick, ick_len, num_elem, addr, len, in fils_key_auth_sk() 877 res = hmac_sha256_vector(ick, ick_len, num_elem, addr, len, in fils_key_auth_sk() 1015 if (hmac_sha256_vector(kck, kck_len, num_elem, addr, len, hash)) in wpa_ft_mic() 2616 hmac_sha256_vector(pmk, pmk_len, 3, addr, len, hash); in rsn_pmkid() 2651 if (hmac_sha256_vector(kck, kck_len, 3, addr, len, hash) < 0) in rsn_pmkid_suite_b()
|
H A D | sae.c | 363 if (hmac_sha256_vector(addrs, sizeof(addrs), 2, in sae_derive_pwe_ecc() 502 if (hmac_sha256_vector(addrs, sizeof(addrs), 2, in sae_derive_pwe_ffc() 540 return hmac_sha256_vector(salt, salt_len, num_elem, addr, len, in hkdf_extract()
|
H A D | dpp_crypto.c | 137 return hmac_sha256_vector(key, key_len, num_elem, addr, len, in dpp_hmac_vector()
|