Home
last modified time | relevance | path

Searched refs:wpabuf_dup (Results 1 – 25 of 73) sorted by relevance

123

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dneighbor_db.c84 entry->nr = wpabuf_dup(nr); in hostapd_neighbor_set()
89 entry->lci = wpabuf_dup(lci); in hostapd_neighbor_set()
95 entry->civic = wpabuf_dup(civic); in hostapd_neighbor_set()
Dpmksa_cache_auth.c159 entry->cui = wpabuf_dup(eapol->radius_cui); in pmksa_cache_from_eapol_data()
201 eapol->radius_cui = wpabuf_dup(entry->cui); in pmksa_cache_to_eapol_data()
419 entry->cui = wpabuf_dup(old_entry->cui); in pmksa_cache_add_okc()
Dwps_hostapd.c984 wpabuf_dup(hapd->conf->wps_vendor_ext[i]); in hostapd_wps_set_vendor_ext()
1567 p->msg = wpabuf_dup(msg); in hostapd_rx_req_put_wlan_response()
1905 wpabuf_dup(hapd->conf->wps_nfc_dh_pubkey); in hostapd_wps_nfc_hs_cr()
1907 wpabuf_dup(hapd->conf->wps_nfc_dh_privkey); in hostapd_wps_nfc_hs_cr()
2060 wps->ap_nfc_dh_pubkey = wpabuf_dup(hapd->conf->wps_nfc_dh_pubkey); in hostapd_wps_nfc_token_enable()
2061 wps->ap_nfc_dh_privkey = wpabuf_dup(hapd->conf->wps_nfc_dh_privkey); in hostapd_wps_nfc_token_enable()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dwps_attr_build.c36 wps->dh_privkey = wpabuf_dup(wps->wps->dh_privkey); in wps_build_public_key()
39 pubkey = wpabuf_dup(wps->wps->dh_pubkey); in wps_build_public_key()
61 wps->dh_privkey = wpabuf_dup(wps->wps->ap_nfc_dh_privkey); in wps_build_public_key()
62 pubkey = wpabuf_dup(wps->wps->ap_nfc_dh_pubkey); in wps_build_public_key()
Dwps_upnp_event.c408 e->data = wpabuf_dup(data); in event_add()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dwps_attr_build.c36 wps->dh_privkey = wpabuf_dup(wps->wps->dh_privkey); in wps_build_public_key()
39 pubkey = wpabuf_dup(wps->wps->dh_pubkey); in wps_build_public_key()
61 wps->dh_privkey = wpabuf_dup(wps->wps->ap_nfc_dh_privkey); in wps_build_public_key()
62 pubkey = wpabuf_dup(wps->wps->ap_nfc_dh_pubkey); in wps_build_public_key()
Dwps_upnp_event.c410 e->data = wpabuf_dup(data); in wps_upnp_event_add()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dneighbor_db.c141 entry->nr = wpabuf_dup(nr); in hostapd_neighbor_set()
146 entry->lci = wpabuf_dup(lci); in hostapd_neighbor_set()
152 entry->civic = wpabuf_dup(civic); in hostapd_neighbor_set()
Dpmksa_cache_auth.c159 entry->cui = wpabuf_dup(eapol->radius_cui); in pmksa_cache_from_eapol_data()
201 eapol->radius_cui = wpabuf_dup(entry->cui); in pmksa_cache_to_eapol_data()
419 entry->cui = wpabuf_dup(old_entry->cui); in pmksa_cache_add_okc()
Dwps_hostapd.c1038 wpabuf_dup(hapd->conf->wps_vendor_ext[i]); in hostapd_wps_set_vendor_ext()
1060 wps->dev.application_ext = wpabuf_dup(hapd->conf->wps_application_ext); in hostapd_wps_set_application_ext()
1752 p->msg = wpabuf_dup(msg); in hostapd_rx_req_put_wlan_response()
2099 wpabuf_dup(hapd->conf->wps_nfc_dh_pubkey); in hostapd_wps_nfc_hs_cr()
2101 wpabuf_dup(hapd->conf->wps_nfc_dh_privkey); in hostapd_wps_nfc_hs_cr()
2254 wps->ap_nfc_dh_pubkey = wpabuf_dup(hapd->conf->wps_nfc_dh_pubkey); in hostapd_wps_nfc_token_enable()
2255 wps->ap_nfc_dh_privkey = wpabuf_dup(hapd->conf->wps_nfc_dh_privkey); in hostapd_wps_nfc_token_enable()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dwpabuf.h33 struct wpabuf * wpabuf_dup(const struct wpabuf *src);
Dwpabuf.c169 struct wpabuf * wpabuf_dup(const struct wpabuf *src) in wpabuf_dup() function
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dwpabuf.h33 struct wpabuf * wpabuf_dup(const struct wpabuf *src);
Dwpabuf.c169 struct wpabuf * wpabuf_dup(const struct wpabuf *src) in wpabuf_dup() function
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dap.c773 wpabuf_dup(wpa_s->conf->ap_vendor_elements); in wpa_supplicant_conf_ap()
777 wpabuf_dup(wpa_s->conf->ap_assocresp_elements); in wpa_supplicant_conf_ap()
1706 wps->dh_privkey = wpabuf_dup( in wpas_ap_wps_add_nfc_pw()
1708 wps->dh_pubkey = wpabuf_dup( in wpas_ap_wps_add_nfc_pw()
1842 wpabuf_dup(wpa_s->conf->ap_assocresp_elements); in wpas_ap_update_beacon()
1849 wpabuf_dup(wpa_s->conf->ap_vendor_elements); in wpas_ap_update_beacon()
Dwps_supplicant.c1557 wpabuf_dup(wpa_s->conf->wps_vendor_ext_m1); in wpas_wps_set_vendor_ext_m1()
2390 wps->dh_privkey = wpabuf_dup(wpa_s->conf->wps_nfc_dh_privkey); in wpas_wps_start_nfc()
2391 wps->dh_pubkey = wpabuf_dup(wpa_s->conf->wps_nfc_dh_pubkey); in wpas_wps_start_nfc()
2603 wps->ap_nfc_dh_pubkey = wpabuf_dup(wpa_s->conf->wps_nfc_dh_pubkey); in wpas_wps_er_nfc_handover_sel()
2604 wps->ap_nfc_dh_privkey = wpabuf_dup(wpa_s->conf->wps_nfc_dh_privkey); in wpas_wps_er_nfc_handover_sel()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
Dp2p_sd.c451 p2p->sd_resp = wpabuf_dup(resp_tlvs); in p2p_sd_response()
886 q->tlvs = wpabuf_dup(tlvs); in p2p_sd_request()
Dp2p_group.c467 extra = wpabuf_dup(group->p2p->vendor_elem[VENDOR_ELEM_PROBE_RESP_P2P_GO]); in p2p_group_build_probe_resp_ie()
473 struct wpabuf *wfd = wpabuf_dup(group->wfd_ie); in p2p_group_build_probe_resp_ie()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
Dp2p_sd.c451 p2p->sd_resp = wpabuf_dup(resp_tlvs); in p2p_sd_response()
886 q->tlvs = wpabuf_dup(tlvs); in p2p_sd_request()
Dp2p_group.c467 extra = wpabuf_dup(group->p2p->vendor_elem[VENDOR_ELEM_PROBE_RESP_P2P_GO]); in p2p_group_build_probe_resp_ie()
473 struct wpabuf *wfd = wpabuf_dup(group->wfd_ie); in p2p_group_build_probe_resp_ie()
Dp2p.c851 dev->info.wfd_subelems = wpabuf_dup(msg.wfd_subelems); in p2p_add_device()
1731 dev->info.wfd_subelems = wpabuf_dup(msg->wfd_subelems); in p2p_add_dev_info()
2082 dev->info.wfd_subelems = wpabuf_dup(msg.wfd_subelems); in p2p_add_dev_from_probe_req()
3184 p2p->wps_vendor_ext[i] = wpabuf_dup(vendor_ext); in p2p_add_wps_vendor_extension()
5105 p2p->wfd_dev_info = wpabuf_dup(elem); in p2p_set_wfd_dev_info()
5119 p2p->wfd_r2_dev_info = wpabuf_dup(elem); in p2p_set_wfd_r2_dev_info()
5133 p2p->wfd_assoc_bssid = wpabuf_dup(elem); in p2p_set_wfd_assoc_bssid()
5148 p2p->wfd_coupled_sink_info = wpabuf_dup(elem); in p2p_set_wfd_coupled_sink_info()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dwps_supplicant.c1534 wpabuf_dup(wpa_s->conf->wps_vendor_ext_m1); in wpas_wps_set_vendor_ext_m1()
2340 wps->dh_privkey = wpabuf_dup(wpa_s->conf->wps_nfc_dh_privkey); in wpas_wps_start_nfc()
2341 wps->dh_pubkey = wpabuf_dup(wpa_s->conf->wps_nfc_dh_pubkey); in wpas_wps_start_nfc()
2553 wps->ap_nfc_dh_pubkey = wpabuf_dup(wpa_s->conf->wps_nfc_dh_pubkey); in wpas_wps_er_nfc_handover_sel()
2554 wps->ap_nfc_dh_privkey = wpabuf_dup(wpa_s->conf->wps_nfc_dh_privkey); in wpas_wps_er_nfc_handover_sel()
Dap.c574 wpabuf_dup(wpa_s->conf->ap_vendor_elements); in wpa_supplicant_conf_ap()
1473 wps->dh_privkey = wpabuf_dup( in wpas_ap_wps_add_nfc_pw()
1475 wps->dh_pubkey = wpabuf_dup( in wpas_ap_wps_add_nfc_pw()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Dikev2.c805 data->i_sign_msg = wpabuf_dup(buf); in ikev2_responder_process()
1135 data->r_sign_msg = wpabuf_dup(msg); in ikev2_build_sa_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Dikev2.c868 data->r_sign_msg = wpabuf_dup(buf); in ikev2_initiator_process()
1118 data->i_sign_msg = wpabuf_dup(msg); in ikev2_build_sa_init()

123