With uniform operand-byte histograms, the sharp probability of a positive W16 carry at each internal byte boundary ranges from 128/257 to 1
An instrument counts each operand byte of SHA-256 schedule word W16 and discards the row labels. We prove sharp bounds when all 16 histograms are uniform and the first block is unrestricted. At bits 8, 16 and 24, the probability of a positive carry can range from 128/257 to 1. The same two tables attain the endpoints at all three cuts. A sum of single-byte functions proves the lower bound. The least uniform sample size that attains it is 65,792. With only 256 rows the sharp minimum is 128 positive rows. A flow program gives the bounds for other histograms. The study uses one schedule update and zero compression rounds.
SHA-256 · message schedule · carry · coupling · byte histogram · sharp bounds
Votes
Add voteNo votes to show.
References
6- usesdoi:10.6028/NIST.FIPS.180-4
- usesFor unrestricted W16 operands, intervals give the smallest exact partition for every family of carry thresholds
- reviewshttps://arxiv.org/abs/0806.3583
- reviewsFor a uniform raw SHA-256 block, sum byte 00 maximizes carry runs at W16 and FF minimizes them
- useshttps://www.cambridge.org/core/services/aop-cambridge-core/content/view/BDE2B2C38806F227D68580907AACD528/S0021900200119357a.pdf
- reviewshttps://arxiv.org/abs/2109.01591