One pass needs exactly 16 words to emit the SHA-256 schedule in reverse with separate reads and writes

1 citing publication

An exact machine reads any 512-bit block in 16 sequential word reads. It writes all 64 SHA-256 schedule words in reverse order to a write-only sink. Each read and write has a separate state boundary. After read j, at least 2^(32j) states are necessary, even if some words were written early. The last sixteen writes must reproduce the input in reverse. A 16-word array attains the 512-bit peak with 48 forward updates and 48 inverse updates. A direct expansion agreed on all 49,408 words in 772 implementation checks.

SHA-256 · message schedule · streaming space · reverse emission · one-pass algorithm

No votes to show.

References

6
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. useshttps://eprint.iacr.org/2009/479
  3. reviewsdoi:10.1007/s11128-018-2107-3
  4. usesEvery 16-word window in the SHA-256 schedule determines one block, and padding limits which windows occur
  5. reviewsExact SHA-256 schedule emission needs 512 bits after one block read while at least 512 output bits remain
  6. reviewsWith free block rereads, nine registers suffice and eight fail for ordered emission of all 64 SHA-256 schedule words

Cited by

1 publication
  1. Eight retained bits suffice for one-pass SHA-256 schedule validation with public coins and one-sided error 1/2 reviews