1#ifndef QUIC_KUSWITCH_TWOGEN_H
2#define QUIC_KUSWITCH_TWOGEN_H
23void quic_kuswitch_init(
28void quic_kuswitch_rotate(
34int quic_kuswitch_key_for_phase(
RFC 9001 5.2: Initial packet protection keys derived from the client's Destination Connection ID.
One direction's packet protection keys (RFC 9001 5.1/5.2).
Definition initial.h:28
RFC 9001 6.3/6.5 two-generation key state: the current 1-RTT keys and, once a Key Update has happened...
Definition twogen.h:15
int have_old
1 while old is populated and retained
Definition twogen.h:19
quic_initial_keys old
prior generation's keys (valid when have_old)
Definition twogen.h:17
u64 generation
current send/receive generation, starts at 0
Definition twogen.h:18
quic_initial_keys cur
current generation's keys
Definition twogen.h:16
unsigned long u64
unsigned 64-bit integer
Definition syscall.h:12