1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +03:00

TLS1.3: add writing encrypted extensions

Signed-off-by: Xiaofei Bai <xiaofei.bai@arm.com>
This commit is contained in:
Xiaofei Bai
2022-02-15 10:00:56 +00:00
committed by Jerry Yu
parent eecd0d2fc3
commit cba64af50d
2 changed files with 192 additions and 0 deletions

View File

@ -809,6 +809,14 @@ struct mbedtls_ssl_handshake_params
size_t digest_len;
} finished_in;
#if defined(MBEDTLS_SSL_SRV_C)
/* Server, outgoing ClientKeyExchange */
struct
{
uint8_t preparation_done;
} encrypted_extensions_out;
#endif /* MBEDTLS_SSL_SRV_C */
} state_local;
/* End of state-local variables. */