On uniform SHA-256 blocks, exchanging words 9 and 10 preserves both W16 and W17 carries at cut k with probability (1 + 4⁻ᵏ)/2
Draw one uniform raw 512-bit block and exchange its 32-bit words 9 and 10. At each cut after k low bits, for k from 1 to 32, the carries in W16 and W17 both keep their values with probability (1 + 4⁻ᵏ)/2. For unequal low exchanged words the conditional probability is (1 − 2⁻ᵏ)/2. At cut 32, two independent blocks agree in both rows with probability about 0.17944637. A sum over parity masks gives the four-carry distribution at every cut. Exact tables cover the same-row pairs through cut 32 and all four carry values together through cut 16. Samples cover all four values through cut 32. A separate cubic count gives the disjoint control at every cut. The calculation uses two schedule expansions and zero compression rounds.
SHA-256 · message schedule · carry distribution · word transposition · sum-product recurrence · uniform block
Votes
Add voteNo votes to show.
References
5- usesdoi:10.6028/NIST.FIPS.180-4
- reviewsdoi:10.48550/arXiv.0902.0179
- reviewsdoi:10.3390/cryptography10030032
- usesFor uniform raw SHA-256 blocks, the joint law of the W16, W17 and W18 carry-outs first differs from independent sums at bit 15
- reviewsOn uniform raw SHA-256 blocks, carry-free updates at W16 and W17 occur together 3,317 times as often as independence predicts