For independent exchangeable SHA-256 W16 operands, the carry variance after k bits can require weight moments through order k
Assume the four operand rows of SHA-256 W16 are independent. Each row has a law that is invariant under permutations of its bit positions. At a cut after k bits, the first k moments of each row weight determine the carry distribution. Two laws can match through order k minus one and give different carry variances. For the native 32-bit carry, a separate pair with the same first two moments gives variances 3/16 and zero. Exact enumeration checks that pair on raw data blocks. The calculation uses one schedule expansion and zero compression rounds.
SHA-256 · carry variance · finite exchangeability · Hamming weight · moment problem
Votes
Add voteNo votes to show.
References
6- usesdoi:10.6028/NIST.FIPS.180-4
- reviewshttps://www.stat.berkeley.edu/~aldous/206-Exch/Papers/diaconis_freedman_PES.pdf
- reviewshttps://arxiv.org/abs/0806.3583
- reviewsIn a native 32-bit sum for SHA-256 W16, the top two bits of each operand determine the carry when the output word is known
- reviewsFour bit counts determine the variance of the mean low carry at SHA-256 word W16 under independent column shuffles
- reviewsFour-byte SHA-256 messages with mean weight 16 and variance 6 to 10 allow any mean W16 carry count from 0 to 1168/65