Home
last modified time | relevance | path

Searched refs:wpabuf_head (Results 1 – 25 of 34) sorted by relevance

12

/hal_espressif-latest/components/wpa_supplicant/src/eap_peer/
Deap_common.c33 hdr = wpabuf_head(msg); in eap_hdr_len_valid()
76 hdr = wpabuf_head(msg); in eap_hdr_validate()
189 eap = wpabuf_head(msg); in eap_get_id()
204 return ((const u8 *) wpabuf_head(msg))[sizeof(struct eap_hdr)]; in eap_get_type()
/hal_espressif-latest/components/wpa_supplicant/src/crypto/
Ddh_groups.c1213 if (os_memcmp(wpabuf_head(*priv), dh->prime, dh->prime_len) > 0) { in dh_init()
1228 wpabuf_head(*priv), wpabuf_len(*priv), in dh_init()
1264 if (crypto_mod_exp(wpabuf_head(peer_public), wpabuf_len(peer_public), in dh_derive_shared()
1265 wpabuf_head(own_private), wpabuf_len(own_private), in dh_derive_shared()
Dtls_internal.c498 in_data ? wpabuf_head(in_data) : NULL, in tls_connection_handshake2()
542 res = tlsv1_server_handshake(conn->server, wpabuf_head(in_data), in tls_connection_server_handshake()
572 res = tlsv1_client_encrypt(conn->client, wpabuf_head(in_data), in tls_connection_encrypt()
591 res = tlsv1_server_encrypt(conn->server, wpabuf_head(in_data), in tls_connection_encrypt()
625 return tlsv1_client_decrypt(conn->client, wpabuf_head(in_data), in tls_connection_decrypt2()
637 res = tlsv1_server_decrypt(conn->server, wpabuf_head(in_data), in tls_connection_decrypt2()
/hal_espressif-latest/components/wpa_supplicant/include/utils/
Dwpabuf.h83 static inline const void * wpabuf_head(const struct wpabuf *buf) in wpabuf_head() function
90 return wpabuf_head(buf); in wpabuf_head_u8()
154 wpabuf_put_data(dst, wpabuf_head(src), wpabuf_len(src)); in wpabuf_put_buf()
Dwpa_debug.h96 wpa_hexdump(level, title, wpabuf_head(buf), wpabuf_len(buf)); in wpa_hexdump_buf()
117 wpa_hexdump_key(level, title, wpabuf_head(buf), wpabuf_len(buf)); in wpa_hexdump_buf_key()
/hal_espressif-latest/components/wpa_supplicant/src/utils/
Dext_password.c91 if (mlock(wpabuf_head(buf), wpabuf_len(buf)) < 0) { in ext_password_alloc()
107 if (munlock(wpabuf_head(pw), wpabuf_len(pw)) < 0) { in ext_password_free()
Dwpabuf.c176 wpabuf_put_data(buf, wpabuf_head(src), wpabuf_len(src)); in wpabuf_dup()
/hal_espressif-latest/components/wpa_supplicant/src/wps/
Dwps_attr_process.c38 addr[0] = wpabuf_head(wps->last_msg); in wps_process_authenticator()
40 addr[1] = wpabuf_head(msg); in wps_process_authenticator()
66 head = wpabuf_head(msg); in wps_process_key_wrap_auth()
Dwps_attr_build.c180 addr[0] = wpabuf_head(wps->last_msg); in wps_build_authenticator()
182 addr[1] = wpabuf_head(msg); in wps_build_authenticator()
388 if (hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, wpabuf_head(msg), in wps_build_key_wrap_auth()
439 addr[0] = wpabuf_head(pubkey); in wps_build_oob_dev_pw()
481 pos = wpabuf_head(data); in wps_ie_encapsulate()
Dwps_enrollee.c64 addr[2] = wpabuf_head(wps->dh_pubkey_e); in wps_build_e_hash()
66 addr[3] = wpabuf_head(wps->dh_pubkey_r); in wps_build_e_hash()
654 addr[2] = wpabuf_head(wps->dh_pubkey_e); in wps_process_r_snonce1()
656 addr[3] = wpabuf_head(wps->dh_pubkey_r); in wps_process_r_snonce1()
694 addr[2] = wpabuf_head(wps->dh_pubkey_e); in wps_process_r_snonce2()
696 addr[3] = wpabuf_head(wps->dh_pubkey_r); in wps_process_r_snonce2()
923 cred->cred_attr = wpabuf_head(attrs); in wps_process_ap_settings_e()
Dwps_common.c105 addr[0] = wpabuf_head(dh_shared); in wps_derive_keys()
438 wpabuf_head(dev_pw), wpabuf_len(dev_pw)) || in wps_build_nfc_pw_token()
904 dev_pw = wpabuf_head(nfc_dev_pw); in wps_build_nfc_handover_sel_p2p()
Dwps_registrar.c1428 pin = wpabuf_head(wps->wps->ap_nfc_dev_pw); in wps_get_dev_password()
1498 addr[2] = wpabuf_head(wps->dh_pubkey_e); in wps_build_r_hash()
1500 addr[3] = wpabuf_head(wps->dh_pubkey_r); in wps_build_r_hash()
2328 addr[2] = wpabuf_head(wps->dh_pubkey_e); in wps_process_e_snonce1()
2330 addr[3] = wpabuf_head(wps->dh_pubkey_r); in wps_process_e_snonce1()
2368 addr[2] = wpabuf_head(wps->dh_pubkey_e); in wps_process_e_snonce2()
2370 addr[3] = wpabuf_head(wps->dh_pubkey_r); in wps_process_e_snonce2()
2959 wps->cred.cred_attr = wpabuf_head(msg); in wps_process_ap_settings_r()
Dwps_attr_parse.c605 pos = wpabuf_head(msg); in wps_parse_msg()
Dwps.c77 os_memdup(wpabuf_head(cfg->wps->ap_nfc_dev_pw), in wps_init()
/hal_espressif-latest/components/wpa_supplicant/src/ap/
Dieee802_11.c157 status, wpabuf_head(data), in auth_sae_send_commit()
183 WLAN_STATUS_SUCCESS, wpabuf_head(data), in auth_sae_send_confirm()
437 pos = wpabuf_head(groups); in check_sae_rejected_groups()
655 data ? wpabuf_head(data) : (u8 *) "", in handle_auth_sae()
Dwps_hostapd.c41 (uint8_t *)wpabuf_head(beacon_ie), beacon_ie->used, 0); in hostapd_wps_set_ie_cb()
48 (uint8_t *)wpabuf_head(probe_resp_ie), probe_resp_ie->used, 0); in hostapd_wps_set_ie_cb()
/hal_espressif-latest/components/wpa_supplicant/src/common/
Ddpp.c755 addr[0] = wpabuf_head(der); in dpp_bootstrap_key_hash()
802 addr[0] = wpabuf_head(der); in dpp_keygen()
812 base64 = (char *)base64_encode(wpabuf_head(der), wpabuf_len(der), &len); in dpp_keygen()
1733 wpabuf_head(clear), wpabuf_len(clear), in dpp_build_conf_req_attr()
1861 buf = dpp_build_conf_req(auth, wpabuf_head(json)); in dpp_build_conf_req_helper()
1926 addr[num_elem] = wpabuf_head(pix); in dpp_gen_r_auth()
1930 addr[num_elem] = wpabuf_head(prx); in dpp_gen_r_auth()
1935 addr[num_elem] = wpabuf_head(bix); in dpp_gen_r_auth()
1940 addr[num_elem] = wpabuf_head(brx); in dpp_gen_r_auth()
2008 addr[num_elem] = wpabuf_head(prx); in dpp_gen_i_auth()
[all …]
Drrm.c251 wpabuf_head(buf), wpabuf_len(buf), 0) < 0) { in wpas_rrm_send_neighbor_rep_request()
302 wpabuf_head(report), wpabuf_len(report), 0)) { in wpas_rrm_send_msr_report_mpdu()
1074 wpabuf_head(buf), wpabuf_len(buf), 0)) { in wpas_rrm_handle_link_measurement_request()
Dsae_pk.c527 if (sae_hash(hash_len, wpabuf_head(sig_data), wpabuf_len(sig_data), in sae_pk_hash_sig_data()
/hal_espressif-latest/components/wpa_supplicant/src/eap_server/
Deap_server.c616 nak = wpabuf_head(sm->eap_if.eapRespData); in SM_STATE()
747 wpabuf_head(msg), wpabuf_len(msg), hash) < 0) { in erp_send_finish_reauth()
825 hdr = wpabuf_head(sm->eap_if.eapRespData); in SM_STATE()
826 ehdr = wpabuf_head(sm->eap_if.eapRespData); in SM_STATE()
1518 hdr = wpabuf_head(resp); in eap_sm_parseEapResp()
1566 hdr = wpabuf_head(data); in eap_sm_getId()
/hal_espressif-latest/components/wpa_supplicant/src/tls/
Dtlsv1_client.c192 in_data = wpabuf_head(conn->partial_input); in tlsv1_client_handshake()
351 in_data = wpabuf_head(conn->partial_input); in tlsv1_client_decrypt()
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/
Desp_dpp.c181 esp_dpp_send_action_frame(rx_param->sa, wpabuf_head(s_dpp_ctx.dpp_auth->resp_msg), in esp_dpp_rx_auth_req()
208 esp_dpp_send_action_frame(auth->peer_mac_addr, wpabuf_head(buf), wpabuf_len(buf), in gas_query_req_tx()
Desp_wpa3.c267 pos = wpabuf_head(groups); in wpa3_check_sae_rejected_groups()
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/crypto/
Dtls_mbedtls.c142 os_memcpy(buf, wpabuf_head(data->in_data), len); in tls_mbedtls_read()
820 (unsigned char*) wpabuf_head(in_data), wpabuf_len(in_data)); in tls_connection_encrypt()
/hal_espressif-latest/components/wpa_supplicant/src/eapol_auth/
Deapol_auth_sm.c135 wpabuf_head(sm->eap_if->eapReqData), in eapol_auth_tx_req()
957 wpabuf_head(sm->eap_if->aaaEapRespData), in eapol_sm_step_run()

12