Two chaining-state slots admit an optimal depth-first schedule on every finite SHA-256 block trie in labelled forward replay

1 citing publication

For a public batch of padded SHA-256 messages, we count full compression calls when the active state and one checkpoint occupy two slots. We prove an exact edge cost for every finite trie in labelled forward replay. A linear-time algorithm selects a set of leaves. Its depth-first schedule attains the minimum over all schedules. Seven edges are necessary and sufficient for a trie to force a repeated call. On 9,892 prefix queries from 64 NIST messages, the minimum was 16,407 calls. Separate evaluation took 341,461. Unrestricted search confirmed the cost on 42 controlled forks and all 199 rooted shapes with two through eight vertices. The result assumes a free initial value, write-only output, and reuse by block-prefix label.

SHA-256 · trie · checkpoint · forward replay · depth-first search · CAVP

No votes to show.

References

6
  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. usesOn a fixed trie with ideal compression, the edge count and root labels determine the risk of a repeated output state
  4. reviewsIn forward SHA-256 replay, 544 retained bytes save the first worst-case call for a 1,024-byte stream
  5. reviewsdoi:10.14778/3514061.3514075
  6. reviewshttps://paeon.di.uniroma1.it/documents/publications/32_Mancini_etal2014.pdf

Cited by

1 publication
  1. The last incomplete raw block determines the exact call and memory bounds for a late, block-aligned SHA-256 split in labelled forward evaluation uses