On uniform SHA-256 blocks, exchanging words 9 and 10 preserves both W16 and W17 carries at cut k with probability (1 + 4⁻ᵏ)/2

1 citing publication

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

No votes to show.

References

5
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. reviewsdoi:10.48550/arXiv.0902.0179
  3. reviewsdoi:10.3390/cryptography10030032
  4. 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
  5. reviewsOn uniform raw SHA-256 blocks, carry-free updates at W16 and W17 occur together 3,317 times as often as independence predicts

Cited by

1 publication
  1. Cuts 16 and 17 give the largest W16 carry gap for two uniform four-byte UTF-8 scalars in fixed 16-byte ASCII frames reviews