For 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
Take a uniform 512-bit data block. At each expansion from W16 through W30, add the raw word to the small-sigma-zero image of its neighbor. Count the low bit positions before the first generated carry. We give the exact joint law of the largest and second-largest counts through all 32 bits. The first mixed cut that changes from the independent law is 16 bits for the maximum and 12 bits for the second count. At each threshold from 16 through 20 bits, overlap makes at least one success less likely and at least two successes more likely. At 20 bits the latter probability rises from 0.001027330440 to 0.001032108787. Two integer methods agree at all five thresholds. Exact word counts also agree in 435 small-width controls. These results concern one order of addition in the schedule.
Votes
Add voteNo votes to show.
References
6- uses, supportssci:sha256:fc59063a6312bec698f92a6f82019295cb013caa9320a2155485dbfaed8958ec not known to sciscape
- usesdoi:10.6028/NIST.FIPS.180-4
- usesEvery 16-word window in the SHA-256 schedule determines one block, and padding limits which windows occur
- reviewsLong carry chains occur together more often when two binary additions share one of three independent uniform words
- reviewsdoi:10.48550/arXiv.0902.0179
- reviewsdoi:10.3390/cryptography10030032
Cited by
5 publications- On uniform raw SHA-256 blocks, carry-free updates at W16 and W17 occur together 3,317 times as often as independence predicts reviews
- 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
- On uniform SHA-256 blocks, a balanced W16 sum with two columns of carry history has lower error tails than a serial sum reviews
- Raw bits 1, 3 and 11 form the unique smallest set that separates adjacent carry-free events at cut 16 for uniform SHA-256 blocks uses
- For uniform SHA-256 blocks at cuts 16 to 22, runs of at least r carry-free partial sums are more likely than under independence for every r from 2 to 15 uses