Two ways to group SHA-256 round outputs give word graphs of treewidth 25 and 24 at 64 rounds on 52-byte messages

4 citing publications

For all 52-byte messages, we compare three word graphs for the first 1 through 64 rounds of SHA-256. We fix the standard initial value, padding, message schedule, and eight output words. At 64 rounds a single factor for both new state words has treewidth 25. Two separate output equations have treewidth 24 on the same vertices. Giving the shared sum its own variable gives treewidth between 22 and 24. If these sum variables must all go first, the best elimination order has width 25. At every depth from 7 through 16 the three widths are 10, 9, and 8. An elimination order and a graph minor certify bounds for each of the 192 graphs. The results measure the effect of constraint grouping on treewidth.

SHA-256 · treewidth · primal graph · variable elimination · graph minor · message schedule

No votes to show.

References

8
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/shs/shabytetestvectors.zip
  3. usesdoi:10.48550/arXiv.1207.4109
  4. usesdoi:10.7155/jgaa.00117
  5. useshttps://eprint.iacr.org/2008/131
  6. reviewshttps://srfp311t1.com/sha256inv
  7. usesThe two SHA-256 round sums need 22 carry states at cuts 9 through 29 with independent input words
  8. usesGiven the final eight schedule words, local SHA-256 equations leave hidden message words unrestricted at 43 to 64 rounds for word-aligned inputs up to 52 bytes

Cited by

4 publications
  1. At depth eight, forward SHA-256 word checks need 88 witness words for two chained blocks and 80 for two independent calls uses
  2. Two wire graphs for SHA-256 Sigma0 plus a carry chain have pathwidth at most 16 and need at least 26 live vertices in forward order reviews
  3. Two 64-round SHA-256 circuit graphs have zero or 64 independent swaps when only wire direction is kept reviews
  4. Eight rotating register names preserve SHA-256 rounds, and the empty message detects all 112 recurring single write faults in this model reviews