mbedTLS
mbedtls_ssl_config::f_rng
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
STM32 Libraries and Samples
mbedTLS
mbedtls_ssl_config::f_rng
mbedtls_ssl_config::f_rng field
Callback for getting (pseudo-)random numbers
Syntax
Show:
Summary
Declaration
from
ssl.h:842
int
(
*
f_rng
)
(
void
*
,
unsigned
char
*
,
size_t
)
;
Examples
References
from
examples
Code
Location
Referrer
int
(
*
f_rng
)
(
void
*
,
unsigned
char
*
,
size_t
)
;
ssl.h:842
if
(
(
ret
=
ssl
->
conf
->
f_rng
(
ssl
->
conf
->
p_rng
,
p
,
4
)
)
!=
0
)
ssl_cli.c:705
ssl_generate_random()
if
(
(
ret
=
ssl
->
conf
->
f_rng
(
ssl
->
conf
->
p_rng
,
p
,
28
)
)
!=
0
)
ssl_cli.c:711
ssl_generate_random()
if
(
ssl
->
conf
->
f_rng
==
NULL
)
ssl_cli.c:776
ssl_write_client_hello()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
)
;
ssl_cli.c:2966
ssl_write_client_key_exchange()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
)
)
!=
0
)
ssl_cli.c:2995
ssl_write_client_key_exchange()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
,
rs_ctx
)
)
!=
0
)
ssl_cli.c:3358
ssl_write_certificate_verify()
if
(
ssl
->
conf
->
f_rng
==
NULL
)
ssl_srv.c:2430
ssl_write_server_hello()
if
(
(
ret
=
ssl
->
conf
->
f_rng
(
ssl
->
conf
->
p_rng
,
p
,
4
)
)
!=
0
)
ssl_srv.c:2462
ssl_write_server_hello()
if
(
(
ret
=
ssl
->
conf
->
f_rng
(
ssl
->
conf
->
p_rng
,
p
,
28
)
)
!=
0
)
ssl_srv.c:2468
ssl_write_server_hello()
if
(
(
ret
=
ssl
->
conf
->
f_rng
(
ssl
->
conf
->
p_rng
,
ssl
->
session_negotiate
->
id
,
ssl_srv.c:2516
ssl_write_server_hello()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
)
)
!=
0
)
ssl_srv.c:3062
ssl_prepare_server_key_exchange()
ssl
->
conf
->
f_rng
,
ssl_srv.c:3246
ssl_prepare_server_key_exchange()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
)
)
!=
0
)
ssl_srv.c:3805
ssl_parse_client_key_exchange()
conf
->
f_rng
=
f_rng
;
ssl_tls.c:7123
mbedtls_ssl_conf_rng()
Call Tree
from
examples
mbedtls_ssl_config::f_rng
is called by 2 functions:
ssl_generate_random()
ssl_write_server_hello()
All items filtered out
mbedtls_ssl_config::f_rng
All items filtered out
Data Use
from
examples
mbedtls_ssl_config::f_rng
is written by 1 function and is read by 6 functions:
mbedtls_ssl_conf_rng()
All items filtered out
mbedtls_ssl_config::f_rng
ssl_write_client_hello()
ssl_write_client_key_exchange()
ssl_write_certificate_verify()
ssl_write_server_hello()
ssl_prepare_server_key_exchange()
ssl_parse_client_key_exchange()
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