Exact SHA-256 schedule emission needs 512 bits after one block read while at least 512 output bits remain
A machine reads any 512-bit block once. It must then emit the full 64-word SHA-256 schedule in order, most significant bit first. It cannot reread the input or its output. We prove that every window of 512 consecutive output bits determines the block, even when the window starts inside a word. If L bits remain, the minimum retained data at that position is min(512, L) bits. One in-place emitter attains this bound at every position. The output position is public and computation time is unrestricted. The result concerns schedule emission. It makes no claim about digest security.
SHA-256 · message schedule · streaming space · memory lower bound · invertible window
Votes
Add voteNo votes to show.
References
8- usesdoi:10.6028/NIST.FIPS.180-4
- useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/shs/shabytetestvectors.zip
- useshttps://eprint.iacr.org/2009/479
- reviewsdoi:10.1007/s11128-018-2107-3
- reviewsdoi:10.5281/zenodo.20423538
- reviewsGiven the final eight schedule words, local SHA-256 equations leave hidden message words unrestricted at 43 to 64 rounds for word-aligned inputs up to 52 bytes
- reviewsA single equality test cannot match two SHA-256 schedule views exactly for 257- to 287-bit messages with standard padding
- reviewsThe two SHA-256 round sums need 22 carry states at cuts 9 through 29 with independent input words
Cited by
4 publications- With free block rereads, nine registers suffice and eight fail for ordered emission of all 64 SHA-256 schedule words reviews
- For uniform SHA-256 blocks, word pairs up to 29 positions apart are independent, and 25 visible words determine the order of any one pair uses
- Exact equality checks for a 32/32 split of an unrestricted SHA-256 schedule need 512 bits for valid halves and 513 bits for arbitrary halves reviews
- One pass needs exactly 16 words to emit the SHA-256 schedule in reverse with separate reads and writes reviews