Skip to main content

Module session_cache

Module session_cache 

Source
Expand description

0-RTT Session Resumption

Аналог TLS Session Tickets / QUIC 0-RTT:

  • Первое подключение: полный PQC handshake → сохраняем ResumptionTicket
  • Повторное подключение: ticket → мгновенный 0-RTT (данные в первом пакете)
  • Periodic rekeying через resumption_secret для forward secrecy

LRU eviction для ограничения памяти на IoT.

Structs§

ResumptionTicket
Resumption ticket — stored after a successful handshake. Single-use: SessionCache::try_resume removes the ticket on the first lookup, which is the one-shot anti-replay guarantee for 0-RTT early-data (Phase 4.1).
SessionCache
LRU Session Cache with eviction

Type Aliases§

SessionId
Session ID type