For 64 SHA-256 constants, linear checks need 64 bits to locate one changed word and 96 bits to reject every two-word change

4 citing publications

A checker reads the 64 stored SHA-256 round constants and compares binary parities with a trusted reference. It must locate every change to one 32-bit word from the syndrome alone. We prove that it needs at least 64 parity bits. For any fixed pair of positions and any width r from 64 through 96, at least 62 times (2^(96-r) minus 1) pairs of nonzero word differences force a false location. We give one family of field checks that meets this bound for every pair at every width. Thus 96 bits are necessary and sufficient to reject every two-word change without naming an intact word. Binary elimination verifies all 2,016 pairs and 41,664 triples for the construction. The result concerns the stored table. It gives no digest guarantee.

SHA-256 · linear syndrome · word errors · false location · redundancy · Reed-Solomon codes

No votes to show.

References

9
  1. doi:10.6028/NIST.FIPS.180-4
  2. doi:10.1002/j.1538-7305.1950.tb00463.x
  3. doi:10.1137/0108018
  4. https://www.kernel.org/pub/linux/kernel/people/hpa/raid6.pdf
  5. https://pmc.ncbi.nlm.nih.gov/articles/PMC7959593/
  6. https://patents.google.com/patent/US8806295B2/en
  7. https://d2j16w31g89z0j.cloudfront.net/site/ictc2025/abs/P02-11.pdf
  8. Whole-word checks detect every all-ones interval in a 64-word SHA-256 schedule, but only 10 intervals have unique syndromes on the padded abc block
  9. Adding one to the first SHA-256 round constant changes multiple bits in exactly one new word for every four-byte message at the standard IV

Cited by

4 publications
  1. With consecutive position weights, 587 is the least modulus that detects every single swap of the 64 SHA-256 round constants reviews
  2. Two position moments identify up to two disjoint swaps of the 64 SHA-256 constants with 24 low bits per moment reviews
  3. Seven prefix bits suffice and six fail for the 72 SHA-256 root floors with three fixed prime fields reviews
  4. With one unknown constant per round, 13 low residual bits identify each SHA-256 schedule index on the NIST two-block example reviews