Home
last modified time | relevance | path

Searched refs:wpabuf_head (Results 1 – 25 of 118) 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.c128 wpabuf_head(wpa_s->pending_action_tx), in wpas_send_action_cb()
140 wpabuf_head(wpa_s->pending_action_tx), in wpas_send_action_cb()
176 os_memcmp(data + 24, wpabuf_head(wpa_s->pending_action_tx), in offchannel_send_action_tx_status()
297 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()
/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.c463 in_data ? wpabuf_head(in_data) : NULL, in tls_connection_handshake2()
507 res = tlsv1_server_handshake(conn->server, wpabuf_head(in_data), in tls_connection_server_handshake()
537 res = tlsv1_client_encrypt(conn->client, wpabuf_head(in_data), in tls_connection_encrypt()
556 res = tlsv1_server_encrypt(conn->server, wpabuf_head(in_data), in tls_connection_encrypt()
590 return tlsv1_client_decrypt(conn->client, wpabuf_head(in_data), in tls_connection_decrypt2()
602 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()
Deap_ikev2_common.c97 wpabuf_head(msg), in eap_ikev2_validate_icv()
/external/wpa_supplicant_8/src/utils/
Dwpabuf.h77 static inline const void * wpabuf_head(const struct wpabuf *buf) in wpabuf_head() function
84 return (const u8 *) wpabuf_head(buf); in wpabuf_head_u8()
148 wpabuf_put_data(dst, wpabuf_head(src), wpabuf_len(src)); in wpabuf_put_buf()
Dext_password.c94 if (mlock(wpabuf_head(buf), wpabuf_len(buf)) < 0) { in ext_password_alloc()
110 if (munlock(wpabuf_head(pw), wpabuf_len(pw)) < 0) { in ext_password_free()
Dwpa_debug.h91 wpa_hexdump(level, title, buf ? wpabuf_head(buf) : NULL, in wpa_hexdump_buf()
113 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()
455 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()
638 addr[2] = wpabuf_head(wps->dh_pubkey_e); in wps_process_r_snonce1()
640 addr[3] = wpabuf_head(wps->dh_pubkey_r); in wps_process_r_snonce1()
678 addr[2] = wpabuf_head(wps->dh_pubkey_e); in wps_process_r_snonce2()
680 addr[3] = wpabuf_head(wps->dh_pubkey_r); in wps_process_r_snonce2()
879 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()
Dbeacon.c477 os_memcpy(pos, wpabuf_head(hapd->iface->fst_ies), in hostapd_gen_probe_resp()
499 os_memcpy(pos, wpabuf_head(hapd->wps_probe_resp_ie), in hostapd_gen_probe_resp()
508 os_memcpy(pos, wpabuf_head(hapd->p2p_probe_resp_ie), in hostapd_gen_probe_resp()
527 os_memcpy(pos, wpabuf_head(hapd->conf->vendor_elements), in hostapd_gen_probe_resp()
1097 os_memcpy(tailpos, wpabuf_head(hapd->iface->fst_ies), in ieee802_11_build_ap_params()
1119 os_memcpy(tailpos, wpabuf_head(hapd->wps_beacon_ie), in ieee802_11_build_ap_params()
1127 os_memcpy(tailpos, wpabuf_head(hapd->p2p_beacon_ie), in ieee802_11_build_ap_params()
1146 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()
473 wpabuf_head(resp), wpabuf_len(resp), 200) < 0) in p2p_sd_response()
683 wpabuf_head(resp), wpabuf_len(resp), 200) < 0) in p2p_rx_gas_comeback_req()
859 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()
310 wpabuf_head(resp), wpabuf_len(resp) - EAP_PAX_ICV_LEN, in eap_pax_process_std_3()
415 wpabuf_head(reqData), mlen, NULL, 0, NULL, 0, in eap_pax_process()
419 wpabuf_head(reqData), mlen, NULL, 0, NULL, 0, in eap_pax_process()
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()
343 wpabuf_head(resp), wpabuf_len(resp), rpos, in eap_sake_process_confirm()
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()
/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()
Deap_server_sake.c203 wpabuf_head(msg), wpabuf_len(msg), mic, mic)) in eap_sake_build_confirm()
352 wpabuf_head(respData), wpabuf_len(respData), in eap_sake_process_challenge()
389 wpabuf_head(respData), wpabuf_len(respData), in eap_sake_process_confirm()
/external/wpa_supplicant_8/src/radius/
Dradius_server.c749 !radius_msg_add_eap(msg, wpabuf_head(sess->eap_if->eapReqData), in radius_server_encapsulate_eap()
827 wpabuf_head(attr->val), in radius_server_encapsulate_eap()
908 wpabuf_head(attr->val), in radius_server_macacl()
976 if (sendto(data->auth_sock, wpabuf_head(buf), wpabuf_len(buf), 0, in radius_server_reject()
1046 res = sendto(data->auth_sock, wpabuf_head(buf), in radius_server_request()
1076 RADIUS_DUMP("Received EAP data", wpabuf_head(eap), wpabuf_len(eap)); in radius_server_request()
1093 wpabuf_head(sess->eap_if->eapReqData), in radius_server_request()
1152 res = sendto(data->auth_sock, wpabuf_head(buf), in radius_server_request()
1414 res = sendto(data->acct_sock, wpabuf_head(rbuf), wpabuf_len(rbuf), 0, in radius_server_receive_acct()

12345