Two weak overflow constraints give unequal counts for equally likely output events in one SHA-256 round

7 citing publications

We used every four-byte message, the standard IV and padding, one round, and standard feed-forward. We observed the high bits of output words 0 and 4. The events 01 and 10 each contain 2,084,321,683 messages. Removing one clause from each of two unused overflow definitions keeps every message and output. It gives 3,863,355,386 models for 01 and 3,381,052,837 for 10. The normalized model shares differ by 6.49 percentage points. We prove when the gate and carry definitions give one model per message. An exact count of the clauses and an independent partition of the message space agree for all four events.

projected model counting · SHA-256 · carry · CNF · unique extension

No votes to show.

References

8
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. useshttps://csrc.nist.gov/Projects/Cryptographic-Algorithm-Validation-Program/Secure-Hashing
  3. useshttps://arxiv.org/abs/1507.07648
  4. usesdoi:10.1016/j.dam.2024.10.021
  5. doi:10.1016/j.artint.2026.104605
  6. usesExact affine models of the first SHA-256 round need at least 139,221 subspaces to cover all four-byte messages at the standard IV
  7. usesOne NIST block separates all distinct SHA-256 prefix functions with 0 to 64 rounds and permuted feed-forward words
  8. usesFinal carries preserve collision decisions and explain the spread of XOR errors at 32 SHA-256 rounds with a fixed IV

Cited by

7 publications
  1. With four independent uniform SHA-256 operands, four high bytes fix the high bit of T1 on 31 of every 32 inputs reviews
  2. For the SHA-256 T1 sum with four independent uniform words, setting the constant's sign bit divides carry certificate agreement by five reviews
  3. Two additions used 39.7% more median checker memory than one folded addition for an eight-bit message domain in one SHA-256 round uses
  4. SHA-256 W16 is odd for half of all raw blocks and for 26.11425% of models that select an agreeing pair for each carry in a balanced sum reviews
  5. Two added clauses recover all fixed outputs of a factored SHA-256 round bit on a six-bit state domain reviews
  6. One mask gives the largest safe input set for integer lifts of word grammars with same-sort addition
  7. A 15-bit low limb and a 17-bit high limb give unique carries for every free SHA-256 round exactly when the field prime exceeds 651,883 reviews