Lune

EUROCRYPT2024Top-tier venue

Trapdoor Memory-Hard Functions

Benedikt Auerbach, Christoph U. Günther, Krzysztof Pietrzak

2024Year
5Citations

Abstract

Memory-hard functions (MHF) are functions whose evaluation provably requires a lot of memory. While MHFs are an unkeyed primitive, it is natural to consider the notion of trapdoor MHFs (TMHFs). A TMHF is like an MHF, but when sampling the public parameters one also samples a trapdoor which allows evaluating the function much cheaper.

Biryukov and Perrin (Asiacrypt'17) were the first to consider TMHFs and put forth a candidate TMHF construction called Diodon that is based on the Scrypt MHF (Percival, BSDCan'09). To allow for a trapdoor, Scrypt's initial hash chain is replaced by a sequence of squares in a group of unknown order where the order of the group is the trapdoor. For a length nn sequence of squares and a group of order NN, Diodon's cumulative memory complexity (CMC) is O(n2log⁡N)O(n^2\log N) without the trapdoor and O(nlog⁡(n)log⁡(N)2)O(n \log(n) \log(N)^2) with knowledge of it.

While Scrypt is proven to be optimally memory-hard in the random oracle model (Alwen et al., Eurocrypt'17), Diodon's memory-hardness has not been proven so far. In this work, we fill this gap by rigorously analyzing a specific instantiation of Diodon. We show that its CMC is lower bounded by Ω(n2log⁡nlog⁡N)\Omega(\frac{n^2}{\log n} \log N) which almost matches the upper bound. Our proof is based Alwen et al.'s lower bound on Scrypt's CMC but requires non-trivial modifications due to the algebraic structure of Diodon. Most importantly, our analysis involves a more elaborate compression argument and a solvability criterion for certain systems of Diophantine equations.

Ask about this paper

Ask your agent about it.

Lune has read the top-tier papers around this one, so every answer names the papers it rests on.

Questions to start from

Your agent calls

Lunesearch_papers

Ask in Lune

Free to start. No credit card required.

lune papers get 4fb9c42c-5f55-4122-b8a1-fbcbc553aebd

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines