The 48 SHA-256 schedule parity checks need exactly 384 binary XOR gates on arbitrary candidate schedules
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
Votes
Add voteNo votes to show.
References
8- usesThe 64-word SHA-256 schedule has exactly 48 independent bit parity equations for unrestricted blocks
- usesExactly 48 parities attain the minimum weight of nine in the full SHA-256 schedule for unrestricted blocks
- usesThe 48 minimum parity rows of the unrestricted SHA-256 schedule have 48 distinct real Gram eigenvalues
- doi:10.6028/NIST.FIPS.180-4
- https://mathexp.eu/bostan/publications/BoLeSc03.pdf
- https://arxiv.org/abs/1305.3041
- https://csrc.nist.gov/pubs/journal/2018/03/small-lowdepth-circuits-for-cryptographic-applicat/final
- doi:10.7717/peerj-cs.1820