Home
last modified time | relevance | path

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

12345

/external/wpa_supplicant_8/wpa_supplicant/
Dnfc_pw_token.c28 pos = wpabuf_head(buf); in print_bin()
61 wpa_snprintf_hex_uppercase(txt, sizeof(txt), wpabuf_head(buf), in main()
65 wpa_snprintf_hex_uppercase(txt, sizeof(txt), wpabuf_head(ndef), in main()
Doffchannel.c149 wpabuf_head(wpa_s->pending_action_tx), in wpas_send_action_cb()
161 wpabuf_head(wpa_s->pending_action_tx), in wpas_send_action_cb()
197 os_memcmp(data + 24, wpabuf_head(wpa_s->pending_action_tx), in offchannel_send_action_tx_status()
318 wpabuf_head(wpa_s->pending_action_tx), in offchannel_send_action()
Dp2p_supplicant_sd.c159 os_memcmp(wpabuf_head(query), wpabuf_head(bsrv->query), in wpas_p2p_service_get_bonjour()
250 wpabuf_head(bsrv->resp), in wpas_sd_all_bonjour()
273 os_memcmp(query, wpabuf_head(bsrv->query), query_len - 3) == 0) in match_bonjour_query()
280 wpabuf_head(bsrv->query), in match_bonjour_query()
329 wpabuf_head(bsrv->resp), in wpas_sd_req_bonjour()
Dsme.c348 os_memcpy(wpa_s->sme.assoc_req_ie, wpabuf_head(wps_ie), in sme_send_authentication()
435 wpabuf_head(wpa_s->fst_ies), in sme_send_authentication()
482 wpabuf_head(hs20), wpabuf_len(hs20)); in sme_send_authentication()
499 wpabuf_head(buf), wpabuf_len(buf)); in sme_send_authentication()
537 params.auth_data = wpabuf_head(resp); in sme_send_authentication()
561 params.auth_data = wpabuf_head(resp); in sme_send_authentication()
940 ric_ies = wpabuf_head(wpa_s->ric_ies); in sme_event_auth()
1047 wpabuf_head(buf), wpabuf_len(buf)); in sme_associate()
1394 wpabuf_head(buf), wpabuf_len(buf), 0) < 0) { in sme_send_2040_bss_coex()
/external/wpa_supplicant_8/src/crypto/
Ddh_groups.c1213 if (os_memcmp(wpabuf_head(*priv), dh->prime, dh->prime_len) > 0) { in dh_init()
1227 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.c478 in_data ? wpabuf_head(in_data) : NULL, in tls_connection_handshake2()
522 res = tlsv1_server_handshake(conn->server, wpabuf_head(in_data), in tls_connection_server_handshake()
552 res = tlsv1_client_encrypt(conn->client, wpabuf_head(in_data), in tls_connection_encrypt()
571 res = tlsv1_server_encrypt(conn->server, wpabuf_head(in_data), in tls_connection_encrypt()
605 return tlsv1_client_decrypt(conn->client, wpabuf_head(in_data), in tls_connection_decrypt2()
617 res = tlsv1_server_decrypt(conn->server, wpabuf_head(in_data), in tls_connection_decrypt2()
/external/wpa_supplicant_8/src/eap_common/
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()
/external/wpa_supplicant_8/src/utils/
Dwpabuf.h78 static inline const void * wpabuf_head(const struct wpabuf *buf) in wpabuf_head() function
85 return (const u8 *) wpabuf_head(buf); in wpabuf_head_u8()
149 wpabuf_put_data(dst, wpabuf_head(src), wpabuf_len(src)); in wpabuf_put_buf()
Dext_password.c90 if (mlock(wpabuf_head(buf), wpabuf_len(buf)) < 0) { in ext_password_alloc()
106 if (munlock(wpabuf_head(pw), wpabuf_len(pw)) < 0) { in ext_password_free()
Dwpa_debug.h94 wpa_hexdump(level, title, buf ? wpabuf_head(buf) : NULL, in wpa_hexdump_buf()
116 wpa_hexdump_key(level, title, buf ? wpabuf_head(buf) : NULL, in wpa_hexdump_buf_key()
Dext_password_test.c69 wpabuf_head(buf), in ext_password_test_get()
/external/wpa_supplicant_8/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()
65 head = wpabuf_head(msg); in wps_process_key_wrap_auth()
Dwps_attr_build.c173 addr[0] = wpabuf_head(wps->last_msg); in wps_build_authenticator()
175 addr[1] = wpabuf_head(msg); in wps_build_authenticator()
364 hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, wpabuf_head(msg), in wps_build_key_wrap_auth()
414 addr[0] = wpabuf_head(pubkey); in wps_build_oob_dev_pw()
456 pos = wpabuf_head(data); in wps_ie_encapsulate()
Dwps_enrollee.c62 addr[2] = wpabuf_head(wps->dh_pubkey_e); in wps_build_e_hash()
64 addr[3] = wpabuf_head(wps->dh_pubkey_r); in wps_build_e_hash()
639 addr[2] = wpabuf_head(wps->dh_pubkey_e); in wps_process_r_snonce1()
641 addr[3] = wpabuf_head(wps->dh_pubkey_r); in wps_process_r_snonce1()
679 addr[2] = wpabuf_head(wps->dh_pubkey_e); in wps_process_r_snonce2()
681 addr[3] = wpabuf_head(wps->dh_pubkey_r); in wps_process_r_snonce2()
880 cred.cred_attr = wpabuf_head(attrs); in wps_process_ap_settings_e()
/external/wpa_supplicant_8/src/ap/
Dhs20.c137 wpabuf_head(buf), wpabuf_len(buf)); in hs20_send_wnm_notification()
172 wpabuf_head(buf), wpabuf_len(buf)); in hs20_send_wnm_notification_deauth_req()
Drrm.c273 wpabuf_head(buf), wpabuf_len(buf)); in hostapd_send_nei_report_resp()
426 wpabuf_head(buf), wpabuf_len(buf)); in hostapd_send_lci_req()
545 wpabuf_head(buf), wpabuf_len(buf)); in hostapd_send_range_req()
587 pos = wpabuf_head(req); in hostapd_send_beacon_req()
656 wpabuf_head(buf), wpabuf_len(buf)); in hostapd_send_beacon_req()
Dbeacon.c488 os_memcpy(pos, wpabuf_head(hapd->iface->fst_ies), in hostapd_gen_probe_resp()
522 os_memcpy(pos, wpabuf_head(hapd->wps_probe_resp_ie), in hostapd_gen_probe_resp()
531 os_memcpy(pos, wpabuf_head(hapd->p2p_probe_resp_ie), in hostapd_gen_probe_resp()
550 os_memcpy(pos, wpabuf_head(hapd->conf->vendor_elements), in hostapd_gen_probe_resp()
1173 os_memcpy(tailpos, wpabuf_head(hapd->iface->fst_ies), in ieee802_11_build_ap_params()
1207 os_memcpy(tailpos, wpabuf_head(hapd->wps_beacon_ie), in ieee802_11_build_ap_params()
1215 os_memcpy(tailpos, wpabuf_head(hapd->p2p_beacon_ie), in ieee802_11_build_ap_params()
1234 os_memcpy(tailpos, wpabuf_head(hapd->conf->vendor_elements), in ieee802_11_build_ap_params()
/external/wpa_supplicant_8/src/p2p/
Dp2p_sd.c28 pos = wpabuf_head(wfd); in wfd_wsd_supported()
205 wpabuf_head(req), wpabuf_len(req), 200) < 0) in p2p_send_gas_comeback_req()
317 wpabuf_head(req), wpabuf_len(req), wait_time) < 0) { in p2p_start_sd()
475 wpabuf_head(resp), wpabuf_len(resp), wait_time) < 0) in p2p_sd_response()
685 wpabuf_head(resp), wpabuf_len(resp), 200) < 0) in p2p_rx_gas_comeback_req()
861 wpabuf_head(p2p->sd_rx_resp), in p2p_rx_gas_comeback_resp()
Dp2p_dev_disc.c97 wpabuf_head(req), wpabuf_len(req), wait_time) < 0) { in p2p_send_dev_disc_req()
153 wpabuf_head(resp), wpabuf_len(resp), 200) < 0) { in p2p_send_dev_disc_resp()
/external/wpa_supplicant_8/src/eap_peer/
Deap_pax.c219 wpabuf_head(resp), wpabuf_len(resp) - EAP_PAX_ICV_LEN, in eap_pax_process_std_1()
317 wpabuf_head(resp), wpabuf_len(resp) - EAP_PAX_ICV_LEN, in eap_pax_process_std_3()
422 wpabuf_head(reqData), mlen, NULL, 0, NULL, 0, in eap_pax_process()
426 wpabuf_head(reqData), mlen, NULL, 0, NULL, 0, in eap_pax_process()
Deap_psk.c273 wpabuf_head(reqData), 5); in eap_psk_process_3()
285 wpabuf_head(reqData), in eap_psk_process_3()
349 wpabuf_head(resp), in eap_psk_process_3()
Deap_sake.c270 wpabuf_head(resp), wpabuf_len(resp), rpos, in eap_sake_process_challenge()
315 wpabuf_head(reqData), wpabuf_len(reqData), in eap_sake_process_confirm()
352 wpabuf_head(resp), wpabuf_len(resp), rpos, in eap_sake_process_confirm()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_tnc.c168 wpabuf_head(req), wpabuf_len(req)); in eap_tnc_build()
364 res = tncs_process_if_tnccs(data->tncs, wpabuf_head(inbuf), in tncs_process()
531 wpabuf_head(data->in_buf), wpabuf_len(data->in_buf)); in eap_tnc_process()
Deap_server_peap.c248 req = wpabuf_head(buf); in eap_peap_build_phase2_req()
289 req = wpabuf_head(buf); in eap_peap_build_phase2_soh()
933 hdr = wpabuf_head(in_data); in eap_peap_process_phase2_response()
1099 resp = wpabuf_head(respData); in eap_peap_process_phase2()
1111 hdr = wpabuf_head(in_decrypted); in eap_peap_process_phase2()
1248 pos = wpabuf_head(buf); in eap_peap_process()
/external/wpa_supplicant_8/src/radius/
Dradius_server.c754 !radius_msg_add_eap(msg, wpabuf_head(sess->eap_if->eapReqData), in radius_server_encapsulate_eap()
832 wpabuf_head(attr->val), in radius_server_encapsulate_eap()
913 wpabuf_head(attr->val), in radius_server_macacl()
981 if (sendto(data->auth_sock, wpabuf_head(buf), wpabuf_len(buf), 0, in radius_server_reject()
1051 res = sendto(data->auth_sock, wpabuf_head(buf), in radius_server_request()
1081 RADIUS_DUMP("Received EAP data", wpabuf_head(eap), wpabuf_len(eap)); in radius_server_request()
1098 wpabuf_head(sess->eap_if->eapReqData), in radius_server_request()
1157 res = sendto(data->auth_sock, wpabuf_head(buf), in radius_server_request()
1419 res = sendto(data->acct_sock, wpabuf_head(rbuf), wpabuf_len(rbuf), 0, in radius_server_receive_acct()

12345