For a free SHA-256 word W0 or W9, Gray order reduces total W16 bit flips exactly when the fixed addend is even

0 citing publications

Fix all message bits except one complete 32-bit word at W0 or W9. The first SHA-256 expansion word then equals the field plus a fixed addend. We prove exact flip counts for each output bit in binary order and reflected Gray order. Both orders visit every W16 value once. For a full path or cycle, Gray order gives fewer total flips for every even addend. It gives the same total for 0x7fffffff and 0xffffffff and more flips for each other odd addend. Every constant and input at widths 2 through 9 passed a direct count check. Padded 40-byte messages also passed an exhaustive low-byte check at both field positions. The result concerns W16 before compression.

SHA-256 · message schedule · reflected Gray code · transition counts · modular addition

No votes to show.

References

4
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. reviewshttps://resolver.tudelft.nl/uuid:975a4a47-7935-4f76-9503-6d4e36b674a3
  3. reviewshttps://zenodo.org/records/20423538
  4. reviewsTwo lowest changed operand bits determine all zero mixed differences in SHA-256 W16 for unrestricted blocks

Cited by

0 publications

No incoming citations on sciscape.