For uniform fixed-length SHA-256 messages with a separate length block, 471 tail bits suffice for the W16 mean carry at all cuts and 480 give four uniform words

3 citing publications

We compare two ways to clear the low k bits at the four-input sum for SHA-256 word W16. With independent uniform residues, early truncation loses 3(2^k - 1)/2 more word units on average before modular reduction. We also give the sharp maximum and the mean absolute difference between the stored values. For independent fair message bits at each fixed length, the four operands are independent in every padded block. Uniformity depends on the block and the cut. A full data block passes every cut. The final length block fails each positive cut. A partial block before a separate length block first passes cuts 1 through 13 at 461 tail bits. It passes all 32 cuts at 480 bits. The uniform model gives the correct mean at all cuts from 471 tail bits. We give the exact threshold for each cut and check it by two binary rank calculations. The calculation uses zero compression rounds.

SHA-256 · message schedule · fixed-point arithmetic · truncation · padding · carries

No votes to show.

References

6
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. usesdoi:10.2307/2974981
  3. useshttps://arxiv.org/abs/0806.3583
  4. reviewsOn uniform SHA-256 blocks, a balanced W16 sum with two columns of carry history has lower error tails than a serial sum
  5. reviewsOn unrestricted SHA-256 blocks, binary gives the minimum W16 carry degree of 3k after k low columns for 2 ≤ k ≤ 32
  6. usesStandard padding for 55-byte messages reduces the maximum degree of SHA-256 word W16 from 90 to 61

Cited by

3 publications
  1. Four bit counts determine the variance of the mean low carry at SHA-256 word W16 under independent column shuffles uses
  2. Four-byte SHA-256 messages with mean weight 16 and variance 6 to 10 allow any mean W16 carry count from 0 to 1168/65 reviews
  3. For byte messages with a separate SHA-256 length block, W21 bit 1 is the first schedule bit nonlinear in the byte count reviews