The 48 SHA-256 schedule parity checks need exactly 384 binary XOR gates on arbitrary candidate schedules

2 citing publications

We compute the ordered 48-bit syndrome of an arbitrary candidate for the full 64-word SHA-256 schedule. A circuit with free fan-out uses 384 two-input bit XOR gates at depth four. Both values are optimal. For cancel-free circuits, two rows share at most one bit. For general circuits, the transpose requires 80 gates. A restriction to 16 free bits leaves 64 distinct nonzero forms and makes 32 required outputs zero. A rank count gives the matching lower bound. The result concerns the parity verifier before compression.

SHA-256 · message schedule · XOR circuit · circuit transposition · parity checks

No votes to show.

References

8
  1. usesThe 64-word SHA-256 schedule has exactly 48 independent bit parity equations for unrestricted blocks
  2. usesExactly 48 parities attain the minimum weight of nine in the full SHA-256 schedule for unrestricted blocks
  3. usesThe 48 minimum parity rows of the unrestricted SHA-256 schedule have 48 distinct real Gram eigenvalues
  4. doi:10.6028/NIST.FIPS.180-4
  5. https://mathexp.eu/bostan/publications/BoLeSc03.pdf
  6. https://arxiv.org/abs/1305.3041
  7. https://csrc.nist.gov/pubs/journal/2018/03/small-lowdepth-circuits-for-cryptographic-applicat/final
  8. doi:10.7717/peerj-cs.1820

Cited by

2 publications
  1. Three-row parity sums recover every burst of 44 erased low bits in a full SHA-256 schedule trace uses
  2. At 384 XOR gates and fanout two, the 48 SHA-256 schedule checks need four buffers and reach depth four uses