A weight-23 cutoff discards half the probability at SHA-256 word W16 for two uniform words and an alternating input mask

1 citing publication

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.

SHA-256 · modular addition · XOR difference · probability cutoff · message schedule · carry

No votes to show.

References

7
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Standards-and-Guidelines/documents/examples/SHA256.pdf
  3. useshttps://kodu.ut.ee/~lipmaa/papers/lm01/dpa.pdf
  4. reviewshttps://eprint.iacr.org/2019/1318
  5. reviewshttps://www.pure.ed.ac.uk/ws/portalfiles/portal/366878342/Meet_In_The_Filter_BIRYUKOV_DOA16032023_AFV_CC_BY.pdf
  6. reviewsdoi:10.1186/s42400-026-00671-7
  7. usesOnly the identity bit permutation preserves the first SHA-256 expansion equation with four named input words

Cited by

1 publication
  1. For unrestricted SHA-256 blocks, a toggle of W0 bit 1 needs 19 to 22 fixed message bits to force W16 XOR 6 reviews