ESP-IDF
random_get_bytes
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (3/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
random_get_bytes
random_get_bytes macro
Syntax
Show:
Summary
Declaration
from
random.h:16
#define
random_get_bytes
(
b
,
l
)
os_get_random
(
(
b
)
,
(
l
)
)
Arguments
Argument
b
l
Examples
References
from
examples
Code
Location
#define
random_get_bytes
(
b
,
l
)
os_get_random
(
(
b
)
,
(
l
)
)
random.h:16
if
(
random_get_bytes
(
comeback_key
,
COMEBACK_KEY_SIZE
)
<
0
)
{
comeback_token.c:90
return
random_get_bytes
(
buf
,
len
)
;
crypto_mbedtls-bignum.c:21
return
random_get_bytes
(
buf
,
len
)
;
crypto_mbedtls-ec.c:41
if
(
random_get_bytes
(
wpabuf_put
(
*
priv
,
dh
->
prime_len
)
,
dh
->
prime_len
)
)
dh_groups.c:1206
if
(
random_get_bytes
(
auth
->
i_nonce
,
nonce_len
)
)
{
dpp.c:1122
if
(
random_get_bytes
(
auth
->
e_nonce
,
nonce_len
)
)
{
dpp.c:1226
if
(
random_get_bytes
(
auth
->
r_nonce
,
nonce_len
)
)
{
dpp.c:1473
}
else
if
(
random_get_bytes
(
peer_challenge
,
MSCHAPV2_CHAL_LEN
)
)
{
eap_mschapv2.c:179
if
(
random_get_bytes
(
cp
->
peer_challenge
,
MSCHAPV2_CHAL_LEN
)
)
eap_mschapv2.c:540
random_get_bytes
(
stub_password
,
password_len
)
<
0
)
sae.c:301
if
(
random_get_bytes
(
conn
->
client_random
+
4
,
TLS_RANDOM_LEN
-
4
)
)
{
tlsv1_client_write.c:67
if
(
random_get_bytes
(
csecret
,
csecret_len
)
)
{
tlsv1_client_write.c:361
if
(
random_get_bytes
(
sm
->
ANonce
,
WPA_NONCE_LEN
)
)
{
wpa_auth.c:1460
if
(
random_get_bytes
(
sm
->
snonce
,
WPA_NONCE_LEN
)
)
{
wpa_ft.c:366
if
(
random_get_bytes
(
sm
->
snonce
,
WPA_NONCE_LEN
)
)
{
wpa_ft.c:883
if
(
random_get_bytes
(
iv
,
block_size
)
<
0
)
wps_attr_build.c:416
if
(
random_get_bytes
(
(
unsigned
char
*
)
&
val
,
sizeof
(
val
)
)
<
0
)
wps_common.c:252
if
(
random_get_bytes
(
wps
->
snonce
,
2
*
WPS_SECRET_NONCE_LEN
)
<
0
)
wps_enrollee.c:43
if
(
random_get_bytes
(
wps
->
nonce_e
,
WPS_NONCE_LEN
)
<
0
)
wps_enrollee.c:112
if
(
random_get_bytes
(
wps
->
snonce
,
2
*
WPS_SECRET_NONCE_LEN
)
<
0
)
wps_registrar.c:1477
if
(
random_get_bytes
(
wps
->
nonce_r
,
WPS_NONCE_LEN
)
<
0
)
wps_registrar.c:1906
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
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