mbedTLS
mbedtls_ssl_handshake_params::randbytes
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_handshake_params::randbytes
mbedtls_ssl_handshake_params::randbytes field
random bytes
Syntax
Show:
Summary
Declaration
from
ssl_internal.h:392
unsigned
char
randbytes
[
64
]
;
Examples
References
from
examples
Code
Location
Referrer
unsigned
char
randbytes
[
64
]
;
/*!< random bytes */
ssl_internal.h:392
unsigned
char
*
p
=
ssl
->
handshake
->
randbytes
;
ssl_cli.c:680
ssl_generate_random()
memcpy
(
p
,
ssl
->
handshake
->
randbytes
,
32
)
;
ssl_cli.c:820
ssl_write_client_hello()
memcpy
(
ssl
->
handshake
->
randbytes
+
32
,
buf
+
2
,
32
)
;
ssl_cli.c:1606
ssl_parse_server_hello()
memcpy
(
ssl
->
handshake
->
randbytes
,
buf
+
2
,
32
)
;
ssl_srv.c:1498
ssl_parse_client_hello()
memcpy
(
ssl
->
handshake
->
randbytes
+
32
,
buf
+
6
,
32
)
;
ssl_srv.c:2473
ssl_write_server_hello()
handshake
->
randbytes
,
64
,
ssl_tls.c:753
mbedtls_ssl_derive_keys()
memcpy
(
tmp
,
handshake
->
randbytes
,
64
)
;
ssl_tls.c:770
mbedtls_ssl_derive_keys()
memcpy
(
handshake
->
randbytes
,
tmp
+
32
,
32
)
;
ssl_tls.c:771
mbedtls_ssl_derive_keys()
memcpy
(
handshake
->
randbytes
+
32
,
tmp
,
32
)
;
ssl_tls.c:772
mbedtls_ssl_derive_keys()
handshake
->
randbytes
,
64
,
keyblk
,
256
)
;
ssl_tls.c:788
mbedtls_ssl_derive_keys()
mbedtls_platform_zeroize
(
handshake
->
randbytes
,
ssl_tls.c:801
mbedtls_ssl_derive_keys()
sizeof
(
handshake
->
randbytes
)
)
;
ssl_tls.c:802
mbedtls_ssl_derive_keys()
if
(
(
ret
=
mbedtls_md_update
(
&
ctx
,
ssl
->
handshake
->
randbytes
,
64
)
)
!=
0
)
ssl_tls.c:9760
mbedtls_ssl_get_key_exchange_md_tls1_2()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mbedtls_ssl_handshake_params::randbytes
is read by 7 functions:
All items filtered out
mbedtls_ssl_handshake_params::randbytes
ssl_generate_random()
ssl_write_client_hello()
ssl_parse_server_hello()
ssl_parse_client_hello()
ssl_write_server_hello()
mbedtls_ssl_derive_keys()
mbedtls_ssl_get_key_exchange_md_tls1_2()
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