On uniform SHA-256 data blocks, full W16 agreement with XOR increases from total operand weight 50 through 83
Choose a uniform 64-byte message. For its first SHA-256 schedule update, count the ones in the four transformed operands. A polynomial gives the exact chance that the low k bits of the sum equal the XOR at each total weight. An even carry can change from zero to two once along the checked internal columns. At full width the probability increases at every weight from 50 through 83. It is zero above 98. The unconditioned chance is about 9.404 times 10 to the power minus 8. Exact counts cover both low and high prefixes and include discarded overflow. The test uses zero compression rounds.
SHA-256 · message schedule · Hamming weight · modular addition · carry · exact counting
Votes
Add voteNo votes to show.
References
6- usesdoi:10.6028/NIST.FIPS.180-4
- reviewsdoi:10.48550/arXiv.0902.0179
- reviewshttps://subs.emis.de/LNI/Proceedings/Proceedings74/GI-Edition74.-12.pdf
- usesOn uniform raw SHA-256 blocks, carry-free updates at W16 and W17 occur together 3,317 times as often as independence predicts
- reviewsFor independent exchangeable SHA-256 W16 operands, the carry variance after k bits can require weight moments through order k
- reviewsOn uniform SHA-256 blocks, a balanced W16 sum with two columns of carry history has lower error tails than a serial sum
Cited by
0 publicationsNo incoming citations on sciscape.