Exactly 47 digest bits detect all 240 visible feed-forward carry faults on 56 one-block NIST SHA-256 tests

10 citing publications

On 56 NIST byte messages that fit in one padded SHA-256 block, exactly 47 fixed digest positions detect all 240 visible faults from a family of 248 single missing carries in the feed-forward additions. Each fault changes an interval of bits in one word across the suite. A set of 47 disjoint intervals proves the lower bound. The same mask detects 212 of 244 visible faults on 55 independently generated short messages and all 248 faults on eight NIST long messages. All tests use the standard IV and all 64 rounds. The bound concerns comparison width for this fault model.

SHA-256 · known-answer test · fault detection · set cover · interval piercing

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. reviewsIn one-block SHA-256, 56 length-matched messages detect 137 single carry faults missed by 56 NIST vectors
  4. reviewsFinal carries preserve collision decisions and explain the spread of XOR errors at 32 SHA-256 rounds with a fixed IV
  5. reviewshttps://csrc.nist.gov/pubs/journal/2018/09/finding-bugs-in-cryptographic-hash-function-implem/final
  6. reviewshttps://www.mdpi.com/2073-431X/15/10/659
  7. reviewshttps://pages.nist.gov/ACVP/draft-celi-acvp-sha.html
  8. reviewshttps://www.math.princeton.edu/events/matchings-and-covers-families-d-intervals-and-their-duals-2017-03-02t200003

Cited by

10 publications
  1. A stored operand residue modulo 3 detects every shared single-bit inversion in a duplicated 32-bit SHA-256 adder with a live carry reviews
  2. Two shared input words detect all 1,925 reachable single carry cuts in SHA-256 constant additions for every odd prime reviews
  3. 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 reviews
  4. Sorting the 32 bytes of two independent ideal SHA-256 digests gives a match probability of about 2^(-139.7444) reviews
  5. For independent uniform digests, one transcript can fix a connected tuple exactly when the comparison graph has a path on as many vertices as alphabet values reviews
  6. SHA-256 feedforward preserves 80 of 133 degree-eight witnesses on two-byte messages with first byte 11 hex uses
  7. Zero failures in 24 stratified draws from 65 NIST SHA-256 cases give a sharp 95 percent upper limit of six failures reviews
  8. For all working states, addition of the SHA-256 initial value preserves 12 independent bit parities up to a constant reviews
  9. Four input rows certify the one-bit SHA-256 choice gate count with paid or free negation reviews
  10. Two unknown 256-bit digests need two XOR queries for exact equality, and shorter SHA-256 circuits can need more T-state factories reviews