ESP-IDF
os_memdup()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
os_memdup()
os_memdup() function
Syntax
Show:
Summary
Declaration
Definition
from
common.h:461
void
*
os_memdup
(
const
void
*
src
,
size_t
len
)
;
Implemented in
common.c:520
Arguments
Argument
src
len
Examples
References
from
examples
Code
Location
Referrer
void
*
os_memdup
(
const
void
*
src
,
size_t
len
)
common.c:520
void
*
os_memdup
(
const
void
*
src
,
size_t
len
)
;
common.h:461
buf
=
os_memdup
(
addr
[
i
]
,
len
[
i
]
)
;
aes-siv.c:98
aes_s2v()
*
dst
=
os_memdup
(
src
,
src_len
)
;
eap.c:931
eap_copy_buf()
key
=
os_memdup
(
data
->
key_data
,
EAP_FAST_KEY_LEN
)
;
eap_fast.c:1738
eap_fast_getKey()
id
=
os_memdup
(
data
->
session_id
,
data
->
id_len
)
;
eap_fast.c:1756
eap_fast_get_session_id()
key
=
os_memdup
(
data
->
emsk
,
EAP_EMSK_LEN
)
;
eap_fast.c:1774
eap_fast_get_emsk()
*
dst
=
os_memdup
(
src
,
src_len
)
;
eap_fast_pac.c:118
eap_fast_copy_buf()
pac
->
a_id
=
os_memdup
(
pos
,
len
)
;
eap_fast_pac.c:727
eap_fast_pac_get_a_id()
pac
->
a_id_info
=
os_memdup
(
pos
,
len
)
;
eap_fast_pac.c:735
eap_fast_pac_get_a_id()
pac
->
pac_opaque
=
os_memdup
(
pos
,
pac
->
pac_opaque_len
)
;
eap_fast_pac.c:826
eap_fast_load_pac_bin()
pac
->
pac_info
=
os_memdup
(
pos
,
pac
->
pac_info_len
)
;
eap_fast_pac.c:837
eap_fast_load_pac_bin()
data
->
peer_challenge
=
os_memdup
(
sm
->
peer_challenge
,
eap_mschapv2.c:107
eap_mschapv2_init()
data
->
auth_challenge
=
os_memdup
(
sm
->
auth_challenge
,
eap_mschapv2.c:116
eap_mschapv2_init()
key
=
os_memdup
(
data
->
key_data
+
EAP_TLS_KEY_LEN
,
EAP_EMSK_LEN
)
;
eap_peap.c:1433
eap_peap_get_emsk()
dst
->
eap_req_id_text
=
os_memdup
(
src
->
eap_req_id_text
,
eapol_auth_sm.c:1181
eapol_auth_conf_clone()
user
->
password
=
os_memdup
(
eap_user
->
password
,
ieee802_1x.c:367
ieee802_1x_get_eap_user()
conn
->
dh_p
=
os_memdup
(
pos
,
conn
->
dh_p_len
)
;
tlsv1_client_read.c:701
tlsv1_process_diffie_hellman()
conn
->
dh_g
=
os_memdup
(
pos
,
conn
->
dh_g_len
)
;
tlsv1_client_read.c:715
tlsv1_process_diffie_hellman()
conn
->
dh_ys
=
os_memdup
(
pos
,
conn
->
dh_ys_len
)
;
tlsv1_client_read.c:731
tlsv1_process_diffie_hellman()
cred
->
dh_p
=
os_memdup
(
hdr
.
payload
,
hdr
.
length
)
;
tlsv1_cred.c:1106
tlsv1_set_dhparams_der()
cred
->
dh_g
=
os_memdup
(
hdr
.
payload
,
hdr
.
length
)
;
tlsv1_cred.c:1123
tlsv1_set_dhparams_der()
sm
->
ap_rsnxe
=
os_memdup
(
ie
,
len
)
;
wpa.c:2729
wpa_sm_set_ap_rsnxe()
sm
->
assoc_rsnxe
=
os_memdup
(
ie
,
len
)
;
wpa.c:2761
wpa_sm_set_assoc_rsnxe()
data
->
dev_password
=
os_memdup
(
cfg
->
pin
,
cfg
->
pin_len
)
;
wps.c:54
wps_init()
p
->
pin
=
os_memdup
(
pin
,
pin_len
)
;
wps_registrar.c:804
wps_registrar_add_pin()
wps
->
dev_password
=
os_memdup
(
pin
,
pin_len
)
;
wps_registrar.c:1452
wps_get_dev_password()
os_memdup
(
multi_ap_backhaul_network_key
,
wps_registrar.c:3703
wps_registrar_update_multi_ap()
cert
->
public_key
=
os_memdup
(
pos
+
1
,
hdr
.
length
-
1
)
;
x509v3.c:271
x509_parse_public_key()
name
->
ip
=
os_memdup
(
pos
,
len
)
;
x509v3.c:951
x509_parse_alt_name_ip()
cert
->
sign_value
=
os_memdup
(
pos
+
1
,
hdr
.
length
-
1
)
;
x509v3.c:1810
x509_certificate_parse()
Call Tree
from
examples
os_memdup()
is called by 23 functions and calls 1 function:
ieee802_1x_get_eap_user()
aes_s2v()
eap_copy_buf()
eap_mschapv2_init()
eap_peap_get_emsk()
eap_fast_getKey()
eap_fast_get_session_id()
eap_fast_get_emsk()
eap_fast_copy_buf()
eap_fast_pac_get_a_id()
eap_fast_load_pac_bin()
wpa_sm_set_ap_rsnxe()
wpa_sm_set_assoc_rsnxe()
wps_init()
tlsv1_process_diffie_hellman()
tlsv1_set_dhparams_der()
x509_parse_public_key()
x509_parse_alt_name_ip()
x509_certificate_parse()
eapol_auth_conf_clone()
wps_registrar_add_pin()
wps_get_dev_password()
wps_registrar_update_multi_ap()
All items filtered out
os_memdup()
malloc()
All items filtered out
Data Use
from
examples
os_memdup()
:
All items filtered out
os_memdup()
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