On uniform raw SHA-256 blocks, carry-free updates at W16 and W17 occur together 3,317 times as often as independence predicts

5 citing publications

Use a uniform raw 512-bit block. Count a carry if any of the 32 columns generates one, including the top column. Each four-word SHA-256 schedule update passes the zero-carry test with probability (5/16)^32. W16 and W17 share one input word. Fixing this word gives an exact product count. Averaging gives a joint probability of about 1.55310 times 10^-29. This is 3,317.396 times the product of the marginals. The shared word is zero in 81.27% of the blocks that pass both tests. If the top carry is ignored, the ratio is 1,373.760. A complete word count and a separate sum over bit factors agree exactly. The measurement uses zero compression rounds.

SHA-256 · message schedule · carry-free addition · exact counting · conditional probability

No votes to show.

References

8
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. usesdoi:10.48550/arXiv.0902.0179
  3. reviewshttps://subs.emis.de/LNI/Proceedings/Proceedings74/GI-Edition74.-12.pdf
  4. usesOn uniform SHA-256 blocks, a balanced W16 sum with two columns of carry history has lower error tails than a serial sum
  5. reviewsFor uniform SHA-256 blocks, overlap raises the probability that at least two of fifteen partial sums have carry-free prefixes at each cut from 16 to 20 bits
  6. usesRaw bits 1, 3 and 11 form the unique smallest set that separates adjacent carry-free events at cut 16 for uniform SHA-256 blocks
  7. usesEvery 16-word window in the SHA-256 schedule determines one block, and padding limits which windows occur
  8. reviewsFor fixed-length padded SHA-256 messages, the possible W16 carries form an exact interval at every bit cut

Cited by

5 publications
  1. On uniform SHA-256 data blocks, full W16 agreement with XOR increases from total operand weight 50 through 83 uses
  2. With the three low-half carries observed on uniform raw SHA-256 blocks, three earlier carry readings are necessary and sufficient to detect W16 reuse reviews
  3. For uniform raw SHA-256 blocks, the joint law of the W16, W17 and W18 carry-outs first differs from independent sums at bit 15 uses
  4. On uniform SHA-256 blocks, exchanging words 9 and 10 preserves both W16 and W17 carries at cut k with probability (1 + 4⁻ᵏ)/2 reviews
  5. Four SHA-256 schedule row bits add 3.549 bits of entropy per block after the first under fair hidden one- or two-word shifts reviews