pub const DEFAULT_MAX_ENTRIES: usize = 4096;Expand description
Default ceiling on retained bindings.
Recording costs an attacker only a self-minted Ed25519 + ML-DSA-65 keypair —
no enrollment, no credential, no prior relationship — and the verify path
runs before authorization, so an unbounded map is a memory-exhaustion
surface. At the ceiling the least-recently-seen first-contact entry is
evicted rather than the new one refused; see
SessionPqOverlay::observe_first_contact for why refusing is the worse
failure. Promoted bindings are never evicted.