Lune

CCS2018Top-tier venue

Bandwidth-Hard Functions: Reductions and Lower Bounds

Jeremiah Blocki, Ling Ren, Samson Zhou

Abstract

Memory Hard Functions (MHFs) have been proposed as an answer to the growing inequality between the computational speed of general purpose CPUs and Application Specific Integrated Circuits (ASICs). MHFs have seen widespread applications including password hashing, key stretching and proofs of work. Several metrics have been proposed to quantify the "memory hardness" of a function. Cumulative memory complexity (CMC) [8] (or amortized Area × Time complexity [4]) attempts to quantify the cost to acquire/build the hardware to evaluate the function -after normalizing the time it takes to evaluate the function. By contrast, bandwidth hardness [30] attempts to quantify the amortized energy costs of evaluating this function on hardware -which in turn is largely dominated by the number of cache misses. Ideally, a good MHF would be both bandwidth hard and have high cumulative memory complexity. While the cumulative memory complexity of leading MHF candidates is well understood, little is known about the bandwidth hardness of many prominent MHF candidates. Our contributions are as follows: First, we provide the first reduction proving that, in the parallel random oracle model, the bandwidth hardness of a Data-Independent Memory Hard Function (iMHF) is described by the red-blue pebbling cost of the directed acyclic graph (DAG) associated with that iMHF. Second, we show that the goals of designing an MHF with high CMC/bandwidth hardness are well aligned. In particular, we prove that any function with high CMC also has relatively high energy costs. This result leads to the first unconditional lower bound on the energy cost of scrypt in the parallel random oracle model. Third, we analyze the bandwidth hardness of several prominent iMHF candidates such as Argon2i [11] , winner of the password hashing competition, aATSample and DRSample [4] -the first practical iMHF with essentially asymptotically optimal CMC. We show Argon2i, aATSample and DRSample are maximally bandwidth hard under appropriate cache size. Finally, we show that the problem of finding a red-blue pebbling with minimum energy cost is NP-hard.

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.

2 top-tier papers have 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

  • Data-Dependent Memory-Hard Functions: Sustained Space and Cumulative Complexity Trade-Offs in the Parallel Random Oracle Model cites Practical Graphs for Optimal Side-Channel Resistant Memory-Hard Functions
  • Data-Dependent Memory-Hard Functions: Sustained Space and Cumulative Complexity Trade-Offs in the Parallel Random Oracle Model cites On the Economics of Offline Password Cracking
  • On the Economics of Offline Password Cracking cites Practical Graphs for Optimal Side-Channel Resistant Memory-Hard Functions
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. MagTracer: Detecting GPU Cryptojacking Attacks via Magnetic Leakage SignalsRui Xiao, Tianyu Li, Soundarya Ramesh, Jun Han et al.MobiCom 2023 · 20 citations
  2. Data-Dependent Memory-Hard Functions: Sustained Space and Cumulative Complexity Trade-Offs in the Parallel Random Oracle ModelJeremiah Blocki, Blake HolmanCRYPTO 2026

Builds on2

  1. On the Economics of Offline Password CrackingJeremiah Blocki, Benjamin Harsha, Samson ZhouS&P 2018 · 79 citations
  2. Practical Graphs for Optimal Side-Channel Resistant Memory-Hard FunctionsJoël Alwen, Jeremiah Blocki, Benjamin HarshaCCS 2017 · 46 citations

Related papers

  1. Sustained Space and Cumulative Complexity Trade-Offs for Data-Dependent Memory-Hard FunctionsJeremiah Blocki, Blake HolmanCRYPTO 2022 · 5 citations
  2. Trapdoor Memory-Hard FunctionsBenedikt Auerbach, Christoph U. Günther, Krzysztof PietrzakEUROCRYPT 2024 · 5 citations
  3. Egalitarian ComputingAlex Biryukov, Dmitry KhovratovichUSENIX Security 2016 · 26 citations
  4. Equihash: Asymmetric Proof-of-Work Based on the Generalized Birthday ProblemAlex Biryukov, Dmitry KhovratovichNDSS 2016 · 110 citations
  5. The Impact of Reversibility on Parallel PebblingJeremiah Blocki, Blake Holman, Seunghoon LeeEUROCRYPT 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines