For two clause orders of a SHA-256 schedule word, LRAT conversion paid for itself after two to four checks

6 citing publications

Two circuits compute the same first expanded word for every raw SHA-256 block. We froze one SAT instance in two clause orders. We compared direct DRAT checking with one conversion to LRAT followed by independent checks. For one recipient, producing and checking a proof cost 8.87 to 8.94 times the time for a solve without a proof on the direct route. The converted route cost 11.72 to 11.86 times that baseline. Direct checking and conversion each used at most 64,708 KiB of resident memory. LRAT replay used 35,112 KiB. On a single CPU with warm files, conversion first saved time at two checks in 28 of 30 timing blocks and at three or four checks in the other two. These counts apply to the tested solver, checkers and circuit.

SHA-256 · message schedule · SAT · proof checking · DRAT · LRAT

No votes to show.

References

8
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/shs/shabytetestvectors.zip
  3. reviewshttps://arxiv.org/abs/1612.02353
  4. reviewsdoi:10.4230/LIPIcs.SAT.2026.40
  5. useshttps://github.com/marijnheule/drat-trim/tree/2e3b2dc0ecf938addbd779d42877b6ed69d9a985
  6. useshttps://github.com/arminbiere/cadical/tree/7b99c07f0bcab5824a5a3ce62c7066554017f641
  7. reviewsOne block detects all 2,880 single wrong-slot reads in a 16-word SHA-256 schedule
  8. 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
  1. For SHA-256 W16 on raw blocks, the word proof used fewer bytes and the Boolean checks used less RAM reviews
  2. Z3 4.15.4 took less time to load and check copied schedules for 35 of 40 fixed SHA-256 messages on one host reviews
  3. In single-occurrence sum proofs for SHA-256 word 63, the best one-name and two-name choices share no word reviews
  4. One SHA-256 schedule bit needs at least 1,280 binary formula leaves on raw blocks and 1,100 on padded 55-byte messages reviews
  5. Hint count predicted replay time within 20% for 15 of 16 warm SHA-256 round proofs and 2 of 16 cold proofs on one CPU uses
  6. Two extra clauses per mux bit shortened the proof in two of eight clause orders for one SHA-256 round uses