mbedTLS
mbedtls_ssl_config::p_rng
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (2/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
mbedTLS
mbedtls_ssl_config::p_rng
mbedtls_ssl_config::p_rng field
Syntax
Show:
Summary
Declaration
from
ssl.h:1499
void
*
MBEDTLS_PRIVATE
(
p_rng
;
Examples
References
from
examples
Code
Location
Referrer
void
*
MBEDTLS_PRIVATE
(
p_rng
)
;
/*!< context for the RNG function */
ssl.h:1499
ret
=
ssl
->
conf
->
f_rng
(
ssl
->
conf
->
p_rng
,
ssl_client.c:729
ssl_generate_random()
ret
=
ssl
->
conf
->
f_rng
(
ssl
->
conf
->
p_rng
,
ssl_client.c:871
ssl_prepare_client_hello()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
)
)
!=
0
)
{
ssl_msg.c:2987
mbedtls_ssl_write_record()
conf
->
p_rng
=
p_rng
;
ssl_tls.c:1662
mbedtls_ssl_conf_rng()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
)
)
!=
0
)
{
ssl_tls.c:7440
mbedtls_ssl_psk_derive_premaster()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
)
;
ssl_tls12_client.c:180
ssl_write_ecjpake_kkpp_ext()
if
(
(
ret
=
ssl
->
conf
->
f_rng
(
ssl
->
conf
->
p_rng
,
p
+
2
,
46
)
)
!=
0
)
{
ssl_tls12_client.c:1936
ssl_write_encrypted_pms()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
)
)
!=
0
)
{
ssl_tls12_client.c:1966
ssl_write_encrypted_pms()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
)
;
ssl_tls12_client.c:2729
ssl_write_client_key_exchange()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
)
)
!=
0
)
{
ssl_tls12_client.c:2742
ssl_write_client_key_exchange()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
)
;
ssl_tls12_client.c:2849
ssl_write_client_key_exchange()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
)
)
!=
0
)
{
ssl_tls12_client.c:2878
ssl_write_client_key_exchange()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
)
;
ssl_tls12_client.c:3119
ssl_write_client_key_exchange()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
)
;
ssl_tls12_client.c:3176
ssl_write_client_key_exchange()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
)
;
ssl_tls12_client.c:3184
ssl_write_client_key_exchange()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
,
rs_ctx
)
)
!=
0
)
{
ssl_tls12_client.c:3346
ssl_write_certificate_verify()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
)
;
ssl_tls12_server.c:1965
ssl_write_ecjpake_kkpp_ext()
if
(
(
ret
=
ssl
->
conf
->
f_rng
(
ssl
->
conf
->
p_rng
,
p
,
20
)
)
!=
0
)
{
ssl_tls12_server.c:2214
ssl_write_server_hello()
if
(
(
ret
=
ssl
->
conf
->
f_rng
(
ssl
->
conf
->
p_rng
,
p
,
8
)
)
!=
0
)
{
ssl_tls12_server.c:2240
ssl_write_server_hello()
if
(
(
ret
=
ssl
->
conf
->
f_rng
(
ssl
->
conf
->
p_rng
,
ssl
->
session_negotiate
->
id
,
ssl_tls12_server.c:2271
ssl_write_server_hello()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
)
;
ssl_tls12_server.c:2879
ssl_prepare_server_key_exchange()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
)
)
!=
0
)
{
ssl_tls12_server.c:2938
ssl_prepare_server_key_exchange()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
)
)
!=
0
)
{
ssl_tls12_server.c:3092
ssl_prepare_server_key_exchange()
ssl
->
conf
->
p_rng
)
)
!=
0
)
{
ssl_tls12_server.c:3232
ssl_prepare_server_key_exchange()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
)
;
ssl_tls12_server.c:3521
ssl_decrypt_encrypted_pms()
ret
=
ssl
->
conf
->
f_rng
(
ssl
->
conf
->
p_rng
,
fake_pms
,
sizeof
(
fake_pms
)
)
;
ssl_tls12_server.c:3579
ssl_parse_encrypted_pms()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
)
)
!=
0
)
{
ssl_tls12_server.c:3720
ssl_parse_client_key_exchange()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
)
)
!=
0
)
{
ssl_tls12_server.c:3811
ssl_parse_client_key_exchange()
ssl
->
conf
->
f_rng
,
ssl
->
conf
->
p_rng
)
;
ssl_tls12_server.c:4059
ssl_parse_client_key_exchange()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mbedtls_ssl_config::p_rng
is written by 1 function and is read by 14 functions:
mbedtls_ssl_conf_rng()
All items filtered out
mbedtls_ssl_config::p_rng
ssl_generate_random()
ssl_prepare_client_hello()
mbedtls_ssl_write_record()
mbedtls_ssl_psk_derive_premaster()
ssl_write_ecjpake_kkpp_ext()
ssl_write_encrypted_pms()
ssl_write_client_key_exchange()
ssl_write_certificate_verify()
ssl_write_ecjpake_kkpp_ext()
ssl_write_server_hello()
ssl_prepare_server_key_exchange()
ssl_decrypt_encrypted_pms()
ssl_parse_encrypted_pms()
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