For two fixed four-byte messages and one uniform state word, two carry changes in SHA-256 round 0 occur 2.374 times as often as independence predicts
We compared two fixed padded blocks in round 0. The first seven input words have the SHA-256 initial values. Both runs use the same uniform eighth word. The first message word changes from zero to 0x04000001. The carry into bit 31 of the A addition and the carry into bit 29 of the E addition both change on 159,298,734 of the 4,294,967,296 inputs. The independent estimate is about 67,108,866. An interval proof gives the exact joint count for every additive shift from zero through 89,126,202. A second overlap starts above shift 54,568,363. A finite automaton, exhaustive small-width tests and a separate full-width enumeration check the counts. The result concerns two internal carry bits before feed-forward.
Votes
Add voteNo votes to show.
References
7- usesdoi:10.6028/NIST.FIPS.180-4
- useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Standards-and-Guidelines/documents/examples/SHA256.pdf
- reviewshttps://eprint.iacr.org/2022/135
- reviewsFor four-byte messages at the standard IV, 14,428,224 additive differences can match both XOR differences after one SHA-256 round
- reviewsWith the standard SHA-256 IV, adding one to the second message word cannot make both second-step output sums wrap
- reviewsThe two SHA-256 round sums need 22 carry states at cuts 9 through 29 with independent input words
- reviewshttps://eprint.iacr.org/2026/232
Cited by
0 publicationsNo incoming citations on sciscape.