Skip to main content

Module chunks

Module chunks 

Source
Expand description

CRY-02.09 / CRY-02.10 PARTIAL — cookie/relationship-gated admission chunks.

Limits: 16 KiB per flight, 16 chunks, 32 global pending, 2 per admitted locator. Duplicate identical retransmission is CryptoError::Replay and does not extend the deadline. Conflicting bytes at the same index are CryptoError::Conflict. Exact retransmission identity is the SHA-384 of those bytes (raw payload is not retained in the table). The flight digest is SHA-384 of concatenated exact chunk bytes in order. Draft until FND-03 freeze. No security proof is claimed.

Structs§

ChunkFlight
Public snapshot of one pending admission flight.
ChunkTable
Fixed 32-slot pending-flight table. No heap; bodies are digest+length only.

Constants§

MAX_CHUNKS_PER_FLIGHT
Maximum chunks admitted on one flight.
MAX_FLIGHT_BYTES
Maximum concatenated payload bytes admitted on one flight.
MAX_GLOBAL_PENDING
Maximum simultaneously pending flights in the table.
MAX_PER_LOCATOR
Maximum simultaneously pending flights for one locator.

Functions§

duplicate_extends_deadline
Duplicates never extend the admission deadline (CRY-02.10).