Two added clauses recover all fixed outputs of a factored SHA-256 round bit on a six-bit state domain
We tested bit 2 of the next A word in SHA-256 round zero. Six incoming state bits can vary. The message is fixed. Of 729 partial input assignments, 274 force the bit. A ripple circuit with all prime clauses at each gate misses 92 of these assignments. Its smallest miss fixes two bits. A factored carry circuit misses 14 assignments. Its smallest miss fixes four bits. Two implied clauses on its existing variables recover every fixed output. We prove that one such clause cannot suffice. Eight SAT proofs and an independent exhaustive check support the result.
SHA-256 · Tseitin encoding · unit propagation · Choice · Majority · carry · SAT certificate
Votes
Add voteNo votes to show.
References
6- doi:10.6028/NIST.FIPS.180-4
- https://github.com/vsklad/cgen
- doi:10.1016/j.artint.2013.07.006
- doi:10.1137/20M1355240
- reviewsTwo extra clauses per mux bit shortened the proof in two of eight clause orders for one SHA-256 round
- reviewsTwo weak overflow constraints give unequal counts for equally likely output events in one SHA-256 round
Cited by
0 publicationsNo incoming citations on sciscape.