|
wired
libc-free QUIC/HTTP3 SDK in C for x86_64-linux
|
One direction's packet protection keys (RFC 9001 5.1/5.2). More...
#include <initial.h>
Data Fields | |
| u8 | key [QUIC_AEAD_KEY_MAX] |
| AEAD packet protection key. | |
| u8 | iv [QUIC_INITIAL_IV] |
| AEAD IV. | |
| u8 | hp [QUIC_AEAD_KEY_MAX] |
| header protection key | |
One direction's packet protection keys (RFC 9001 5.1/5.2).
key/hp are sized for the largest supported AEAD (ChaCha20-Poly1305); a suite that uses fewer bytes (AES-128-GCM) simply leaves the tail unused.