A stored operand residue modulo 3 detects every shared single-bit inversion in a duplicated 32-bit SHA-256 adder with a live carry

2 citing publications

Two copies of an unsigned adder read one shared operand bus. One bit changes before both copies. We prove when the observed wires and a reference tag match a valid clean addition. A residue computed from the changed bus always matches. With a protected operand residue modulo m and the active carry, bit k is detected exactly when m does not divide 2^k. If only the protected residue of the intended low sum is supplied, a change in carry gives a second divisibility test. At width 32 the smallest modulus for this low-sum check is 37. Every operand pair is reachable in the stated SHA-256 message schedule circuit. An exhaustive check covers widths 1 through 6. The result concerns one addition.

SHA-256 · residue checking · fault detection · common-mode fault · modular addition

No votes to show.

References

7
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. reviewshttps://ntrs.nasa.gov/citations/19790022776
  3. reviewshttps://re.public.polimi.it/handle/11311/552569
  4. reviewshttps://data.epo.org/publication-server/rest/v1.2/publication-dates/2025-12-17/patents/EP3716070NWB1/document.pdf
  5. reviewsdoi:10.3390/s22135028
  6. reviewsExactly 47 digest bits detect all 240 visible feed-forward carry faults on 56 one-block NIST SHA-256 tests
  7. reviewsTwo adder trees give the same 256-bit state after one SHA-256 round for all 32-bit inputs

Cited by

2 publications
  1. For three carry-save stages in SHA-256 round 0, the tree changes the raw rail sum on 3/8 of four-byte messages reviews
  2. On uniform raw SHA-256 blocks with fixed row residuals, two word residue checks have an exact product law through 16 consecutive rows reviews