For every SHA-256 round constant, addition fails to commute with every nonidentity rotation on every 32-bit word

1 citing publication

For each of the 64 SHA-256 round constants and each rotation by 1 through 31 bits, zero 32-bit words give the same result when the order of addition and rotation changes. The identity rotation succeeds on all words. We apply the known four carry cases for rotation to equal input and output differences. We also count the constants that can succeed for any fixed word width and rotation. An independent bit count checks every SHA-256 result. Direct enumeration checks widths 1 through 8. The result applies to one word operation.

SHA-256 · modular addition · bit rotation · carry · additive differential probability

No votes to show.

References

7
  1. doi:10.6028/NIST.FIPS.180-4
  2. https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf
  3. https://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Standards-and-Guidelines/documents/examples/SHA256.pdf
  4. https://webdoc.sub.gwdg.de/ebook/dissts/Bochum/Daum2005.pdf
  5. https://iacr.org/archive/fse2011/67330350/67330350.pdf
  6. doi:10.46586/tosc.v2025.i1.542-591
  7. A free SHA-256 working state and schedule word realize all 22 carry pairs at cuts 9 through 29 for each round constant

Cited by

1 publication
  1. Twelve consecutive bit columns identify any adjacent SHA-256 constant pair under a shared rotation and optional reversal reviews