A word proof used 6,305 bytes for SHA-256 W16 with three saved halfword carry flags
For every raw 512-bit block, three saved low-half overflow flags recover all 32 bits of SHA-256 W16. We checked a circuit with separate 16-bit addition chains and a final high-half carry addition. Both proof routes read the same 3,986-clause mismatch formula. The weighted word certificate used 6,305 bytes. Direct ASCII LRAT used 3,119,159 bytes. Across ten paired runs on one CPU, median verification times were 28.53 ms and 54.51 ms. The comparison covers one encoding and zero compression rounds.
SHA-256 · W16 · halfword addition · LRAT · word-level proof · equivalence checking
Votes
Add voteNo votes to show.
References
6- usesFor SHA-256 W16 on raw blocks, the word proof used fewer bytes and the Boolean checks used less RAM
- usesdoi:10.6028/NIST.FIPS.180-4
- reviewshttps://www.cs.princeton.edu/~appel/papers/verif-sha-2.pdf
- reviewshttps://www.cs.utexas.edu/~hunt/FMCAD/fmcad11/papers/4.pdf
- useshttps://arxiv.org/abs/1612.02353
- useshttps://github.com/marijnheule/drat-trim/tree/2e3b2dc0ecf938addbd779d42877b6ed69d9a985