Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_8/src/ap/
Dneighbor_db.c138 entry->nr = wpabuf_dup(nr); in hostapd_neighbor_set()
143 entry->lci = wpabuf_dup(lci); in hostapd_neighbor_set()
149 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()
1745 p->msg = wpabuf_dup(msg); in hostapd_rx_req_put_wlan_response()
2087 wpabuf_dup(hapd->conf->wps_nfc_dh_pubkey); in hostapd_wps_nfc_hs_cr()
2089 wpabuf_dup(hapd->conf->wps_nfc_dh_privkey); in hostapd_wps_nfc_hs_cr()
2242 wps->ap_nfc_dh_pubkey = wpabuf_dup(hapd->conf->wps_nfc_dh_pubkey); in hostapd_wps_nfc_token_enable()
2243 wps->ap_nfc_dh_privkey = wpabuf_dup(hapd->conf->wps_nfc_dh_privkey); in hostapd_wps_nfc_token_enable()
/external/wpa_supplicant_8/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()
Dwps_enrollee.c506 wps->last_msg = wpabuf_dup(msg); in wps_enrollee_get_msg()
1357 wps->last_msg = wpabuf_dup(msg); in wps_process_wsc_msg()
/external/wpa_supplicant_8/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
/external/wpa_supplicant_8/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.c856 dev->info.wfd_subelems = wpabuf_dup(msg.wfd_subelems); in p2p_add_device()
1742 dev->info.wfd_subelems = wpabuf_dup(msg->wfd_subelems); in p2p_add_dev_info()
2098 dev->info.wfd_subelems = wpabuf_dup(msg.wfd_subelems); in p2p_add_dev_from_probe_req()
3208 p2p->wps_vendor_ext[i] = wpabuf_dup(vendor_ext); in p2p_add_wps_vendor_extension()
5138 p2p->wfd_dev_info = wpabuf_dup(elem); in p2p_set_wfd_dev_info()
5152 p2p->wfd_r2_dev_info = wpabuf_dup(elem); in p2p_set_wfd_r2_dev_info()
5166 p2p->wfd_assoc_bssid = wpabuf_dup(elem); in p2p_set_wfd_assoc_bssid()
5181 p2p->wfd_coupled_sink_info = wpabuf_dup(elem); in p2p_set_wfd_coupled_sink_info()
Dp2p_pd.c607 dev->info.wfd_subelems = wpabuf_dup(msg.wfd_subelems); in p2p_process_prov_disc_req()
1355 dev->info.wfd_subelems = wpabuf_dup(msg.wfd_subelems); in p2p_process_prov_disc_resp()
/external/wpa_supplicant_8/wpa_supplicant/
Dwps_supplicant.c1552 wpabuf_dup(wpa_s->conf->wps_vendor_ext_m1); in wpas_wps_set_vendor_ext_m1()
2385 wps->dh_privkey = wpabuf_dup(wpa_s->conf->wps_nfc_dh_privkey); in wpas_wps_start_nfc()
2386 wps->dh_pubkey = wpabuf_dup(wpa_s->conf->wps_nfc_dh_pubkey); in wpas_wps_start_nfc()
2598 wps->ap_nfc_dh_pubkey = wpabuf_dup(wpa_s->conf->wps_nfc_dh_pubkey); in wpas_wps_er_nfc_handover_sel()
2599 wps->ap_nfc_dh_privkey = wpabuf_dup(wpa_s->conf->wps_nfc_dh_privkey); in wpas_wps_er_nfc_handover_sel()
Dap.c681 wpabuf_dup(wpa_s->conf->ap_vendor_elements); in wpa_supplicant_conf_ap()
1613 wps->dh_privkey = wpabuf_dup( in wpas_ap_wps_add_nfc_pw()
1615 wps->dh_pubkey = wpabuf_dup( in wpas_ap_wps_add_nfc_pw()
Dbss.c73 #define ANQP_DUP(f) if (anqp->f) n->f = wpabuf_dup(anqp->f) in wpa_bss_anqp_clone()
Dp2p_supplicant.c2155 d->wps_nfc_dh_privkey = wpabuf_dup(s->wps_nfc_dh_privkey); in wpas_p2p_clone_config()
2156 d->wps_nfc_dh_pubkey = wpabuf_dup(s->wps_nfc_dh_pubkey); in wpas_p2p_clone_config()
2722 lwork->probe_resp_ie = wpabuf_dup(probe_resp_ie); in wpas_start_listen()
9309 wpa_s->p2p_oob_dev_pw = wpabuf_dup(wpa_s->conf->wps_nfc_dev_pw); in wpas_p2p_nfc_tag_enabled()
9352 wpabuf_dup(wpa_s->conf->wps_nfc_dh_pubkey); in wpas_p2p_nfc_tag_enabled()
9355 wpabuf_dup(wpa_s->conf->wps_nfc_dh_privkey); in wpas_p2p_nfc_tag_enabled()
9358 wpabuf_dup(wpa_s->conf->wps_nfc_dev_pw); in wpas_p2p_nfc_tag_enabled()
/external/wpa_supplicant_8/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()
Deap_mschapv2.c760 data->prev_challenge = wpabuf_dup(reqData); in eap_mschapv2_copy_challenge()
Deap_tls_common.c555 data->tls_in = wpabuf_dup(in_data); in eap_peer_tls_data_reassemble()
Deap.c966 sm->lastRespData = wpabuf_dup(sm->eapRespData); in SM_STATE()
1034 sm->eapRespData = wpabuf_dup(sm->lastRespData); in SM_STATE()
/external/wpa_supplicant_8/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()
Deap_server.c118 *dst = wpabuf_dup(src); in eap_copy_buf()
1868 sm->assoc_wps_ie = wpabuf_dup(sess->assoc_wps_ie); in eap_server_sm_init()
1870 sm->assoc_p2p_ie = wpabuf_dup(sess->assoc_p2p_ie); in eap_server_sm_init()
Deap_server_eke.c229 data->msgs = wpabuf_dup(msg); in eap_eke_build_identity()
/external/wpa_supplicant_8/src/crypto/
Dtls_gnutls.c1466 conn->pull_buf = wpabuf_dup(in_data); in tls_connection_handshake()
1611 conn->pull_buf = wpabuf_dup(in_data); in tls_connection_decrypt()
/external/wpa_supplicant_8/src/drivers/
Ddriver_atheros.c1046 drv->wps_beacon_ie = beacon ? wpabuf_dup(beacon) : NULL; in atheros_set_ap_wps_ie()
1048 drv->wps_probe_resp_ie = proberesp ? wpabuf_dup(proberesp) : NULL; in atheros_set_ap_wps_ie()

12