Sphinx packet geometry #
Every fixed byte offset of the header, routing-info, and packet layout, computed from a hop count, a payload size, and a NIKE or KEM.
- packetLength : ℕ
- nrHops : ℕ
- headerLength : ℕ
- routingInfoLength : ℕ
- perHopRoutingInfoLength : ℕ
- surbLength : ℕ
- sphinxPlaintextHeaderLength : ℕ
- payloadTagLength : ℕ
- forwardPayloadLength : ℕ
- userForwardPayloadLength : ℕ
- nextNodeHopLength : ℕ
- sprpKeyMaterialLength : ℕ
- nikeName : String
The NIKE scheme name; empty for a KEM geometry.
- kemName : String
The KEM scheme name; empty for a NIKE geometry.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Geometry for a NIKE named nikeSchemeName, with the given user payload length.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Geometry for a KEM named kemSchemeName, with the given user payload length.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Geometry for a NIKE whose total packet length is targetPacketLength. Fails if it is smaller
than the fixed overhead.
Equations
- One or more equations did not get rendered due to their size.
Instances For
As ofNIKETargetSize, for a KEM.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Checks that exactly one scheme name is set, that it names a registered scheme, and that the header dimensions are nonzero.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
geom has the field values buildNIKE gives for nike.
Equations
- One or more equations did not get rendered due to their size.
Instances For
geom has the field values buildKEM gives for kem.
Equations
- One or more equations did not get rendered due to their size.
Instances For
As ofNIKE, for a NIKE given directly rather than by name. label is only stored.
Equations
- One or more equations did not get rendered due to their size.
Instances For
ofNIKEWith nike is valid for nike.
ofNIKEWith sets payloadTagLength.
As ofNIKEWith, for a KEM.
Equations
- One or more equations did not get rendered due to their size.
Instances For
ofNIKETargetSize produces a geometry with exactly the target packet length.
As ofNIKETargetSize_packetLength, for a KEM.