Home
last modified time | relevance | path

Searched refs:wpabuf_head_u8 (Results 1 – 25 of 39) 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.c254 wpabuf_head_u8(global->wfd_subelem[subelem]) + in wifi_display_subelem_get()
271 buf = wpabuf_head_u8(wfd_subelems); in wifi_display_subelem_hex()
Dbss.c400 old_ie = old_ie_buff ? wpabuf_head_u8(old_ie_buff) : NULL; in are_ies_equal()
401 new_ie = new_ie_buff ? wpabuf_head_u8(new_ie_buff) : NULL; in are_ies_equal()
Dconfig_file.c990 const u8 *p = wpabuf_head_u8(config->wps_vendor_ext_m1); in wpa_config_write_global()
1136 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.c95 res = send(c->sd, wpabuf_head_u8(c->req) + c->req_pos, 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.c758 buf = wpabuf_head_u8(data->outbuf); in eap_pwd_process()
834 pos = wpabuf_head_u8(data->inbuf); in eap_pwd_process()
905 buf = wpabuf_head_u8(data->outbuf); in eap_pwd_process()
Deap_tnc.c117 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_tnc_build_msg()
Deap_peap.c936 wpabuf_head_u8(resp)[0] == EAP_CODE_RESPONSE && in eap_peap_decrypt()
941 wpabuf_set(&buf, wpabuf_head_u8(resp) + in eap_peap_decrypt()
Deap_ikev2.c185 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_ikev2_build_msg()
Deap_wsc.c335 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_wsc_build_msg()
Deap_tls_common.c632 wpabuf_head_u8(data->tls_out) + data->tls_out_pos, in eap_tls_process_output()
/external/wpa_supplicant_8/src/utils/
Dwpabuf.h81 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.c408 addr[2] = wpabuf_head_u8(msg->buf) + sizeof(struct radius_hdr); in radius_msg_finish_srv()
446 addr[0] = wpabuf_head_u8(msg->buf); in radius_msg_finish_das_resp()
603 (unsigned char *) attr - wpabuf_head_u8(msg->buf); in radius_msg_add_attr_to_array()
847 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.c179 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_ikev2.c180 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_ikev2_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_pwd.c526 buf = wpabuf_head_u8(data->outbuf); in eap_pwd_build_req()
943 pos = wpabuf_head_u8(data->inbuf); in eap_pwd_process()
/external/wpa_supplicant_8/src/p2p/
Dp2p_parse.c305 const u8 *pos = wpabuf_head_u8(buf); in p2p_parse_p2p_ie()
Dp2p_sd.c640 wpabuf_head_u8(p2p->sd_resp) + in p2p_rx_gas_comeback_req()
/external/wpa_supplicant_8/src/crypto/
Dtls_gnutls.c212 end = wpabuf_head_u8(conn->pull_buf) + wpabuf_len(conn->pull_buf); in tls_pull_func()

12