Expand description
CRY-02.08 PARTIAL — bind negotiation to cached authorized peer/realm minima.
Only qpr-pq-1 (PROFILE_QPR_PQ_1) is admitted as the initial profile.
Stripped/missing offers, classical offers, unknown profiles, revoked cache
entries, and any offered profile below the cached minimum fail closed.
automatic_classical_retry is false; there is no classical fallback.
Domain labels for the admitted profile live in
[crate::crypto::network::pq_handshake::{qlink_domain, qsession_domain}].
Classical-only authority is never enough
(crate::crypto::network::pq_handshake::classical_only_authority_is_enough).
Draft until FND-03 freeze. Alternate proof pairs, cookie admission chunks, and independent vectors remain open. No security proof is claimed.
Structs§
- Minima
Cache - Fixed 8-slot cache of authorized peer/realm minima. No heap.
- Peer
Minima - Cached authorized peer/realm minimum.
min_profilemust bePROFILE_QPR_PQ_1forselect_profileto admit.
Constants§
- MAX_
CACHED_ MINIMA - Occupied minima slots. An 9th distinct
(peer, realm)isCryptoError::Capacity. - PROFILE_
CLASSICAL - Classical-only profile. Forbidden as a selected result (maps to Downgrade).
- PROFILE_
QPR_ PQ_ 1 - Native PQ initial profile
qpr-pq-1. The only admitted selected result.
Functions§
- automatic_
classical_ retry - Negotiation never retries a classical-only profile automatically.
- select_
profile - Select a profile given cached minima and an offered profile.