Lune

CRYPTO2022Top-tier venue

Block-Cipher-Based Tree Hashing

Aldo Gunsing

Abstract

First of all we take a thorough look at an error in a paper by Daemen et al. (ToSC 2018) which looks at minimal requirements for tree-based hashing based on multiple primitives, including block ciphers. This reveals that the error is more fundamental than previously shown by Gunsing et al. (ToSC 2020), which is mainly interested in its effect on the security bounds. It turns out that the cause for the error is due to an essential oversight in the interaction between the different oracles used in the indifferentiability proofs. In essence, it reduces the claim from the normal indifferentiability setting to the weaker sequential indifferentiability one. As a matter of fact, this error appeared in multiple earlier indifferentiability papers, including the optimal indifferentiability of the sum of permutations (EUROCRYPT 2018) and the recent ABR + construction (EUROCRYPT 2021). We discuss in detail how this oversight is caused and how it can be avoided.

We next demonstrate how the negative effects on the security bound of the construction by Daemen et al. can be resolved. Instead of only allowing a truncated output, we generalize the construction to allow for any finalization function and investigate the security of this for five different types of finalization. Our findings, among others, show that the security of the SHA-2 mode does not degrade if the feed-forward is dropped and that the modern BLAKE3 construction is secure in principle but that its use of the extendable output requires its counter used for random access to be public. Finally, we introduce the tree sponge, a generalization of the sequential sponge construction with parallel absorbing and squeezing.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Revisiting the Indifferentiability of the Sum of PermutationsAldo Gunsing, Ritam Bhaumik, Ashwin Jha, Bart Mennink et al.CRYPTO 2023 · 10 citations

Builds on1

  1. Compactness of Hashing Modes and Efficiency Beyond Merkle TreeElena Andreeva, Rishiraj Bhattacharyya, Arnab RoyEUROCRYPT 2021 · 8 citations

Related papers

  1. The Sponge Is Quantum IndifferentiableGorjan Alagic, Joseph Carolan, Christian Majenz, Saliha TokatFOCS 2025 · 6 citations
  2. Permutation-Based Hashing with Stronger (Second) Preimage ResistanceSiwei Sun, Shun Li, Zhiyu Zhang, Charlotte Lefevre et al.CRYPTO 2026
  3. Permutation-Based Hash from Non-Idealized Assumptions: Adding Feed-Forward to SpongeChun Guo, Kai Hu, Shuntian Jiang, Yanhong Fan et al.CRYPTO 2026
  4. How to Build a Short-Input Random Oracle from Public Random PermutationsRitam Bhaumik, Nilanjan Datta, Avijit Dutta, Ashwin Jha et al.EUROCRYPT 2026
  5. Tight Preimage Resistance of the Sponge ConstructionCharlotte Lefevre, Bart MenninkCRYPTO 2022 · 15 citations
Dusk over the sea between two cliffs drawn in fine vertical lines