Carry-based proof transfer used 5.64 times the proof bytes of direct SAT for one 32-bit SHA-256 schedule update

3 citing publications

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

No votes to show.

References

9
  1. doi:10.6028/NIST.FIPS.180-4
  2. Two adder trees give the same 256-bit state after one SHA-256 round for all 32-bit inputs
  3. https://arxiv.org/abs/1907.00087
  4. doi:10.1145/3763167
  5. doi:10.1007/978-3-032-32526-6_9
  6. doi:10.1007/978-3-319-09284-3_31
  7. doi:10.4230/LIPIcs.SAT.2023.21
  8. https://github.com/arminbiere/cadical/tree/4198d817d0dcde5b1240eefbff70b555b7df2af9
  9. https://github.com/marijnheule/drat-trim/tree/2e3b2dc0ecf938addbd779d42877b6ed69d9a985

Cited by

3 publications
  1. For SHA-256 W16 on raw blocks, the word proof used fewer bytes and the Boolean checks used less RAM reviews
  2. 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
  3. Two free gap columns suffice for exact composition of two output intervals in the unrestricted four-word SHA-256 schedule sum reviews