1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Implement key rotation

This commit is contained in:
Manuel Pégourié-Gonnard
2015-05-25 14:07:08 +02:00
parent 887674a33b
commit 1e9c4db524
2 changed files with 68 additions and 10 deletions

View File

@ -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 */