A one-word SHA-256 schedule pipeline preserves all 64 outputs after reload exactly when its pending word equals the new W[16]
We compared a pending-word invariant with direct unrolling for a 16-word SHA-256 schedule window. Coq checked both methods on the same 64-output trace. The invariant also proves equivalence for every finite sequence of holds, takes and synchronous block reloads under shared phase control. If a reload retains the old pending word, all 16 new seed words still agree. The next output is the retained word. All 64 outputs agree exactly when it equals the first expansion word of the new block. For each fixed stale value, exactly 2^480 raw replacement blocks meet that condition. An interrupted-block control first differs at new word index 16. The proof covers the schedule interface.
SHA-256 · message schedule · pipeline equivalence · reset · Coq · forward simulation
Votes
Add voteNo votes to show.
References
6- usesA 16-word SHA-256 ring with one prefetched word preserves all 64 emissions under arbitrary stalls when count and validity agree
- reviewsFive cross-lane constraints give all correct orders for a four-step SHA-256 ring update with separate loads
- usesdoi:10.6028/NIST.FIPS.180-4
- reviewsdoi:10.1145/2701415
- 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
Cited by
0 publicationsNo incoming citations on sciscape.