Expand description
Public command, message-stream, pass-request, result, flag, and error encodings shared by the core, simulator, and FPGA shell.
Structs§
- Ed25519
Command - One top-level Ed25519 operation request.
- Ed25519
Result - Held top-level operation result and instrumentation counters.
- Message
Word - One ready/valid message transfer containing up to eight bytes.
- Pass
Request - Request from the hash feeder for a contiguous message segment.
Constants§
- ERROR_
INVALID_ OP - The command operation encoding is unsupported.
- ERROR_
MALFORMED_ POINT - A compressed public key or signature point is not a canonical curve point.
- ERROR_
MISSING_ KEY - Cached-key signing was requested before a key was cached.
- ERROR_
NONE - Successful operation.
- ERROR_
NON_ CANONICAL_ SCALAR - Signature scalar
Sis greater than or equal to the group order. - ERROR_
SMALL_ ORDER - A decoded public key or signature point has small order.
- ERROR_
STREAM_ FRAMING - Message
keep,last, or byte count disagrees with the requested pass. - ERROR_
VERIFY_ EQUATION - The strict Ed25519 verification equation does not hold.
- FLAG_
STRICT_ VERIFY - Request strict Dalek-compatible point/scalar verification checks.
- FLAG_
USE_ CACHED_ KEY - Sign using the core’s retained expanded key instead of the command seed.
- OP_
CLEAR_ KEY - Invalidate and zeroize the retained expanded signing key.
- OP_
DERIVE_ PUBLIC_ KEY - Derive a compressed public key from an RFC 8032 32-byte seed.
- OP_SIGN
- Sign a streamed message.
- OP_
VERIFY - Strictly verify a streamed message and signature.
Functions§
- empty_
command - Return a zero-initialized command suitable for an idle input.
- empty_
pass_ request - Return a deasserted replay request.
- empty_
result - Return a deasserted, successful-code result with zero payload and counters.