Two exact bounds give the SHA-256 cost of batch openings for every RFC 9162 tree size
How much work does a shared inclusion proof require when the last level of a binary tree is incomplete? We count full SHA-256 compression calls for every nonempty set of opened leaf digests in the RFC 9162 tree. We assume that the verifier has the required sibling digests and evaluates each required parent position once. A binary digit count and a choice of at most one right suffix give the minimum for each batch size. A sum over the real splits at each scale gives the maximum. We construct openings that attain both bounds. In a 13-leaf tree, six openings require from 14 to 24 calls. An independent verifier matched the root and call count for all 131,054 nonempty sets in trees with 1 through 16 leaves. A separate optimization matched both extrema for all sizes through 257 leaves.
Votes
Add voteNo votes to show.
References
9- useshttps://www.rfc-editor.org/rfc/rfc9162.html
- usesdoi:10.6028/NIST.FIPS.180-4
- useshttps://www.post-apocalyptic-crypto.org/downloads/files/thesis.pdf
- reviewshttps://gendignoux.com/assets/pdf/2017-07-master-thesis-endignoux-report.pdf
- reviewshttps://arxiv.org/abs/2002.07648
- reviewshttps://eips.ethereum.org/EIPS/eip-8364
- reviewshttps://eprint.iacr.org/2021/038
- usesTwo Clean compression calls give the RFC 9162 SHA-256 parent for normalized child words
- reviewsDistinct ordered subtrees give the exact query count before a collision in a tagged binary commitment forest
Cited by
3 publications- Interval piercing gives the minimum number of open leaves for rank bounds in a sorted list with fixed occurrence slots reviews
- An interval algorithm gives the minimum sibling count for report and existence queries on sorted Merkle leaves with duplicate keys reviews
- For exact range endpoints in a sorted Merkle tree, opening the smallest hidden subtrees saves the most sibling digests per leaf budget uses