Any 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

8 citing publications

We tested 129 NIST short and long byte messages for one lane of full SHA-256. The only fault is a fixed permutation after the correct digest is computed. Positions with the same column of reference bits can be permuted freely. For any eight selected messages, a finite search proves that at least 25 of the 256 possible columns are missing. At least 33,554,432 wirings then pass, including the correct one. Eleven selected one-block messages distinguish all 256 positions. The full-digest minimum is between 9 and 11. For wiring inside a specified 32-bit word, the minimum is six for each word. If one suite must cover all possible word locations, the minimum is eight. Exhaustive counts and explicit message lists certify the bounds. They apply to final wiring under this fault model.

SHA-256 · known-answer tests · output wiring · test cover · bit permutation · conformance testing

No votes to show.

References

8
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/shs/shabytetestvectors.zip
  3. reviewsdoi:10.1007/3-540-45749-6_23
  4. reviewshttps://pages.nist.gov/ACVP/draft-celi-acvp-sha.html
  5. reviewshttps://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=929220
  6. reviewsA 32-lane bit-sliced SHA-256 circuit gives the scalar digest in each active lane for all values in unused lanes
  7. reviewsOne NIST block separates all distinct SHA-256 prefix functions with 0 to 64 rounds and permuted feed-forward words
  8. reviewsExactly 47 digest bits detect all 240 visible feed-forward carry faults on 56 one-block NIST SHA-256 tests

Cited by

8 publications
  1. Eight of 129 NIST byte tests are necessary and sufficient to detect one fixed bit swap between adjacent SHA-256 output words uses
  2. Among 129 NIST SHA-256 byte tests, 13 messages minimize input bytes for fixed output wiring and 12 minimize bytes with a digest reply uses
  3. A random sample of 20 of 129 NIST SHA-256 byte tests distinguishes all output wires with at least 95% probability at every fixed short and long quota split uses
  4. Eight selected bits of the difference between two NIST SHA-256 schedules identify all 64 indices reviews
  5. Unordered bytes leave exactly 32! fixed output wirings on 17 selected short NIST SHA-256 tests uses
  6. A fourth overlap moment raises the lower bound by one output swap for three fixed SHA-256 test suites uses
  7. The empty SHA-256 message identifies every fixed rotation and reflection within the eight output words uses
  8. Four extra NIST byte tests protect an eleven-test SHA-256 wiring certificate against the loss of any one response uses