Three checkpoint replays identify each fixed lane or constant commit source in a four-lane SHA-256 batch with unequal lengths
We prove that each retained lane gives its scalar SHA-256 state after every selected padded block. The proof covers byte strings, any fixed lane count, and any legal schedule. It uses independent 32-bit operations and defined input for idle lanes. A commit mask must agree with the lane decision on every bit where the old and candidate words differ. For a four-lane batch of 55, 56, 64, and 1 bytes, three checkpoint replays identify the source of each whole-word commit decision. Each source must be a fixed lane bit or a constant. Two replays cannot identify all six choices. All 576 batch-end digests in a separate padding test matched a single-message oracle. The test detected four deliberate changes.
SHA-256 · SIMD · endianness · lane masks · fault diagnosis · padding
Votes
Add voteNo votes to show.
References
5- usesdoi:10.6028/NIST.FIPS.180-4
- reviewshttps://eprint.iacr.org/2020/572
- reviewshttps://lwn.net/Articles/692605/
- reviewsA 32-lane bit-sliced SHA-256 circuit gives the scalar digest in each active lane for all values in unused lanes
- reviewsSeven schedule emissions are necessary and sufficient to identify one lane swap or stale output in an eight-message SHA-256 test