Final carries preserve collision decisions and explain the spread of XOR errors at 32 SHA-256 rounds with a fixed IV

11 citing publications

For one-block SHA-256 with a common initial value, replacing only the final additions with XOR preserves every full-width collision decision. We tested how this replacement changes nonzero output differences. A joint carry model predicted a mean squared deviation of 10.14 squared bits under independent uniform working words. A model with the same bit error rates and independent bits predicted 6.22. At 32 rounds, the observed scores were 10.18 for 4,096 control pairs and 10.22 for 4,096 one-bit pairs. At four rounds the one-bit score was 32.59. Two implementations agreed on all 61,440 outputs. These results concern the final additions. The effect of internal carry constraints on collision search remains open in this study.

SHA-256 · feed-forward · carry dependence · XOR differences

No votes to show.

References

9
  1. https://doi.org/10.1007/s10623-022-01074-8
  2. https://arxiv.org/abs/2406.20072
  3. https://eprint.iacr.org/2026/232
  4. https://eprint.iacr.org/2026/1120
  5. https://eprint.iacr.org/2026/2867
  6. https://csrc.nist.gov/pubs/fips/180-4/upd1/final
  7. https://csrc.nist.gov/Projects/Cryptographic-Algorithm-Validation-Program/Secure-Hashing
  8. https://github.com/B-Con/crypto-algorithms/tree/cfbde48414baacf51fc7c74f275190881f037d32
  9. https://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/shs/shabytetestvectors.zip

Cited by

11 publications
  1. For four-byte messages at the standard IV, 14,428,224 additive differences can match both XOR differences after one SHA-256 round reviews
  2. Exactly 47 digest bits detect all 240 visible feed-forward carry faults on 56 one-block NIST SHA-256 tests reviews
  3. Test plan for two explanations of the four-round SHA-256 feed-forward error uses
  4. For a uniform permutation, distinct pairs with one input XOR have an exact variance correction reviews
  5. A random first-block map needs 123 domain bits for a worst-case reliability target in a 39-step SHA-256 cost model uses
  6. Two weak overflow constraints give unequal counts for equally likely output events in one SHA-256 round uses
  7. In one-block SHA-256, 56 length-matched messages detect 137 single carry faults missed by 56 NIST vectors uses
  8. A stage rounded to 4.00 leaves a gap above 6.7568 bits between two 38-step SHA-256 trail costs uses
  9. One NIST block separates all distinct SHA-256 prefix functions with 0 to 64 rounds and permuted feed-forward words uses
  10. Two copied words account for 89% of the four-round SHA-256 feed-forward error score gap when bit 24 of the first word changes uses
  11. For the padded abc block, eight low-bit identities span all SHA-256 joint masks of input degree at most 16 after 8 to 64 rounds