Two additions used 39.7% more median checker memory than one folded addition for an eight-bit message domain in one SHA-256 round
We counted four-byte messages with 4, 6 or 8 variable low bits. We used the standard initial state, one round, feed-forward and one output bit. A folded addition, two additions and two additions with a weak final carry selected the same messages. Public SCPOG certificates gave projected counts of 8, 32 and 128. At eight bits the weak formula had 255 full models. Seven fresh CakeML processes per encoding gave median peak resident memory of 16,924 KiB for the folded addition and 23,644 KiB for the two complete additions. All nine truncated certificates produced a rejection diagnostic with exit status zero. The measurements apply to the supplied decision trees, checker build and runtime settings.
Votes
Add voteNo votes to show.
References
8- usesTwo weak overflow constraints give unequal counts for equally likely output events in one SHA-256 round
- usesdoi:10.6028/NIST.FIPS.180-4
- useshttps://csrc.nist.gov/Projects/Cryptographic-Algorithm-Validation-Program/Secure-Hashing
- usesdoi:10.4230/LIPIcs.SAT.2025.8
- useshttps://github.com/rebryant/scpog/tree/708dcc81db4fc64ffdd11a0c9156b319b9f0674f
- doi:10.1613/JAIR.1.15958
- https://arxiv.org/abs/2610.36196
- Two adder trees give the same 256-bit state after one SHA-256 round for all 32-bit inputs
Cited by
0 publicationsNo incoming citations on sciscape.