Expand description
Streaming SHA-512 input assembly and the 4 KiB message replay cache.
HashFeederEngine combines an internal crate::sha512::Sha512Engine
with prefix selection, 64-bit message-word framing, logical/external byte
counters, and signing-pass replay requests.
Structs§
- Hash
Feeder Engine - Message-to-SHA adapter with one 4096-byte synchronous BRAM cache.
- Hash
Feeder In - Hash-feeder command and external message input.
- Hash
Feeder Out - Hash-feeder response, replay request, digest, and traffic counters.
- Hash
Feeder Regs - Registered word-unpacking, cache-address, framing, and counter state.
Enums§
- Hash
Feeder State - External, replay, SHA-wait, and completion states.
Constants§
- HASH_
SOURCE_ CACHE_ TAIL - Replay the 4 KiB cache, then request an external tail at offset 4096.
- HASH_
SOURCE_ EXTERNAL - Read the complete message externally without caching it.
- HASH_
SOURCE_ EXTERNAL_ CACHE - Read an external message and cache its first 4 KiB.
- HASH_
SOURCE_ INTERNAL - Hash only the internal prefix; the logical message length must be zero.
Functions§
- hash_
feeder_ engine_ kernel - Next-state/output kernel for
HashFeederEngine.