mbedTLS
mbedtls_ssl_handshake_params::cookie
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
ESP-IDF Framework and Examples
mbedTLS
mbedtls_ssl_handshake_params::cookie
mbedtls_ssl_handshake_params::cookie field
HelloVerifyRequest cookie for DTLS HelloRetryRequest cookie for TLS 1.3
Syntax
Show:
Summary
Declaration
from
ssl_misc.h:866
unsigned
char
*
cookie
;
Examples
References
from
examples
Code
Location
Referrer
unsigned
char
*
cookie
;
/*!< HelloVerifyRequest cookie for DTLS
ssl_misc.h:866
if
(
handshake
->
cookie
!=
NULL
)
{
ssl_client.c:527
ssl_write_client_hello_body()
memcpy
(
p
,
handshake
->
cookie
,
cookie_len
)
;
ssl_client.c:537
ssl_write_client_hello_body()
(
ssl
->
handshake
->
cookie
==
NULL
)
)
ssl_client.c:792
ssl_prepare_client_hello()
mbedtls_free
(
handshake
->
cookie
)
;
ssl_tls.c:4882
mbedtls_ssl_handshake_free()
mbedtls_free
(
ssl
->
handshake
->
cookie
)
;
ssl_tls12_client.c:1154
ssl_parse_hello_verify_request()
ssl
->
handshake
->
cookie
=
mbedtls_calloc
(
1
,
cookie_len
)
;
ssl_tls12_client.c:1156
ssl_parse_hello_verify_request()
if
(
ssl
->
handshake
->
cookie
==
NULL
)
{
ssl_tls12_client.c:1157
ssl_parse_hello_verify_request()
memcpy
(
ssl
->
handshake
->
cookie
,
p
,
cookie_len
)
;
ssl_tls12_client.c:1162
ssl_parse_hello_verify_request()
mbedtls_free
(
ssl
->
handshake
->
cookie
)
;
ssl_tls12_client.c:1241
ssl_parse_server_hello()
ssl
->
handshake
->
cookie
=
NULL
;
ssl_tls12_client.c:1242
ssl_parse_server_hello()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mbedtls_ssl_handshake_params::cookie
is written by 2 functions and is read by 5 functions:
ssl_parse_hello_verify_request()
ssl_parse_server_hello()
All items filtered out
mbedtls_ssl_handshake_params::cookie
ssl_write_client_hello_body()
ssl_prepare_client_hello()
mbedtls_ssl_handshake_free()
ssl_parse_hello_verify_request()
ssl_parse_server_hello()
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