Five cross-lane constraints give all correct orders for a four-step SHA-256 ring update with separate loads

2 citing publications

A four-step SHA-256 schedule update uses four separate loads and one sum and store per lane. For every raw block, three old-word constraints and two new-word constraints suffice to preserve the full schedule in a 16-word ring. Each constraint is necessary for correctness on all blocks. Exactly 22,695,520,813,056 orders meet them. One block with input words 0 through 15 detects every illegal order with defined local operands at each of the twelve aligned starts. A 72-comparison certificate includes simultaneous errors. One adjacent swap changes the first expanded word on this block.

SHA-256 · message schedule · loop unrolling · functional equivalence · instruction scheduling

No votes to show.

References

4
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. reviewshttps://www.intel.com/content/www/us/en/developer/articles/technical/intel-sha-extensions.html
  3. reviewshttps://github.com/openssl/openssl/blob/openssl-3.0.0/crypto/sha/sha256.c
  4. usesOne block detects all 2,880 single wrong-slot reads in a 16-word SHA-256 schedule

Cited by

2 publications
  1. A one-word SHA-256 schedule pipeline preserves all 64 outputs after reload exactly when its pending word equals the new W[16] reviews
  2. A 16-word SHA-256 ring with one prefetched word preserves all 64 emissions under arbitrary stalls when count and validity agree reviews