Seven schedule emissions are necessary and sufficient to identify one lane swap or stale output in an eight-message SHA-256 test

3 citing publications

One batch of eight 64-byte messages identifies 7,488 single schedule faults and the clean case. Each fault swaps two message lanes in one summand or in the output, or uses one of two stale words in one output lane. The fault acts at one update from W16 through W63. The last two emissions leave 140 pairs of labels indistinguishable for every batch. All other labels separate on the supplied batch. Reading W57 through W63 identifies every label. Each of these seven times is necessary for fixed probes that read ordered schedule emissions. An unrelated batch gives the same classes. Independent scalar and packed implementations agree. The result applies to logical schedule words before compression.

SHA-256 · message schedule · fault diagnosis · SIMD · mutation testing

No votes to show.

References

6
  1. sci:sha256:63f35bcf718ceb2c9fb328b0271c7d931c04f4922738457f4673906df39a4d24 not known to sciscape
  2. One block detects all 2,880 single wrong-slot reads in a 16-word SHA-256 schedule
  3. doi:10.6028/NIST.FIPS.180-4
  4. https://www.microsoft.com/en-us/research/publication/haclxn/
  5. https://github.com/hacl-star/hacl-star/blob/f557259007db9933442dde10aa995c1b00bd3446/code/sha2-mb/Hacl.Spec.SHA2.Equiv.fst#L132-L184
  6. https://eprint.iacr.org/2023/1861

Cited by

3 publications
  1. A 32-lane bit-sliced SHA-256 circuit gives the scalar digest in each active lane for all values in unused lanes reviews
  2. Three checkpoint replays identify each fixed lane or constant commit source in a four-lane SHA-256 batch with unequal lengths reviews
  3. With one unknown constant per round, 13 low residual bits identify each SHA-256 schedule index on the NIST two-block example reviews