Home
last modified time | relevance | path

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

12

/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()
189 os_memset(tmp + (mac - wpabuf_head_u8(req)), 0, EAP_SIM_MAC_LEN); in eap_sim_verify_mac()
369 mac < wpabuf_head_u8(req) || in eap_sim_verify_mac_sha256()
370 mac > wpabuf_head_u8(req) + wpabuf_len(req) - EAP_SIM_MAC_LEN) in eap_sim_verify_mac_sha256()
384 os_memset(tmp + (mac - wpabuf_head_u8(req)), 0, EAP_SIM_MAC_LEN); in eap_sim_verify_mac_sha256()
1106 msg->mac = (pos - wpabuf_head_u8(msg->buf)) + 4; in eap_sim_msg_add_mac()
1117 msg->iv = (pos - wpabuf_head_u8(msg->buf)) + 4; in eap_sim_msg_add_encr_start()
1129 msg->encr = pos - wpabuf_head_u8(msg->buf); in eap_sim_msg_add_encr_start()
1162 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/
Dwifi_display.c365 wpabuf_head_u8(global->wfd_subelem[subelem]) + in wifi_display_subelem_get()
382 buf = wpabuf_head_u8(wfd_subelems); in wifi_display_subelem_hex()
Dmbo.c176 res = mbo_add_ie(buf, len, wpabuf_head_u8(mbo), wpabuf_len(mbo)); in wpas_mbo_ie()
234 wpas_mbo_send_wnm_notification(wpa_s, wpabuf_head_u8(buf), in wpas_mbo_non_pref_chan_changed()
Dbss.c452 old_ie = old_ie_buff ? wpabuf_head_u8(old_ie_buff) : NULL; in are_ies_equal()
453 new_ie = new_ie_buff ? wpabuf_head_u8(new_ie_buff) : NULL; in are_ies_equal()
Dmesh_rsn.c457 u8 const *ie = wpabuf_head_u8(buf) + wpabuf_len(buf); in mesh_rsn_protect_frame()
Dconfig_file.c1067 const u8 *p = wpabuf_head_u8(config->wps_vendor_ext_m1); in wpa_config_write_global()
1236 const u8 *p = wpabuf_head_u8(config->ap_vendor_elements); in wpa_config_write_global()
/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()
Dwps_common.c183 pos = wpabuf_head_u8(decrypted) + wpabuf_len(decrypted) - 1; in wps_decrypt_encr_settings()
/external/wpa_supplicant_8/src/eap_peer/
Deap_gtc.c115 wpabuf_head_u8(resp) + sizeof(struct eap_hdr) + in eap_gtc_process()
Deap_pwd.c849 buf = wpabuf_head_u8(data->outbuf); in eap_pwd_process()
937 pos = wpabuf_head_u8(data->inbuf); in eap_pwd_process()
1009 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_ikev2.c185 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_ikev2_build_msg()
Deap_peap.c940 wpabuf_head_u8(resp)[0] == EAP_CODE_RESPONSE && in eap_peap_decrypt()
945 wpabuf_set(&buf, wpabuf_head_u8(resp) + in eap_peap_decrypt()
Deap_wsc.c331 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.h82 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()
/external/wpa_supplicant_8/src/radius/
Dradius.c422 addr[2] = wpabuf_head_u8(msg->buf) + sizeof(struct radius_hdr); in radius_msg_finish_srv()
460 addr[0] = wpabuf_head_u8(msg->buf); in radius_msg_finish_das_resp()
617 (unsigned char *) attr - wpabuf_head_u8(msg->buf); in radius_msg_add_attr_to_array()
861 addr[2] = wpabuf_head_u8(msg->buf) + sizeof(struct radius_hdr); in radius_msg_verify()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_tls_common.c205 wpabuf_put_data(req, wpabuf_head_u8(data->tls_out) + data->tls_out_pos, in eap_server_tls_build_msg()
Deap_server_wsc.c218 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_wsc_build_msg()
Deap_server_tnc.c249 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_tnc_build_msg()
Deap_server_ikev2.c180 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_ikev2_build_msg()
Deap_server_pwd.c535 buf = wpabuf_head_u8(data->outbuf); in eap_pwd_build_req()
1000 pos = wpabuf_head_u8(data->inbuf); in eap_pwd_process()
/external/wpa_supplicant_8/src/p2p/
Dp2p_parse.c422 const u8 *pos = wpabuf_head_u8(buf); in p2p_parse_p2p_ie()
Dp2p_sd.c660 wpabuf_head_u8(p2p->sd_resp) + in p2p_rx_gas_comeback_req()

12