ESP-IDF
wpabuf_alloc_copy()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (3/5)...
Files
loading (4/5)...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
wpabuf_alloc_copy()
wpabuf_alloc_copy() function
Syntax
Show:
Summary
Declaration
Definition
from
wpabuf.h:38
struct
wpabuf
*
wpabuf_alloc_copy
(
const
void
*
data
,
size_t
len
)
;
Implemented in
wpabuf.c:163
Arguments
Argument
data
len
Examples
References
from
examples
Code
Location
Referrer
struct
wpabuf
*
wpabuf_alloc_copy
(
const
void
*
data
,
size_t
len
)
wpabuf.c:163
struct
wpabuf
*
wpabuf_alloc_copy
(
const
void
*
data
,
size_t
len
)
;
wpabuf.h:38
ret
=
wpabuf_alloc_copy
(
der
,
der_len
)
;
crypto_mbedtls-ec.c:1051
crypto_ec_key_get_subject_public_key()
public_key
=
wpabuf_alloc_copy
(
buf
,
32
)
;
crypto_mbedtls-ec.c:1148
crypto_ecdh_get_pubkey()
sh_secret
=
wpabuf_alloc_copy
(
secret
,
len_secret
)
;
crypto_mbedtls-ec.c:1246
crypto_ecdh_set_peerkey()
conf
->
c_sign_key
=
wpabuf_alloc_copy
(
der
,
der_len
)
;
dpp.c:4138
dpp_copy_csign()
auth
->
net_access_key
=
wpabuf_alloc_copy
(
der
,
der_len
)
;
dpp.c:4151
dpp_copy_netaccesskey()
data
->
pending_phase2_req
=
wpabuf_alloc_copy
(
hdr
,
len
)
;
eap_fast.c:489
eap_fast_phase2_request()
data
->
pending_phase2_req
=
wpabuf_alloc_copy
(
hdr
,
len
)
;
eap_peap.c:800
eap_peap_phase2_request()
req
=
wpabuf_alloc_copy
(
(
u8
*
)
ehdr
,
len
-
sizeof
(
*
hdr
)
)
;
esp_eap_client.c:575
eap_sm_rx_eapol_internal()
g_sae_token
=
wpabuf_alloc_copy
(
buf
+
5
,
len
-
5
)
;
esp_wpa3.c:322
wpa3_parse_sae_commit()
g_sae_token
=
wpabuf_alloc_copy
(
buf
+
2
,
len
-
2
)
;
esp_wpa3.c:324
wpa3_parse_sae_commit()
struct
wpabuf
*
buf
=
wpabuf_alloc_copy
(
scan
->
wps
+
6
,
scan
->
wps
[
1
]
-
4
)
;
esp_wps.c:406
wps_parse_scan_result()
wps_buf
=
wpabuf_alloc_copy
(
tbuf
,
tlen
)
;
esp_wps.c:662
wps_process_wps_mX_req()
data
=
wpabuf_alloc_copy
(
pos
,
2
)
;
ieee802_11.c:658
handle_auth_sae()
sm
->
eap_if
->
eapRespData
=
wpabuf_alloc_copy
(
eap
,
len
)
;
ieee802_1x.c:87
handle_eap_response()
local_buf
=
wpabuf_alloc_copy
(
wpabuf_mhead_u8
(
data
->
in_data
)
+
len
,
tls_mbedtls.c:151
tls_mbedtls_read()
out
=
wpabuf_alloc_copy
(
buf
,
ret
)
;
tls_mbedtls.c:895
tls_connection_decrypt()
partial
=
wpabuf_alloc_copy
(
pos
,
end
-
pos
)
;
tlsv1_client.c:219
tlsv1_client_handshake()
partial
=
wpabuf_alloc_copy
(
pos
,
in_end
-
pos
)
;
tlsv1_client.c:376
tlsv1_client_decrypt()
cert_buf
=
wpabuf_alloc_copy
(
cert
->
cert_start
,
tlsv1_client_read.c:297
tls_peer_cert_event()
wps
->
dh_pubkey_r
=
wpabuf_alloc_copy
(
pk
,
pk_len
)
;
wps_enrollee.c:596
wps_process_pubkey()
reg
->
extra_cred
=
wpabuf_alloc_copy
(
cfg
->
extra_cred
,
wps_registrar.c:690
wps_registrar_init()
wps
->
dh_pubkey_e
=
wpabuf_alloc_copy
(
pk
,
pk_len
)
;
wps_registrar.c:2424
wps_process_pubkey()
Call Tree
from
examples
wpabuf_alloc_copy()
is called by 21 functions and calls 2 functions:
handle_eap_response()
handle_auth_sae()
eap_peap_phase2_request()
eap_fast_phase2_request()
wps_process_pubkey()
eap_sm_rx_eapol_internal()
wps_parse_scan_result()
wps_process_wps_mX_req()
wpa3_parse_sae_commit()
tls_mbedtls_read()
tls_connection_decrypt()
crypto_ec_key_get_subject_public_key()
crypto_ecdh_get_pubkey()
crypto_ecdh_set_peerkey()
tlsv1_client_handshake()
tlsv1_client_decrypt()
tls_peer_cert_event()
dpp_copy_csign()
dpp_copy_netaccesskey()
wps_registrar_init()
wps_process_pubkey()
All items filtered out
wpabuf_alloc_copy()
wpabuf_put_data()
wpabuf_alloc()
All items filtered out
Data Use
from
examples
wpabuf_alloc_copy()
:
All items filtered out
wpabuf_alloc_copy()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out