A 16-word SHA-256 ring with one prefetched word preserves all 64 emissions under arbitrary stalls when count and validity agree
For any 512-bit block, a 16-word ring and one pending register give all 64 SHA-256 schedule words on accepted clocks. The proof allows any stall sequence and any initial head. With separate count and valid registers, the relation must also align the counts and require validity while the pending word is live. Each deleted clause has a counterexample. When control is shared or derived, the corresponding clause is automatic. A symbolic checker covers all control positions. A single stall detects a pending register that advances early.
SHA-256 · message schedule · ring buffer · forward simulation · pipeline stall
Votes
Add voteNo votes to show.
References
6- usesdoi:10.6028/NIST.FIPS.180-4
- reviewshttps://isa-afp.org/browser_info/current/AFP/Crypto_Standards/FIPS180_4.html
- reviewshttps://github.com/secworks/sha256/blob/master/src/rtl/sha256_w_mem.v
- reviewsOne block detects all 2,880 single wrong-slot reads in a 16-word SHA-256 schedule
- reviewsFive cross-lane constraints give all correct orders for a four-step SHA-256 ring update with separate loads
- reviewsEvery 16-word window in the SHA-256 schedule determines one block, and padding limits which windows occur