Six copied SHA-256 registers leave exactly 2^160 ambiguous records at state 9 with a gap of one or two rounds on one-block messages
An observer reads the six copied SHA-256 registers at state 9. The second reading occurs at state 10 or one round late at state 11. We give an exact timing test for every pair of readings with the standard IV and legal one-block padding. The delayed alignment must pass one pair comparison and one 32-bit sum. Both alignments admit exactly 2^160 common records. Every accepted alignment has a 40-byte witness. For a uniform 40-byte message the chance that both timings fit is 2^-96 for an on-time observation and 2^-128 for a delayed observation. The chance that the same message gives the same second reading at both times is 2^-192. An independent forward implementation checks the example messages. These results apply to internal round observations.
Votes
Add voteNo votes to show.
References
7- usesdoi:10.6028/NIST.FIPS.180-4
- useshttps://eprint.iacr.org/2008/131
- reviewshttps://srfp311t1.com/sha256inv
- reviewsWith the standard IV and 40-byte messages, register copies generate all constant parities across SHA-256 states 8 through 11
- reviewsOne adjacent word copy preserves a single-block SHA-256 message but can hide which of two unrestricted blocks produced the trace
- reviewsOne NIST block separates all distinct SHA-256 prefix functions with 0 to 64 rounds and permuted feed-forward words
- reviewssci:sha256:63f35bcf718ceb2c9fb328b0271c7d931c04f4922738457f4673906df39a4d24 not known to sciscape