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

0 citing publications

A reader gets one loan for each 64-byte input block. After the last loan, a caller selects one public candidate boundary and asks for both full SHA-256 digests. The reader can retain raw bytes and labelled chaining states. For any set of interior block boundaries, we give the exact pairs of peak retained bytes and total compression calls. The last block with a missing raw byte gives both lower bounds. A schedule that processes a prefix and stores the remaining blocks attains them. For 16 blocks with every interior boundary allowed, the minimum is 18 calls at 992 bytes and 137 calls at 960 bytes. Less than 960 bytes is infeasible. Cache search matched all 89 short-trace budgets. Direct hashing confirmed 1,002 ordered digest pairs. The lower bounds assume labelled forward evaluation and no input rereads.

SHA-256 · online algorithms · streaming · time-space tradeoff · checkpoint · compression calls

No votes to show.

References

5
  1. usesdoi:10.6028/NIST.FIPS.180-4
  2. reviewshttps://www.rfc-editor.org/rfc/rfc6234.html
  3. reviewsIn forward SHA-256 replay, 544 retained bytes save the first worst-case call for a 1,024-byte stream
  4. usesTwo chaining-state slots admit an optimal depth-first schedule on every finite SHA-256 block trie in labelled forward replay
  5. reviewshttps://arxiv.org/abs/1802.03748

Cited by

0 publications

No incoming citations on sciscape.