Skip to main content

Module packet_protection

Module packet_protection 

Source
Expand description

Packet protection: directional keys, AEAD, packet numbers and replay (E02.3).

Authenticate before updating the receive window or exposing plaintext. install_update retains the immediately previous generation (keys + packet space) so in-flight packets can open during overlap (E02.4 / E09.6).

Structs§

PacketProtection

Constants§

MAX_PROTECTED_BODY
Bounded stack scratch for open. Caller still supplies out.
OVERHEAD
PN_LEN