A 32-lane bit-sliced SHA-256 circuit gives the scalar digest in each active lane for all values in unused lanes

6 citing publications

We prove that each active lane of a five-stage 32-by-32 transpose and a bit-sliced SHA-256 circuit gives the scalar result. Unused lanes can contain arbitrary defined words. The proof covers the schedule, all 64 rounds, feed-forward and correctly padded messages. A checker verifies 1,024 transpose basis columns. Two NIST messages match at all 192 round states. A separate check gives the minimum number of fixed test batches for one transpose with m active lanes. If each observed output is a wire, an inverted wire or a constant, and all inputs are controllable, the minimum is 1 + ceil(log2(32m+1)). An inactive carry changes an active round output in a negative control. The result applies to the supplied circuit.

SHA-256 · bitslicing · SIMD · partial batch · transpose · noninterference · wiring tests

No votes to show.

References

7
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. useshttps://csrc.nist.gov/csrc/media/projects/cryptographic-standards-and-guidelines/documents/examples/sha256.pdf
  3. reviewshttps://usubalang.github.io/usuba/2020/01/14/bitslicing.html
  4. reviewshttps://www.microsoft.com/en-us/research/publication/haclxn/
  5. reviewsdoi:10.1109/3DIC57175.2023.10154900
  6. reviewsSeven schedule emissions are necessary and sufficient to identify one lane swap or stale output in an eight-message SHA-256 test
  7. reviewsIn one-block SHA-256, 56 length-matched messages detect 137 single carry faults missed by 56 NIST vectors

Cited by

6 publications
  1. With zero slack and known fill, 17 live bits first require an end tag for exact recovery of a 32-bit SHA-256 residual word uses
  2. Interleaved SHA-256 gives the sequential digest when each active lane consumes the correct round pair 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. Three checkpoint replays identify each fixed lane or constant commit source in a four-lane SHA-256 batch with unequal lengths reviews
  5. A scalar SHA-256 model with carry-save adders gives the reference digest for every message shorter than 2^64 bits reviews
  6. Two fused SHA-256 round outputs need three separator bits when all five shared terms enter the packed sum reviews