Home
last modified time | relevance | path

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

12

/freebsd/contrib/wpa/src/wps/
H A 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()
H A Dwps_upnp_event.c410 e->data = wpabuf_dup(data); in wps_upnp_event_add()
H A Dwps_enrollee.c506 wps->last_msg = wpabuf_dup(msg); in wps_enrollee_get_msg()
1355 wps->last_msg = wpabuf_dup(msg); in wps_process_wsc_msg()
/freebsd/contrib/wpa/src/ap/
H A Dneighbor_db.c144 entry->nr = wpabuf_dup(nr); in hostapd_neighbor_set()
149 entry->lci = wpabuf_dup(lci); in hostapd_neighbor_set()
155 entry->civic = wpabuf_dup(civic); in hostapd_neighbor_set()
H A Dpmksa_cache_auth.c162 entry->cui = wpabuf_dup(eapol->radius_cui); in pmksa_cache_from_eapol_data()
204 eapol->radius_cui = wpabuf_dup(entry->cui); in pmksa_cache_to_eapol_data()
426 entry->cui = wpabuf_dup(old_entry->cui); in pmksa_cache_add_okc()
H A 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()
1753 p->msg = wpabuf_dup(msg); in hostapd_rx_req_put_wlan_response()
2100 wpabuf_dup(hapd->conf->wps_nfc_dh_pubkey); in hostapd_wps_nfc_hs_cr()
2102 wpabuf_dup(hapd->conf->wps_nfc_dh_privkey); in hostapd_wps_nfc_hs_cr()
2255 wps->ap_nfc_dh_pubkey = wpabuf_dup(hapd->conf->wps_nfc_dh_pubkey); in hostapd_wps_nfc_token_enable()
2256 wps->ap_nfc_dh_privkey = wpabuf_dup(hapd->conf->wps_nfc_dh_privkey); in hostapd_wps_nfc_token_enable()
H A Dwpa_auth_glue.c189 wconf->eapol_m1_elements = wpabuf_dup(conf->eapol_m1_elements); in hostapd_wpa_auth_conf()
191 wconf->eapol_m3_elements = wpabuf_dup(conf->eapol_m3_elements); in hostapd_wpa_auth_conf()
/freebsd/contrib/wpa/src/common/
H A Dnan_de.c1246 srv->ssi = wpabuf_dup(ssi); in nan_de_publish()
1251 srv->elems = wpabuf_dup(elems); in nan_de_publish()
1305 srv->ssi = wpabuf_dup(ssi); in nan_de_update_publish()
1342 srv->ssi = wpabuf_dup(ssi); in nan_de_subscribe()
1347 srv->elems = wpabuf_dup(elems); in nan_de_subscribe()
/freebsd/contrib/wpa/src/utils/
H A Dwpabuf.h33 struct wpabuf * wpabuf_dup(const struct wpabuf *src);
H A Dwpabuf.c169 struct wpabuf * wpabuf_dup(const struct wpabuf *src) in wpabuf_dup() function
/freebsd/contrib/wpa/wpa_supplicant/
H A Dap.c814 wpabuf_dup(wpa_s->conf->ap_vendor_elements); in wpa_supplicant_conf_ap()
818 wpabuf_dup(wpa_s->conf->ap_assocresp_elements); in wpa_supplicant_conf_ap()
1945 wps->dh_privkey = wpabuf_dup( in wpas_ap_wps_add_nfc_pw()
1947 wps->dh_pubkey = wpabuf_dup( in wpas_ap_wps_add_nfc_pw()
2081 wpabuf_dup(wpa_s->conf->ap_assocresp_elements); in wpas_ap_update_beacon()
2088 wpabuf_dup(wpa_s->conf->ap_vendor_elements); in wpas_ap_update_beacon()
H A Dwps_supplicant.c1576 wpabuf_dup(wpa_s->conf->wps_vendor_ext_m1); in wpas_wps_set_vendor_ext_m1()
2426 wps->dh_privkey = wpabuf_dup(wpa_s->conf->wps_nfc_dh_privkey); in wpas_wps_start_nfc()
2427 wps->dh_pubkey = wpabuf_dup(wpa_s->conf->wps_nfc_dh_pubkey); in wpas_wps_start_nfc()
2639 wps->ap_nfc_dh_pubkey = wpabuf_dup(wpa_s->conf->wps_nfc_dh_pubkey); in wpas_wps_er_nfc_handover_sel()
2640 wps->ap_nfc_dh_privkey = wpabuf_dup(wpa_s->conf->wps_nfc_dh_privkey); in wpas_wps_er_nfc_handover_sel()
H A Dnan_usd.c146 twork->buf = wpabuf_dup(buf); in wpas_nan_de_tx()
H A Dp2p_supplicant_sd.c1216 bsrv->query = wpabuf_dup(query); in wpas_p2p_service_add_bonjour()
1219 bsrv->resp = wpabuf_dup(resp); in wpas_p2p_service_add_bonjour()
/freebsd/contrib/wpa/src/p2p/
H A Dp2p_sd.c449 p2p->sd_resp = wpabuf_dup(resp_tlvs); in p2p_sd_response()
893 q->tlvs = wpabuf_dup(tlvs); in p2p_sd_request()
H A 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()
H A Dp2p.c869 dev->info.wfd_subelems = wpabuf_dup(msg.wfd_subelems); in p2p_add_device()
1780 dev->info.wfd_subelems = wpabuf_dup(msg->wfd_subelems); in p2p_add_dev_info()
2136 dev->info.wfd_subelems = wpabuf_dup(msg.wfd_subelems); in p2p_add_dev_from_probe_req()
3243 p2p->wps_vendor_ext[i] = wpabuf_dup(vendor_ext); in p2p_add_wps_vendor_extension()
5182 p2p->wfd_dev_info = wpabuf_dup(elem); in p2p_set_wfd_dev_info()
5196 p2p->wfd_r2_dev_info = wpabuf_dup(elem); in p2p_set_wfd_r2_dev_info()
5210 p2p->wfd_assoc_bssid = wpabuf_dup(elem); in p2p_set_wfd_assoc_bssid()
5225 p2p->wfd_coupled_sink_info = wpabuf_dup(elem); in p2p_set_wfd_coupled_sink_info()
H A Dp2p_pd.c619 dev->info.wfd_subelems = wpabuf_dup(msg.wfd_subelems); in p2p_process_prov_disc_req()
1368 dev->info.wfd_subelems = wpabuf_dup(msg.wfd_subelems); in p2p_process_prov_disc_resp()
/freebsd/contrib/wpa/src/eap_peer/
H A 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()
H A Deap_mschapv2.c766 data->prev_challenge = wpabuf_dup(reqData); in eap_mschapv2_copy_challenge()
H A Deap_tls_common.c564 data->tls_in = wpabuf_dup(in_data); in eap_peer_tls_data_reassemble()
/freebsd/contrib/wpa/src/eap_server/
H A 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()
H A 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()
H A Deap_server_eke.c229 data->msgs = wpabuf_dup(msg); in eap_eke_build_identity()
/freebsd/contrib/wpa/src/crypto/
H A 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()

12