wired
libc-free QUIC/HTTP3 SDK in C for x86_64-linux
Loading...
Searching...
No Matches
quic_kuswitch_state Struct Reference

RFC 9001 6.3/6.5 two-generation key state: the current 1-RTT keys and, once a Key Update has happened, the immediately prior generation's keys (retained so packets still in flight under the old key keep decrypting until the retention period ends). More...

#include <twogen.h>

Data Fields

quic_initial_keys cur
 current generation's keys
quic_initial_keys old
 prior generation's keys (valid when have_old)
u64 generation
 current send/receive generation, starts at 0
int have_old
 1 while old is populated and retained

Detailed Description

RFC 9001 6.3/6.5 two-generation key state: the current 1-RTT keys and, once a Key Update has happened, the immediately prior generation's keys (retained so packets still in flight under the old key keep decrypting until the retention period ends).


The documentation for this struct was generated from the following file: