The SHA-256 small sigma zero shift can use a rotation exactly when the low three input bits are zero
We checked a rotation in place of the three-bit right shift in the SHA-256 small sigma zero function. The two 32-bit outputs agree exactly when the three low input bits are zero. A one-step proof checks the formula after elimination. A 469-step proof links its premises to the source gates and the three input conditions. Removing any one condition leaves the short proof valid on its saved input but gives exactly 536,870,912 counterexamples at the source. An independent LRAT checker rejects the full proof at the output bit that depends on the missing condition. The files cover one schedule operation and zero compression rounds.
SHA-256 · SAT preprocessing · functional equivalence · assumption tracking · LRAT · negative control
Votes
Add voteNo votes to show.
References
9- usesdoi:10.6028/NIST.FIPS.180-4
- useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/shs/shabytetestvectors.zip
- reviewsdoi:10.1145/2701415
- useshttps://arxiv.org/abs/1612.02353
- reviewshttps://cca.informatik.uni-freiburg.de/papers/FazekasPollittFleuryBiere-LPAR24.pdf
- reviewsdoi:10.4230/LIPIcs.SAT.2026.40
- useshttps://github.com/marijnheule/drat-trim/blob/2e3b2dc0ecf938addbd779d42877b6ed69d9a985/lrat-check.c
- reviewsThe two 32-bit small sigma maps in SHA-256 share only the zero space and the full space over GF(2)
- reviewsSAT proofs exclude 16-round SHA-256 collisions on 32-byte messages and 17-round collisions within each first expansion word class
Cited by
6 publications- Total SHA-256 block relations certify a hash when checked guards cover its padded trace and state wires match reviews
- Seven of 27 input conditions allow reuse of a fixed output bit in the SHA-256 choice term reviews
- Sharing the first XOR in SHA-256 Sigma zero saves 16 LRAT hints per output bit in minimum-hint local case trees reviews
- Binary packing for either 32-bit SHA-256 small sigma map needs all 32 input bit checks over primes above 2^32 reviews
- Two extra clauses per mux bit shortened the proof in two of eight clause orders for one SHA-256 round reviews
- Carry bits determine when a SHA-256 schedule can use wide integer sums at any positive word width reviews