A weight-23 cutoff discards half the probability at SHA-256 word W16 for two uniform words and an alternating input mask
Choose two independent uniform 32-bit words at W0 and W9 of a 52-byte message. Set its other bytes to zero and apply standard padding. Change W0 by the XOR mask 0x55555555. The first SHA-256 expansion word is then one modular sum. Its output has 28,697,814 possible XOR differences. Keeping the 2,532,054 differences with probability at least 2^-23 discards exactly half the mass. A path count times the largest omitted path probability first gives a bound below one at weight cutoff 24. A union over subsets of active carry positions first does so at 26. For any one-sided mask on independent uniform operands, the lengths of the gaps between changed bits give the weight law as a sum of independent truncated geometric variables and a constant. A scan of all 32-bit outputs and an integer count of operand assignments check the alternating-mask result. The result uses zero compression rounds.
Votes
Add voteNo votes to show.
References
7- usesdoi:10.6028/NIST.FIPS.180-4
- useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Standards-and-Guidelines/documents/examples/SHA256.pdf
- useshttps://kodu.ut.ee/~lipmaa/papers/lm01/dpa.pdf
- reviewshttps://eprint.iacr.org/2019/1318
- reviewshttps://www.pure.ed.ac.uk/ws/portalfiles/portal/366878342/Meet_In_The_Filter_BIRYUKOV_DOA16032023_AFV_CC_BY.pdf
- reviewsdoi:10.1186/s42400-026-00671-7
- usesOnly the identity bit permutation preserves the first SHA-256 expansion equation with four named input words