In one-block SHA-256, 56 length-matched messages detect 137 single carry faults missed by 56 NIST vectors
We tested faults that clear one bit of the carry at one cut in the five-term SHA-256 round sum. We used the standard IV, one padded block, all 64 rounds, and all 256 output bits. We prove that a digest changes exactly when the selected carry bit is set. Independent digest replay agreed with this test in all 645,120 trials. Among 5,760 faults, 137 passed all 56 one-block NIST short-message vectors but failed on a second set of 56 messages matched by length. All 137 involve the carry bit with weight four. A certificate shows that 52 messages from the second set are necessary and sufficient to retain these extra detections. The data measure test coverage. The effect of branching order on collision or preimage search remains open.
Votes
Add voteNo votes to show.
References
7- reviewsThe two SHA-256 round sums need 22 carry states at cuts 9 through 29 with independent input words
- usesFinal carries preserve collision decisions and explain the spread of XOR errors at 32 SHA-256 rounds with a fixed IV
- usesdoi:10.6028/NIST.FIPS.180-4
- useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/shs/shabytetestvectors.zip
- reviewsdoi:10.48550/arXiv.2406.20072
- reviewshttps://eprint.iacr.org/2026/232
- useshttps://github.com/B-Con/crypto-algorithms/tree/cfbde48414baacf51fc7c74f275190881f037d32
Cited by
7 publications- Exactly 47 digest bits detect all 240 visible feed-forward carry faults on 56 one-block NIST SHA-256 tests reviews
- Two shared input words detect all 1,925 reachable single carry cuts in SHA-256 constant additions for every odd prime uses
- A 32-lane bit-sliced SHA-256 circuit gives the scalar digest in each active lane for all values in unused lanes reviews
- For uniform 55-byte messages with the last bit flipped, a 95% band places mean SHA-256 bit change within 0.005 of one half from round 20 through the digest reviews
- With 2^20 advice bits and fewer than 2^32 online queries, preimage success is below 2^-201 for a 256-bit random function on 32-byte messages reviews
- On 64-byte SHA-256 messages with the standard IV, 37 is the least prime that detects every live carry reset when the first block adds the round constant last reviews
- For four-byte SHA-256 messages with the standard IV, the lower 21 bits set the bit-21 flip rate for the low bit of A after two steps to 0, 1, or 7/8 uses