/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() 185 wpabuf_put_data(msg, hash, WPS_AUTHENTICATOR_LEN); in wps_build_authenticator() 245 wpabuf_put_data(msg, auth_macs, auth_macs_count * ETH_ALEN); in wps_build_wfa_ext() 291 wpabuf_put_data(msg, wps->nonce_e, WPS_NONCE_LEN); in wps_build_enrollee_nonce() 301 wpabuf_put_data(msg, wps->nonce_r, WPS_NONCE_LEN); in wps_build_registrar_nonce() 388 wpabuf_put_data(msg, hash, WPS_KWA_LEN); in wps_build_key_wrap_auth() 450 wpabuf_put_data(msg, pubkey_hash, WPS_OOB_PUBKEY_HASH_LEN); in wps_build_oob_dev_pw() 455 wpabuf_put_data(msg, dev_pw, dev_pw_len); in wps_build_oob_dev_pw() 485 wpabuf_put_data(ie, pos, frag_len); in wps_ie_encapsulate() 501 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()
|
/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 | 344 wpabuf_put_data(data->outbuf, id->token, sizeof(id->token)); in eap_pwd_perform_id_exchange() 346 wpabuf_put_data(data->outbuf, data->id_peer, data->id_peer_len); in eap_pwd_perform_id_exchange() 847 wpabuf_put_data(data->outbuf, conf, SHA256_MAC_LEN); in eap_pwd_perform_confirm_exchange() 924 wpabuf_put_data(resp, buf + data->out_frag_pos, len); in eap_pwd_process() 1000 wpabuf_put_data(data->inbuf, pos, len); in eap_pwd_process() 1091 wpabuf_put_data(resp, buf, len); in eap_pwd_process()
|
D | eap_otp.c | 70 wpabuf_put_data(resp, password, password_len); in eap_otp_process()
|
/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 | ext_password_test.c | 67 wpabuf_put_data(buf, pos, pos2 - pos); in ext_password_test_get()
|
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()
|
/external/wpa_supplicant_8/src/eap_server/ |
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_gpsk.c | 133 wpabuf_put_data(req, sm->cfg->server_id, sm->cfg->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->cfg->server_id, sm->cfg->server_id_len); in eap_gpsk_build_gpsk_3()
|
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->cfg->server_id, sm->cfg->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 | 231 wpabuf_put_data(req, wpabuf_head_u8(data->tls_out) + data->tls_out_pos, in eap_server_tls_build_msg() 277 wpabuf_put_data(data->tls_in, buf, len); in eap_server_tls_process_cont() 321 wpabuf_put_data(data->tls_in, buf, len); in eap_server_tls_process_fragment()
|
/external/wpa_supplicant_8/src/common/ |
D | dpp_reconfig.c | 31 wpabuf_put_data(msg, hash, SHA256_MAC_LEN); in dpp_build_attr_csign_key_hash() 114 wpabuf_put_data(msg, auth->i_nonce, auth->curve->nonce_len); in dpp_reconfig_build_req() 236 wpabuf_put_data(clear, auth->i_nonce, auth->curve->nonce_len); in dpp_reconfig_build_resp() 241 wpabuf_put_data(clear, auth->r_nonce, auth->curve->nonce_len); in dpp_reconfig_build_resp() 516 wpabuf_put_data(clear, auth->i_nonce, auth->curve->nonce_len); in dpp_reconfig_build_conf() 521 wpabuf_put_data(clear, auth->r_nonce, auth->curve->nonce_len); in dpp_reconfig_build_conf()
|
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/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/wpa_supplicant/ |
D | mesh_mpm.c | 285 wpabuf_put_data(buf, supp_rates, pos - supp_rates); in mesh_mpm_send_plink_action() 288 wpabuf_put_data(buf, conf->rsn_ie, conf->rsn_ie_len); in mesh_mpm_send_plink_action() 293 wpabuf_put_data(buf, conf->meshid, conf->meshid_len); in mesh_mpm_send_plink_action() 313 wpabuf_put_data(buf, conf->meshid, conf->meshid_len); in mesh_mpm_send_plink_action() 360 wpabuf_put_data(buf, ht_capa_oper, pos - ht_capa_oper); in mesh_mpm_send_plink_action() 368 wpabuf_put_data(buf, vht_capa_oper, pos - vht_capa_oper); in mesh_mpm_send_plink_action() 383 wpabuf_put_data(buf, he_capa_oper, pos - he_capa_oper); in mesh_mpm_send_plink_action()
|