mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-06-24 14:20:59 +08:00
improve comments of new session ticket
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
1a160703f8
commit
0069abc141
@ -3262,12 +3262,13 @@ static int ssl_tls13_write_nst_early_data_ext(mbedtls_ssl_context *ssl,
|
|||||||
* The following fields are placed inside the ticket by the
|
* The following fields are placed inside the ticket by the
|
||||||
* f_ticket_write() function:
|
* f_ticket_write() function:
|
||||||
*
|
*
|
||||||
* - creation time (start)
|
* - creation time (ticket_creation_time)
|
||||||
* - flags (flags)
|
* - flags (ticket_flags)
|
||||||
* - age add (ticket_age_add)
|
* - age add (ticket_age_add)
|
||||||
* - key (key)
|
* - key (resumption_key)
|
||||||
* - key length (key_len)
|
* - key length (resumption_key_len)
|
||||||
* - ciphersuite (ciphersuite)
|
* - ciphersuite (ciphersuite)
|
||||||
|
* - max_early_data_size (max_early_data_size)
|
||||||
*/
|
*/
|
||||||
MBEDTLS_CHECK_RETURN_CRITICAL
|
MBEDTLS_CHECK_RETURN_CRITICAL
|
||||||
static int ssl_tls13_write_new_session_ticket_body(mbedtls_ssl_context *ssl,
|
static int ssl_tls13_write_new_session_ticket_body(mbedtls_ssl_context *ssl,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user