A fourth overlap moment raises the lower bound by one output swap for three fixed SHA-256 test suites

0 citing publications

Three overlapping suites use seven NIST short messages. The fault swaps one fixed pair of digest bits after full SHA-256. We counted the distinct swaps that each suite detects. With a common spectral cap, a fourth moment of the suite overlap matrix raises the rounded lower bound from 31,181 to 31,182. A proof gives the condition for a strict gain before rounding. Two suites together certify 32,150 swaps from their sizes and intersection. All three detect 32,405 of the 32,640 swaps. An integer incidence table has the same suite sizes and pair counts and detects exactly 32,150 classes. Thus even all powers of the overlap matrix cannot recover the measured coverage under incidence assumptions alone.

SHA-256 · conformance testing · CAVP · matrix moments · union bounds · output bit swaps

No votes to show.

References

7
  1. usesAny eight of 129 NIST SHA-256 byte tests admit at least 33,554,432 fixed output bit permutations, and eleven selected tests identify the wiring
  2. reviewsEight of 129 NIST byte tests are necessary and sufficient to detect one fixed bit swap between adjacent SHA-256 output words
  3. usesdoi:10.6028/NIST.FIPS.180-4
  4. useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/shs/shabytetestvectors.zip
  5. useshttps://www.combinatorics.org/ojs/index.php/eljc/article/download/v17i1r58/pdf/
  6. useshttps://proceedings.mlr.press/v48/lig16.html
  7. reviewsdoi:10.1287/opre.38.2.227

Cited by

0 publications

No incoming citations on sciscape.