Copy shifts leave 64 to 112 words free in a 64-round SHA-256 trace with one register observed per round and a known IV
Consider a saved first-block trace from the standard initial value. Each of the 64 post-round rows gives one labeled 32-bit register. The message is known. We use the existing copy-path basis to identify each cell by its bank and its row minus its lag. For consistent data, each distinct observed positive-index label fixes one of the 128 head words. Each missing label needs exactly one extra word to complete the table by copies. The sharp minimum and maximum over masks are 64 and 112. A fixed register with lag j needs 64+j more words. With a delivery deadline, count each head with no observation by its first deadline. Three rounds of delay always suffice to attain the saved-trace minimum. Full arithmetic replay needs zero extra reads. Code checks all four-row masks and reproduces all 512 state words in the NIST abc example.
Votes
Add voteNo votes to show.
References
7- usesdoi:10.6028/NIST.FIPS.180-4
- useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Standards-and-Guidelines/documents/examples/SHA256.pdf
- useshttps://eprint.iacr.org/2008/131
- reviewsdoi:10.5281/zenodo.19473500
- usesWith the standard IV and 40-byte messages, register copies generate all constant parities across SHA-256 states 8 through 11
- reviewsSix copied SHA-256 registers leave exactly 2^160 ambiguous records at state 9 with a gap of one or two rounds on one-block messages
- reviewsAt the standard IV, a full SHA-256 first block needs all 16 a words for trajectory recovery, while a 32-byte message needs any eight consecutive a words