/freebsd/contrib/wpa/src/ap/ |
H A D | taxonomy.c | 273 sta->probe_ie_taxonomy = wpabuf_alloc_copy(ie, ie_len); in taxonomy_sta_info_probe_req() 282 info->probe_ie_taxonomy = wpabuf_alloc_copy(ie, ie_len); in taxonomy_hostapd_sta_info_probe_req() 291 sta->assoc_ie_taxonomy = wpabuf_alloc_copy(ie, ie_len); in taxonomy_sta_info_assoc_req()
|
H A D | ieee802_1x.c | 948 sm->eap_if->eapRespData = wpabuf_alloc_copy(eap, len); in handle_eap_response() 979 sm->eap_if->eapRespData = wpabuf_alloc_copy(eap, len); in handle_eap_initiate() 1080 sta->pending_eapol_rx->buf = wpabuf_alloc_copy(buf, len); in ieee802_1x_save_eapol() 1742 cui = wpabuf_alloc_copy(buf, len); in ieee802_1x_update_sta_cui()
|
H A D | gas_query_ap.c | 372 query->adv_proto = wpabuf_alloc_copy(adv_proto, 2 + adv_proto[1]); in gas_query_rx_initial()
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | hs20_supplicant.c | 618 wpabuf_alloc_copy(pos, slen); in hs20_parse_rx_hs20_anqp_resp() 628 wpabuf_alloc_copy(pos, slen); in hs20_parse_rx_hs20_anqp_resp() 644 anqp->hs20_wan_metrics = wpabuf_alloc_copy(pos, slen); in hs20_parse_rx_hs20_anqp_resp() 654 wpabuf_alloc_copy(pos, slen); in hs20_parse_rx_hs20_anqp_resp() 664 wpabuf_alloc_copy(pos, slen); in hs20_parse_rx_hs20_anqp_resp() 674 wpabuf_alloc_copy(pos, slen); in hs20_parse_rx_hs20_anqp_resp() 695 wpabuf_alloc_copy(pos, slen); in hs20_parse_rx_hs20_anqp_resp() 704 wpabuf_alloc_copy(pos, slen); in hs20_parse_rx_hs20_anqp_resp()
|
H A D | interworking.c | 2913 elem->payload = wpabuf_alloc_copy(data, slen); in anqp_add_extra() 2968 anqp->capability_list = wpabuf_alloc_copy(pos, slen); in interworking_parse_rx_anqp_resp() 2977 anqp->venue_name = wpabuf_alloc_copy(pos, slen); in interworking_parse_rx_anqp_resp() 2988 anqp->network_auth_type = wpabuf_alloc_copy(pos, slen); in interworking_parse_rx_anqp_resp() 2998 anqp->roaming_consortium = wpabuf_alloc_copy(pos, slen); in interworking_parse_rx_anqp_resp() 3010 wpabuf_alloc_copy(pos, slen); in interworking_parse_rx_anqp_resp() 3019 anqp->nai_realm = wpabuf_alloc_copy(pos, slen); in interworking_parse_rx_anqp_resp() 3029 anqp->anqp_3gpp = wpabuf_alloc_copy(pos, slen); in interworking_parse_rx_anqp_resp() 3038 anqp->domain_name = wpabuf_alloc_copy(pos, slen); in interworking_parse_rx_anqp_resp() 3049 anqp->fils_realm_info = wpabuf_alloc_copy(pos, slen); in interworking_parse_rx_anqp_resp()
|
H A D | wifi_display.c | 329 e = wpabuf_alloc_copy(pos, len); in wifi_display_subelem_set_from_ies()
|
H A D | pasn_supplicant.c | 728 awork->comeback = wpabuf_alloc_copy(comeback, comeback_len); in wpas_pasn_auth_start()
|
H A D | gas_query.c | 420 query->adv_proto = wpabuf_alloc_copy(adv_proto, adv_proto_len); in gas_query_rx_initial()
|
/freebsd/contrib/wpa/src/utils/ |
H A D | ext_password_file.c | 118 password = wpabuf_alloc_copy(sep + 1, os_strlen(sep + 1)); in ext_password_file_get()
|
H A D | wpabuf.h | 32 struct wpabuf * wpabuf_alloc_copy(const void *data, size_t len);
|
H A D | wpabuf.c | 160 struct wpabuf * wpabuf_alloc_copy(const void *data, size_t len) in wpabuf_alloc_copy() function
|
/freebsd/contrib/wpa/src/wps/ |
H A D | ndef.c | 102 return wpabuf_alloc_copy(record.payload, in ndef_parse_records()
|
/freebsd/contrib/wpa/src/tls/ |
H A D | tlsv1_client.c | 219 partial = wpabuf_alloc_copy(pos, end - pos); in tlsv1_client_handshake() 376 partial = wpabuf_alloc_copy(pos, in_end - pos); in tlsv1_client_decrypt()
|
H A D | tlsv1_client_read.c | 294 cert_buf = wpabuf_alloc_copy(cert->cert_start, in tls_peer_cert_event() 346 cert_buf = wpabuf_alloc_copy(cert->cert_start, in tls_cert_chain_failure_event()
|
/freebsd/contrib/wpa/src/p2p/ |
H A D | p2p_parse.c | 620 msg->wps_attributes = wpabuf_alloc_copy(wsc, wsc_len); in p2p_parse_ies_separate() 627 msg->p2p_attributes = wpabuf_alloc_copy(p2p, p2p_len); in p2p_parse_ies_separate()
|
H A D | p2p_group.c | 829 group->noa = wpabuf_alloc_copy(noa, noa_len); in p2p_group_notif_noa()
|
/freebsd/contrib/wpa/wpa_supplicant/dbus/ |
H A D | dbus_new_handlers_p2p.c | 2639 vals[i] = wpabuf_alloc_copy(val, len); in wpas_dbus_setter_p2p_group_vendor_ext() 2755 query = wpabuf_alloc_copy( in wpas_dbus_handler_p2p_add_service() 2762 resp = wpabuf_alloc_copy(entry.bytearray_value, in wpas_dbus_handler_p2p_add_service() 2841 query = wpabuf_alloc_copy(entry.bytearray_value, in wpas_dbus_handler_p2p_delete_service() 2929 tlv = wpabuf_alloc_copy(entry.bytearray_value, in wpas_dbus_handler_p2p_service_sd_req() 3016 tlv = wpabuf_alloc_copy(entry.bytearray_value, in wpas_dbus_handler_p2p_service_sd_res()
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | tls_wolfssl.c | 135 out->out_data = wpabuf_alloc_copy("", 0); in wolfssl_reset_out_data() 172 tmp = wpabuf_alloc_copy(buf, sz); in wolfssl_send_cb() 849 buf = wpabuf_alloc_copy(data, cert_len); in get_x509_cert()
|
H A D | crypto_openssl.c | 2787 buf = wpabuf_alloc_copy(pub + 1, inc_y ? len - 1 : len / 2); in crypto_ecdh_get_pubkey() 3554 buf = wpabuf_alloc_copy(pdata, pdata_len); in crypto_ec_key_get_subject_public_key() 3617 ret = wpabuf_alloc_copy(der, der_len); in crypto_ec_key_get_subject_public_key() 3644 buf = wpabuf_alloc_copy(der, der_len); in crypto_ec_key_get_subject_public_key() 3688 buf = wpabuf_alloc_copy(pdata, pdata_len); in crypto_ec_key_get_ecprivate_key() 3716 buf = wpabuf_alloc_copy(der, der_len); in crypto_ec_key_get_ecprivate_key() 4431 buf = wpabuf_alloc_copy(der, der_len); in crypto_csr_sign()
|
H A D | tls_gnutls.c | 946 cert_buf = wpabuf_alloc_copy(cert->data, cert->size); in gnutls_tls_fail_event() 1309 cert_buf = wpabuf_alloc_copy(certs[i].data, in tls_connection_verify_peer()
|
/freebsd/contrib/wpa/src/radius/ |
H A D | radius_client.c | 994 in = wpabuf_alloc_copy(buf, len); in radius_client_process_tls_handshake() 1158 in = wpabuf_alloc_copy(buf, len); in radius_client_receive()
|
/freebsd/contrib/wpa/src/eap_server/ |
H A D | eap_server_teap.c | 493 data->server_outer_tlvs = wpabuf_alloc_copy(start, end - start); in eap_teap_build_start() 1995 data->peer_outer_tlvs = wpabuf_alloc_copy(pos, outer_tlv_len); in eap_teap_process()
|
H A D | eap_server_sim.c | 605 enc = wpabuf_alloc_copy(decoded_id, decoded_id_len); in eap_sim_process_start()
|
/freebsd/contrib/wpa/src/eap_peer/ |
H A D | eap_teap.c | 493 data->pending_phase2_req = wpabuf_alloc_copy(hdr, len); in eap_teap_phase2_request() 1683 data->server_outer_tlvs = wpabuf_alloc_copy(outer_pos, in eap_teap_process_start()
|
/freebsd/contrib/wpa/src/common/ |
H A D | ieee802_11_common.c | 3372 return wpabuf_alloc_copy(data, len); in ieee802_11_defrag() 3374 buf = wpabuf_alloc_copy(data, min_defrag_len - 1); in ieee802_11_defrag()
|