Three source switches can require every parent hash in a stable merge of two authenticated runs of equal power-of-two size
We count new SHA-256 parent hashes after a stable merge. Both input trees use the RFC 9162 shape. All node digests are available, records have distinct encodings, and the evaluator can copy an identical subtree or hash two children. For each segment of the merge, we count the power-of-two blocks that align in both the source and the output. A suffix test counts reusable nodes of other sizes. For two inputs of length m = 2^h, h ≥ 1, the worst costs with budgets of one, two, and at least three source switches are 1, m + h, and 2m − 1 parent hashes. Each parent takes two compression evaluations. With unequal lengths, one switch can require every parent. A recursive check agreed with the formula and the root from a full rebuild on all 32,738 merge words of lengths 2 through 14 that use both sources.
Votes
Add voteNo votes to show.
References
7- usesdoi:10.6028/NIST.FIPS.180-4
- useshttps://www.rfc-editor.org/rfc/rfc9162.html
- reviewshttps://www.usenix.org/legacy/event/sec09/tech/full_papers/crosby.pdf
- useshttps://github.com/transparency-dev/merkle/blob/main/docs/compact_ranges.md
- reviewshttps://datatracker.ietf.org/doc/html/draft-reilly-plants-bulk-subtree-proofs-01
- usesDistinct ordered subtrees give the exact query count before a collision in a tagged binary commitment forest
- usesTwo Clean compression calls give the RFC 9162 SHA-256 parent for normalized child words
Cited by
0 publicationsNo incoming citations on sciscape.