With one uniform input word, 50 full carry trace pairs tie at probability 2⁻¹⁷ for SHA-256 constants K[2] and K[3]

1 citing publication

Add the same uniform 32-bit word to each of two fixed constants. For the third and fourth SHA-256 round constants, each most likely pair of complete carry traces occurs for exactly 32,768 words. There are 50 such pairs. If the trace stops before overflow, there are 100 pairs at the same maximum. A four-state algorithm gives the maximum and all ties for any word width and any ordered pair of constants.

carry traces · shared summand · modular addition · SHA-256 · dynamic programming

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. reviewshttps://pmc.ncbi.nlm.nih.gov/articles/PMC9255531/
  4. reviewshttps://eprint.iacr.org/2025/550
  5. reviewshttps://eprint.iacr.org/2026/232
  6. reviewsLong carry chains occur together more often when two binary additions share one of three independent uniform words
  7. reviewsFor the 64 SHA-256 constants, the best fixed permutation fails 23.62% of internal carry complement tests with zero carry-in

Cited by

1 publication
  1. Two shared input words detect all 1,925 reachable single carry cuts in SHA-256 constant additions for every odd prime reviews