The trailing zeros of a fixed SHA-256 round constant determine which affine changes preserve addition, choice, and majority

0 citing publications

We classify invertible binary affine changes for two bitwise gates and addition by a fixed word. If each input and output word uses the same encoding, the low positions below the first set constant bit can permute. All other positions stay fixed. This gives only the identity for 46 of the 64 SHA-256 round constants and up to 24 encodings for the others. If the three input words can change together and both outputs use a common encoding, we give all surviving changes. We also classify changes when addition must commute on the leading input word, and when a wire contains a bank of words. The proof applies at every positive word width. Direct enumeration checks small widths. The scope is isolated ports with unrestricted words and zero complete compression rounds.

SHA-256 · fixed modular addition · affine symmetry · choice · majority · bit permutation

No votes to show.

References

6
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. usesFor shared-input choice and majority at any word width, separate affine symmetries permute lanes and allow eight changes per lane
  3. reviewsOnly the identity bit permutation preserves the first SHA-256 expansion equation with four named input words
  4. supportsTwo shared input words detect all 1,925 reachable single carry cuts in SHA-256 constant additions for every odd prime
  5. reviewshttps://pmc.ncbi.nlm.nih.gov/articles/PMC9255531/
  6. reviewshttps://srfp311t1.com/sha256inv

Cited by

0 publications

No incoming citations on sciscape.