/external/wpa_supplicant_8/src/p2p/ |
D | p2p_build.c | 91 wpabuf_put_data(buf, country, 3); in p2p_buf_add_listen_channel() 105 wpabuf_put_data(buf, country, 3); in p2p_buf_add_operating_channel() 160 wpabuf_put_data(buf, country, 3); /* Country String */ in p2p_buf_add_channel_list() 166 wpabuf_put_data(buf, c->channel, c->channels); in p2p_buf_add_channel_list() 198 wpabuf_put_data(buf, p2p->cfg->dev_addr, ETH_ALEN); in p2p_buf_add_device_info() 222 wpabuf_put_data(buf, p2p->cfg->pri_dev_type, in p2p_buf_add_device_info() 230 wpabuf_put_data(buf, p2p->cfg->sec_dev_type[i], in p2p_buf_add_device_info() 237 wpabuf_put_data(buf, p2p->cfg->dev_name, nlen); in p2p_buf_add_device_info() 250 wpabuf_put_data(buf, dev_addr, ETH_ALEN); in p2p_buf_add_device_id() 273 wpabuf_put_data(buf, interface_addr, ETH_ALEN); in p2p_buf_add_intended_addr() [all …]
|
D | p2p_group.c | 200 wpabuf_put_data(ie, pos, frag_len); in p2p_group_encaps_probe_resp() 277 wpabuf_put_data(ie, pos, frag_len); in wifi_display_encaps() 335 wpabuf_put_data(buf, m->dev_addr, ETH_ALEN); in wifi_display_add_dev_info_descr() 337 wpabuf_put_data(buf, assoc_bssid, ETH_ALEN); in wifi_display_add_dev_info_descr() 339 wpabuf_put_data(buf, zero_addr, ETH_ALEN); in wifi_display_add_dev_info_descr() 340 wpabuf_put_data(buf, dev_info, 2); /* WFD Device Info */ in wifi_display_add_dev_info_descr() 341 wpabuf_put_data(buf, dev_info + 4, 2); /* WFD Device Max Throughput */ in wifi_display_add_dev_info_descr() 343 wpabuf_put_data(buf, coupled_sink, 1 + ETH_ALEN); in wifi_display_add_dev_info_descr() 346 wpabuf_put_data(buf, zero_addr, ETH_ALEN); in wifi_display_add_dev_info_descr() 552 wpabuf_put_data(buf, spos, ETH_ALEN); in p2p_build_client_info() [all …]
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_attr_build.c | 134 wpabuf_put_data(msg, uuid, WPS_UUID_LEN); in wps_build_uuid_e() 183 wpabuf_put_data(msg, hash, WPS_AUTHENTICATOR_LEN); in wps_build_authenticator() 243 wpabuf_put_data(msg, auth_macs, auth_macs_count * ETH_ALEN); in wps_build_wfa_ext() 289 wpabuf_put_data(msg, wps->nonce_e, WPS_NONCE_LEN); in wps_build_enrollee_nonce() 299 wpabuf_put_data(msg, wps->nonce_r, WPS_NONCE_LEN); in wps_build_registrar_nonce() 379 wpabuf_put_data(msg, hash, WPS_KWA_LEN); in wps_build_key_wrap_auth() 441 wpabuf_put_data(msg, pubkey_hash, WPS_OOB_PUBKEY_HASH_LEN); in wps_build_oob_dev_pw() 446 wpabuf_put_data(msg, dev_pw, dev_pw_len); in wps_build_oob_dev_pw() 476 wpabuf_put_data(ie, pos, frag_len); in wps_ie_encapsulate() 492 wpabuf_put_data(msg, addr, ETH_ALEN); in wps_build_mac_addr()
|
D | wps_dev_attr.c | 35 wpabuf_put_data(msg, dev->manufacturer, len); in wps_build_manufacturer() 59 wpabuf_put_data(msg, dev->model_name, len); in wps_build_model_name() 83 wpabuf_put_data(msg, dev->model_number, len); in wps_build_model_number() 107 wpabuf_put_data(msg, dev->serial_number, len); in wps_build_serial_number() 117 wpabuf_put_data(msg, dev->pri_dev_type, WPS_DEV_TYPE_LEN); in wps_build_primary_dev_type() 131 wpabuf_put_data(msg, dev->sec_dev_type, in wps_build_secondary_dev_type() 150 wpabuf_put_data(msg, req_dev_types + i * WPS_DEV_TYPE_LEN, in wps_build_req_dev_type() 177 wpabuf_put_data(msg, dev->device_name, len); in wps_build_dev_name()
|
D | ndef.c | 148 wpabuf_put_data(record, type, type_length); in ndef_build_record() 149 wpabuf_put_data(record, id, id_length); in ndef_build_record()
|
D | wps_enrollee.c | 88 wpabuf_put_data(msg, wps->snonce, WPS_SECRET_NONCE_LEN); in wps_build_e_snonce1() 98 wpabuf_put_data(msg, wps->snonce + WPS_SECRET_NONCE_LEN, in wps_build_e_snonce2() 248 wpabuf_put_data(msg, wps->wps->ssid, wps->wps->ssid_len); in wps_build_cred_ssid() 321 wpabuf_put_data(msg, hex, sizeof(psk) * 2); in wps_build_cred_network_key() 334 wpabuf_put_data(msg, wps->wps->network_key, wps->wps->network_key_len); in wps_build_cred_network_key() 344 wpabuf_put_data(msg, wps->wps->dev.mac_addr, ETH_ALEN); in wps_build_cred_mac_addr() 356 wpabuf_put_data(plain, wps->wps->ap_settings, in wps_build_ap_settings()
|
/external/wpa_supplicant_8/src/ap/ |
D | fils_hlp.c | 121 wpabuf_put_data(sta->hlp_dhcp_discover, server_id, in fils_dhcp_request() 125 wpabuf_put_data(sta->hlp_dhcp_discover, &dhcpoffer->your_ip, 4); in fils_dhcp_request() 257 wpabuf_put_data(resp, sta->addr, ETH_ALEN); in fils_dhcp_handler() 258 wpabuf_put_data(resp, hapd->own_addr, ETH_ALEN); in fils_dhcp_handler() 259 wpabuf_put_data(resp, "\xaa\xaa\x03\x00\x00\x00", 6); in fils_dhcp_handler() 278 wpabuf_put_data(resp, pos, end_opt - pos); in fils_dhcp_handler() 281 wpabuf_put_data(resp, end_opt, end - end_opt); in fils_dhcp_handler() 283 wpabuf_put_data(resp, pos, end - pos); in fils_dhcp_handler() 305 wpabuf_put_data(sta->fils_hlp_resp, rpos, len - 1); in fils_dhcp_handler() 312 wpabuf_put_data(sta->fils_hlp_resp, rpos, len); in fils_dhcp_handler()
|
D | gas_serv.c | 327 wpabuf_put_data(buf, vn->lang, 3); in anqp_add_venue_name() 328 wpabuf_put_data(buf, vn->name, vn->name_len); in anqp_add_venue_name() 351 wpabuf_put_data(buf, url->url, url->url_len); in anqp_add_venue_url() 367 wpabuf_put_data(buf, hapd->conf->network_auth_type, in anqp_add_network_auth_type() 387 wpabuf_put_data(buf, rc->oi, rc->len); in anqp_add_roaming_consortium() 587 wpabuf_put_data(buf, hapd->conf->anqp_3gpp_cell_net, in anqp_add_3gpp_cellular_network() 601 wpabuf_put_data(buf, hapd->conf->domain_name, in anqp_add_domain_name() 629 wpabuf_put_data(buf, realm->hash, 2); in anqp_add_fils_realm_info() 655 wpabuf_put_data(buf, vn->lang, 3); in anqp_add_operator_friendly_name() 656 wpabuf_put_data(buf, vn->name, vn->name_len); in anqp_add_operator_friendly_name() [all …]
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_gtc.c | 109 wpabuf_put_data(resp, "RESPONSE=", 9); in eap_gtc_process() 110 wpabuf_put_data(resp, identity, identity_len); in eap_gtc_process() 113 wpabuf_put_data(resp, password, password_len); in eap_gtc_process()
|
D | eap_tnc.c | 122 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_tnc_build_msg() 158 wpabuf_put_data(data->in_buf, buf, len); in eap_tnc_process_cont() 190 wpabuf_put_data(data->in_buf, buf, len); in eap_tnc_process_fragment() 386 wpabuf_put_data(resp, start_buf, start_len); in eap_tnc_process() 393 wpabuf_put_data(resp, end_buf, end_len); in eap_tnc_process()
|
D | eap_gpsk.c | 340 wpabuf_put_data(resp, data->id_peer, data->id_peer_len); in eap_gpsk_send_gpsk_2() 343 wpabuf_put_data(resp, data->id_server, data->id_server_len); in eap_gpsk_send_gpsk_2() 354 wpabuf_put_data(resp, data->rand_peer, EAP_GPSK_RAND_LEN); in eap_gpsk_send_gpsk_2() 355 wpabuf_put_data(resp, data->rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_send_gpsk_2() 358 wpabuf_put_data(resp, csuite_list, csuite_list_len); in eap_gpsk_send_gpsk_2()
|
D | eap_pwd.c | 297 wpabuf_put_data(data->outbuf, id->token, sizeof(id->token)); in eap_pwd_perform_id_exchange() 299 wpabuf_put_data(data->outbuf, data->id_peer, data->id_peer_len); in eap_pwd_perform_id_exchange() 800 wpabuf_put_data(data->outbuf, conf, SHA256_MAC_LEN); in eap_pwd_perform_confirm_exchange() 877 wpabuf_put_data(resp, buf + data->out_frag_pos, len); in eap_pwd_process() 953 wpabuf_put_data(data->inbuf, pos, len); in eap_pwd_process() 1044 wpabuf_put_data(resp, buf, len); in eap_pwd_process()
|
D | eap_ikev2.c | 183 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_ikev2_build_msg() 277 wpabuf_put_data(data->in_buf, buf, len); in eap_ikev2_process_cont() 316 wpabuf_put_data(data->in_buf, buf, len); in eap_ikev2_process_fragment()
|
/external/wpa_supplicant_8/src/utils/ |
D | wpabuf.h | 139 static inline void wpabuf_put_data(struct wpabuf *buf, const void *data, in wpabuf_put_data() function 149 wpabuf_put_data(dst, wpabuf_head(src), wpabuf_len(src)); in wpabuf_put_buf() 161 wpabuf_put_data(dst, str, os_strlen(str)); in wpabuf_put_str()
|
D | wpabuf.c | 164 wpabuf_put_data(buf, data, len); in wpabuf_alloc_copy() 173 wpabuf_put_data(buf, wpabuf_head(src), wpabuf_len(src)); in wpabuf_dup()
|
D | ext_password_test.c | 67 wpabuf_put_data(buf, pos, pos2 - pos); in ext_password_test_get()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_gpsk.c | 133 wpabuf_put_data(req, sm->server_id, sm->server_id_len); in eap_gpsk_build_gpsk_1() 134 wpabuf_put_data(req, data->rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_build_gpsk_1() 137 wpabuf_put_data(req, data->csuite_list, in eap_gpsk_build_gpsk_1() 169 wpabuf_put_data(req, data->rand_peer, EAP_GPSK_RAND_LEN); in eap_gpsk_build_gpsk_3() 170 wpabuf_put_data(req, data->rand_server, EAP_GPSK_RAND_LEN); in eap_gpsk_build_gpsk_3() 172 wpabuf_put_data(req, sm->server_id, sm->server_id_len); in eap_gpsk_build_gpsk_3()
|
D | eap_server_tnc.c | 157 wpabuf_put_data(req, start_buf, start_len); in eap_tnc_build() 164 wpabuf_put_data(req, end_buf, end_len); in eap_tnc_build() 249 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_tnc_build_msg() 407 wpabuf_put_data(data->in_buf, buf, len); in eap_tnc_process_cont() 435 wpabuf_put_data(data->in_buf, buf, len); in eap_tnc_process_fragment()
|
D | eap_server_mschapv2.c | 129 wpabuf_put_data(req, data->auth_challenge, CHALLENGE_LEN); in eap_mschapv2_build_challenge() 134 wpabuf_put_data(req, sm->server_id, sm->server_id_len); in eap_mschapv2_build_challenge() 175 wpabuf_put_data(req, message, os_strlen(message)); in eap_mschapv2_build_success_req() 208 wpabuf_put_data(req, message, os_strlen(message)); in eap_mschapv2_build_failure_req()
|
D | eap_server_pwd.c | 229 wpabuf_put_data(data->outbuf, &data->token, sizeof(data->token)); in eap_pwd_build_id_req() 231 wpabuf_put_data(data->outbuf, data->id_server, data->id_server_len); in eap_pwd_build_id_req() 290 wpabuf_put_data(data->outbuf, data->salt, data->salt_len); in eap_pwd_build_commit_req() 402 wpabuf_put_data(data->outbuf, conf, SHA256_MAC_LEN); in eap_pwd_build_confirm_req() 518 wpabuf_put_data(req, buf + data->out_frag_pos, len); in eap_pwd_build_req() 929 wpabuf_put_data(data->inbuf, pos, len); in eap_pwd_process()
|
D | eap_server_wsc.c | 218 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_wsc_build_msg() 308 wpabuf_put_data(data->in_buf, buf, len); in eap_wsc_process_cont() 337 wpabuf_put_data(data->in_buf, buf, len); in eap_wsc_process_fragment()
|
D | eap_server_tls_common.c | 229 wpabuf_put_data(req, wpabuf_head_u8(data->tls_out) + data->tls_out_pos, in eap_server_tls_build_msg() 275 wpabuf_put_data(data->tls_in, buf, len); in eap_server_tls_process_cont() 319 wpabuf_put_data(data->tls_in, buf, len); in eap_server_tls_process_fragment()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_fast_common.c | 24 wpabuf_put_data(buf, &hdr, sizeof(hdr)); in eap_fast_put_tlv_hdr() 32 wpabuf_put_data(buf, data, len); in eap_fast_put_tlv()
|
/external/wpa_supplicant_8/src/common/ |
D | gas_server.c | 134 wpabuf_put_data(resp, handler->adv_proto_id, handler->adv_proto_id_len); in gas_server_send_resp() 273 wpabuf_put_data(resp, handler->adv_proto_id, handler->adv_proto_id_len); in gas_server_handle_rx_comeback_req() 277 wpabuf_put_data(resp, wpabuf_head_u8(response->resp) + response->offset, in gas_server_handle_rx_comeback_req()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | mesh_mpm.c | 277 wpabuf_put_data(buf, supp_rates, pos - supp_rates); in mesh_mpm_send_plink_action() 280 wpabuf_put_data(buf, conf->rsn_ie, conf->rsn_ie_len); in mesh_mpm_send_plink_action() 285 wpabuf_put_data(buf, conf->meshid, conf->meshid_len); in mesh_mpm_send_plink_action() 305 wpabuf_put_data(buf, conf->meshid, conf->meshid_len); in mesh_mpm_send_plink_action() 353 wpabuf_put_data(buf, ht_capa_oper, pos - ht_capa_oper); in mesh_mpm_send_plink_action() 362 wpabuf_put_data(buf, vht_capa_oper, pos - vht_capa_oper); in mesh_mpm_send_plink_action()
|