Home
last modified time | relevance | path

Searched refs:hmac_sha256 (Results 1 – 22 of 22) sorted by relevance

/hostap-3.6.0/src/crypto/
Dsha256-tlsprf.c60 hmac_sha256(secret, secret_len, A, SHA256_MAC_LEN, A) < 0) in tls_prf_sha256()
Dsha256.h16 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data,
Dsha256.c100 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256() function
Dcrypto_module_tests.c1876 if (hmac_sha256(t->key, t->key_len, t->data, t->data_len, in test_sha256()
2158 if (hmac_sha256(salt1, sizeof(salt1), ikm1, sizeof(ikm1), prk) < 0) in test_extract_expand_hkdf()
2173 if (hmac_sha256(salt2, sizeof(salt2), ikm2, sizeof(ikm2), prk) < 0) in test_extract_expand_hkdf()
Dcrypto_nettle.c178 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256() function
Dcrypto_gnutls.c168 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256() function
Dcrypto_linux.c209 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256() function
Dcrypto_wolfssl.c227 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256() function
Dcrypto_openssl.c1226 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256() function
/hostap-3.6.0/src/utils/
Duuid.c84 hmac_sha256(uuid, UUID_LEN, (const u8 *) &t, sizeof(t), hash) < 0) in uuid_random()
/hostap-3.6.0/src/wps/
Dwps_attr_process.c74 if (hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, head, len, hash) < 0 || in wps_process_key_wrap_auth()
Dwps_common.c137 if (hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, dev_passwd, in wps_derive_psk()
141 if (hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, in wps_derive_psk()
Dwps_attr_build.c382 if (hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, wpabuf_head(msg), in wps_build_key_wrap_auth()
/hostap-3.6.0/src/eap_server/
Deap_server.c744 if (hmac_sha256(erp->rIK, erp->rIK_len, in erp_send_finish_reauth()
929 if (hmac_sha256(erp->rIK, erp->rIK_len, hdr, in SM_STATE()
942 if (hmac_sha256(erp->rIK, erp->rIK_len, hdr, in SM_STATE()
954 if (hmac_sha256(erp->rIK, erp->rIK_len, hdr, in SM_STATE()
/hostap-3.6.0/src/eap_common/
Deap_gpsk_common.c538 ret = hmac_sha256(sk, sk_len, data, len, mic); in eap_gpsk_compute_mic()
Deap_teap_common.c332 res = hmac_sha256(cmk, cmk_len, buffer, buffer_len, tmp); in eap_teap_tls_mac()
Deap_eke_common.c578 return hmac_sha256(key, SHA256_MAC_LEN, data, data_len, res); in eap_eke_mac()
/hostap-3.6.0/src/common/
Dwpa_common.c237 if (hmac_sha256(key, key_len, buf, len, hash)) in wpa_eapol_key_mic()
257 if (hmac_sha256(key, key_len, buf, len, hash)) in wpa_eapol_key_mic()
280 if (hmac_sha256(key, key_len, buf, len, hash)) in wpa_eapol_key_mic()
1392 if (hmac_sha256(kck, WPA_PASN_KCK_LEN, buf, buf_len, hash)) in pasn_mic()
Ddpp_crypto.c153 return hmac_sha256(key, key_len, data, data_len, mac); in dpp_hmac()
/hostap-3.6.0/src/eap_peer/
Deap.c842 if (hmac_sha256(erp->rIK, erp->rIK_len, in eap_peer_build_erp_reauth_start()
1919 if (hmac_sha256(erp->rIK, erp->rIK_len, (const u8 *) hdr, in eap_peer_finish()
/hostap-3.6.0/src/ap/
Dieee802_11.c746 if (hmac_sha256(hapd->comeback_key, sizeof(hapd->comeback_key), in comeback_token_hash()
4277 res = hmac_sha256(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_req()
/hostap-3.6.0/src/rsn_supp/
Dwpa.c5185 res = hmac_sha256(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_resp()