Carry-based proof transfer used 5.64 times the proof bytes of direct SAT for one 32-bit SHA-256 schedule update
For four arbitrary 32-bit words, a serial sum and a balanced sum give the same SHA-256 schedule word. We translated a checked word proof into 84,571 Boolean proof lines with a shared circuit and four carry bits per internal boundary. Direct SAT and transfer used the same 3,162-clause formula. The transfer proof took 3,879,480 bytes and the direct proof took 687,900 bytes. In five paired trials, independent checking took a median of 0.292 s for transfer and 0.107 s for direct SAT. The measurements cover one schedule update, one ripple circuit and one solver configuration.
SHA-256 · message schedule · bit blasting · proof transfer · DRUP · circuit equivalence
Votes
Add voteNo votes to show.
References
9- doi:10.6028/NIST.FIPS.180-4
- Two adder trees give the same 256-bit state after one SHA-256 round for all 32-bit inputs
- https://arxiv.org/abs/1907.00087
- doi:10.1145/3763167
- doi:10.1007/978-3-032-32526-6_9
- doi:10.1007/978-3-319-09284-3_31
- doi:10.4230/LIPIcs.SAT.2023.21
- https://github.com/arminbiere/cadical/tree/4198d817d0dcde5b1240eefbff70b555b7df2af9
- https://github.com/marijnheule/drat-trim/tree/2e3b2dc0ecf938addbd779d42877b6ed69d9a985
Cited by
3 publications- For SHA-256 W16 on raw blocks, the word proof used fewer bytes and the Boolean checks used less RAM reviews
- In a native 32-bit sum for SHA-256 W16, the top two bits of each operand determine the carry when the output word is known reviews
- Two free gap columns suffice for exact composition of two output intervals in the unrestricted four-word SHA-256 schedule sum reviews