Skip to main content

Module minima

Module minima 

Source
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§

MinimaCache
Fixed 8-slot cache of authorized peer/realm minima. No heap.
PeerMinima
Cached authorized peer/realm minimum. min_profile must be PROFILE_QPR_PQ_1 for select_profile to admit.

Constants§

MAX_CACHED_MINIMA
Occupied minima slots. An 9th distinct (peer, realm) is CryptoError::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.