Home
last modified time | relevance | path

Searched refs:wpabuf_head_u8 (Results 1 – 25 of 60) sorted by relevance

123

/external/wpa_supplicant_8/src/eap_common/
Deap_sim_common.c174 mac < wpabuf_head_u8(req) || in eap_sim_verify_mac()
175 mac > wpabuf_head_u8(req) + wpabuf_len(req) - EAP_SIM_MAC_LEN) in eap_sim_verify_mac()
188 os_memset(tmp + (mac - wpabuf_head_u8(req)), 0, EAP_SIM_MAC_LEN); in eap_sim_verify_mac()
368 mac < wpabuf_head_u8(req) || in eap_sim_verify_mac_sha256()
369 mac > wpabuf_head_u8(req) + wpabuf_len(req) - EAP_SIM_MAC_LEN) in eap_sim_verify_mac_sha256()
382 os_memset(tmp + (mac - wpabuf_head_u8(req)), 0, EAP_SIM_MAC_LEN); in eap_sim_verify_mac_sha256()
1108 msg->mac = (pos - wpabuf_head_u8(msg->buf)) + 4; in eap_sim_msg_add_mac()
1119 msg->iv = (pos - wpabuf_head_u8(msg->buf)) + 4; in eap_sim_msg_add_encr_start()
1131 msg->encr = pos - wpabuf_head_u8(msg->buf); in eap_sim_msg_add_encr_start()
1164 return aes_128_cbc_encrypt(k_encr, wpabuf_head_u8(msg->buf) + msg->iv, in eap_sim_msg_add_encr_end()
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.4/
Dmisc_utils.h54 wpabuf_head_u8(buf), wpabuf_head_u8(buf) + wpabuf_len(buf)); in convertWpaBufToVector()
/external/wpa_supplicant_8/src/wps/
Dwps_dev_attr.c209 wpabuf_head_u8(dev->vendor_ext_m1), in wps_build_vendor_ext_m1()
234 wpabuf_head_u8(dev->vendor_ext[i]), in wps_build_vendor_ext()
Dhttp_client.c97 res = send(c->sd, wpabuf_head_u8(c->req) + c->req_pos, send_len, 0); in http_client_tx_ready()
/external/wpa_supplicant_8/wpa_supplicant/
Dwifi_display.c378 wpabuf_head_u8(global->wfd_subelem[subelem]) + in wifi_display_subelem_get()
395 buf = wpabuf_head_u8(wfd_subelems); in wifi_display_subelem_hex()
Dmbo.c248 res = mbo_add_ie(buf, len, wpabuf_head_u8(mbo), wpabuf_len(mbo)); in wpas_mbo_ie()
306 wpas_mbo_send_wnm_notification(wpa_s, wpabuf_head_u8(buf), in wpas_mbo_non_pref_chan_changed()
Dpasn_supplicant.c133 data = wpabuf_head_u8(wd); in wpas_pasn_wd_sae_rx()
700 wpabuf_head_u8(buf) + IEEE80211_HDRLEN, in wpas_pasn_build_auth_1()
771 data = wpabuf_head_u8(buf) + IEEE80211_HDRLEN; in wpas_pasn_build_auth_3()
Doffchannel.c33 *wpabuf_head_u8(wpa_s->pending_action_tx) != in wpas_get_tx_interface()
Dwnm_sta.c1086 wpabuf_head_u8(buf), wpabuf_len(buf), 0); in wnm_send_bss_transition_mgmt_resp()
1658 wpabuf_head_u8(buf), wpabuf_len(buf), 0); in wnm_send_bss_transition_mgmt_query()
1946 wpabuf_head_u8(buf), wpabuf_len(buf), 0); in wnm_send_coloc_intf_report()
Dbss.c516 old_ie = old_ie_buff ? wpabuf_head_u8(old_ie_buff) : NULL; in are_ies_equal()
517 new_ie = new_ie_buff ? wpabuf_head_u8(new_ie_buff) : NULL; in are_ies_equal()
/external/wpa_supplicant_8/src/eap_peer/
Deap_gtc.c115 wpabuf_head_u8(resp) + sizeof(struct eap_hdr) + in eap_gtc_process()
Deap_pwd.c923 buf = wpabuf_head_u8(data->outbuf); in eap_pwd_process()
1018 pos = wpabuf_head_u8(data->inbuf); in eap_pwd_process()
1090 buf = wpabuf_head_u8(data->outbuf); in eap_pwd_process()
Deap_tnc.c122 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_tnc_build_msg()
Deap_tls.c307 *wpabuf_head_u8(resp) == 0) { in eap_tls_process()
Deap_ikev2.c183 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_ikev2_build_msg()
Deap_wsc.c334 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_wsc_build_msg()
/external/wpa_supplicant_8/src/utils/
Dwpabuf.h98 static inline const u8 * wpabuf_head_u8(const struct wpabuf *buf) in wpabuf_head_u8() function
/external/wpa_supplicant_8/src/common/
Dgas.c226 action = *(wpabuf_head_u8(buf) + 1); in gas_anqp_set_len()
Ddpp_reconfig.c387 addr[0] = wpabuf_head_u8(msg) + 2; in dpp_reconfig_build_resp()
617 addr[0] = wpabuf_head_u8(msg) + 2; in dpp_reconfig_build_conf()
Ddpp_auth.c194 addr[0] = wpabuf_head_u8(msg) + 2; in dpp_auth_build_req()
380 addr[0] = wpabuf_head_u8(msg) + 2; in dpp_auth_build_resp()
1056 addr[0] = wpabuf_head_u8(msg) + 2; in dpp_auth_build_conf()
/external/wpa_supplicant_8/src/radius/
Dradius.c424 addr[2] = wpabuf_head_u8(msg->buf) + sizeof(struct radius_hdr); in radius_msg_finish_srv()
462 addr[0] = wpabuf_head_u8(msg->buf); in radius_msg_finish_das_resp()
624 (unsigned char *) attr - wpabuf_head_u8(msg->buf); in radius_msg_add_attr_to_array()
872 addr[2] = wpabuf_head_u8(msg->buf) + sizeof(struct radius_hdr); in radius_msg_verify()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_wsc.c218 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_wsc_build_msg()
Deap_server_pwd.c517 buf = wpabuf_head_u8(data->outbuf); in eap_pwd_build_req()
942 pos = wpabuf_head_u8(data->inbuf); in eap_pwd_process()
Deap_server_tls_common.c231 wpabuf_put_data(req, wpabuf_head_u8(data->tls_out) + data->tls_out_pos, in eap_server_tls_build_msg()
Deap_server_tnc.c249 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_tnc_build_msg()

123