Home
last modified time | relevance | path

Searched refs:wpabuf_alloc_copy (Results 1 – 25 of 53) sorted by relevance

123

/freebsd/contrib/wpa/src/ap/
H A Dtaxonomy.c273 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 Dieee802_1x.c948 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 Dgas_query_ap.c372 query->adv_proto = wpabuf_alloc_copy(adv_proto, 2 + adv_proto[1]); in gas_query_rx_initial()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dhs20_supplicant.c618 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 Dinterworking.c2913 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 Dwifi_display.c329 e = wpabuf_alloc_copy(pos, len); in wifi_display_subelem_set_from_ies()
H A Dpasn_supplicant.c728 awork->comeback = wpabuf_alloc_copy(comeback, comeback_len); in wpas_pasn_auth_start()
H A Dgas_query.c420 query->adv_proto = wpabuf_alloc_copy(adv_proto, adv_proto_len); in gas_query_rx_initial()
/freebsd/contrib/wpa/src/utils/
H A Dext_password_file.c118 password = wpabuf_alloc_copy(sep + 1, os_strlen(sep + 1)); in ext_password_file_get()
H A Dwpabuf.h32 struct wpabuf * wpabuf_alloc_copy(const void *data, size_t len);
H A Dwpabuf.c160 struct wpabuf * wpabuf_alloc_copy(const void *data, size_t len) in wpabuf_alloc_copy() function
/freebsd/contrib/wpa/src/wps/
H A Dndef.c102 return wpabuf_alloc_copy(record.payload, in ndef_parse_records()
/freebsd/contrib/wpa/src/tls/
H A Dtlsv1_client.c219 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 Dtlsv1_client_read.c294 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 Dp2p_parse.c620 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 Dp2p_group.c829 group->noa = wpabuf_alloc_copy(noa, noa_len); in p2p_group_notif_noa()
/freebsd/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus_new_handlers_p2p.c2639 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 Dtls_wolfssl.c135 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 Dcrypto_openssl.c2787 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 Dtls_gnutls.c946 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 Dradius_client.c994 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 Deap_server_teap.c493 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 Deap_server_sim.c605 enc = wpabuf_alloc_copy(decoded_id, decoded_id_len); in eap_sim_process_start()
/freebsd/contrib/wpa/src/eap_peer/
H A Deap_teap.c493 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 Dieee802_11_common.c3372 return wpabuf_alloc_copy(data, len); in ieee802_11_defrag()
3374 buf = wpabuf_alloc_copy(data, min_defrag_len - 1); in ieee802_11_defrag()

123