mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Implement key rotation
This commit is contained in:
parent
887674a33b
commit
1e9c4db524
2 changed files with 68 additions and 10 deletions
|
|
@ -52,6 +52,7 @@ mbedtls_ssl_ticket_key;
|
|||
typedef struct
|
||||
{
|
||||
mbedtls_ssl_ticket_key keys[2]; /*!< ticket protection keys */
|
||||
unsigned char active; /*!< index of the currently active key */
|
||||
|
||||
uint32_t ticket_lifetime; /*!< lifetime of tickets in seconds */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue