/freebsd/contrib/wpa/src/wps/ |
H A D | wps_attr_build.c | 36 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 D | wps_upnp_event.c | 410 e->data = wpabuf_dup(data); in wps_upnp_event_add()
|
H A D | wps_enrollee.c | 506 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 D | neighbor_db.c | 144 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 D | pmksa_cache_auth.c | 162 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 D | wps_hostapd.c | 1038 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 D | wpa_auth_glue.c | 189 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 D | nan_de.c | 1246 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 D | wpabuf.h | 33 struct wpabuf * wpabuf_dup(const struct wpabuf *src);
|
H A D | wpabuf.c | 169 struct wpabuf * wpabuf_dup(const struct wpabuf *src) in wpabuf_dup() function
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | ap.c | 814 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 D | wps_supplicant.c | 1576 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 D | nan_usd.c | 146 twork->buf = wpabuf_dup(buf); in wpas_nan_de_tx()
|
H A D | p2p_supplicant_sd.c | 1216 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 D | p2p_sd.c | 449 p2p->sd_resp = wpabuf_dup(resp_tlvs); in p2p_sd_response() 893 q->tlvs = wpabuf_dup(tlvs); in p2p_sd_request()
|
H A D | p2p_group.c | 467 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 D | p2p.c | 869 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 D | p2p_pd.c | 619 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 D | ikev2.c | 805 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 D | eap_mschapv2.c | 766 data->prev_challenge = wpabuf_dup(reqData); in eap_mschapv2_copy_challenge()
|
H A D | eap_tls_common.c | 564 data->tls_in = wpabuf_dup(in_data); in eap_peer_tls_data_reassemble()
|
/freebsd/contrib/wpa/src/eap_server/ |
H A D | ikev2.c | 868 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 D | eap_server.c | 118 *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 D | eap_server_eke.c | 229 data->msgs = wpabuf_dup(msg); in eap_eke_build_identity()
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | tls_gnutls.c | 1466 conn->pull_buf = wpabuf_dup(in_data); in tls_connection_handshake() 1611 conn->pull_buf = wpabuf_dup(in_data); in tls_connection_decrypt()
|