{
  "id": "2016/875",
  "url": "https://opencryptology.org/2016/875",
  "original_url": "https://eprint.iacr.org/2016/875",
  "title": "Depth-Robust Graphs and Their Cumulative Memory Complexity",
  "authors": [
    "Joël Alwen",
    "Jeremiah Blocki",
    "Krzysztof Pietrzak"
  ],
  "affiliations": null,
  "abstract": "Data-independent Memory Hard Functions (iMHFS) are finding a growing number of applications in security; especially in the domain of password hashing. An important property of a concrete iMHF is specified by fixing a directed acyclic graph (DAG) $G_n$ on $n$ nodes. The quality of that iMHF is then captured by the following two pebbling complexities of $G_n$:\n\\begin{itemize}\n\\item The parallel cumulative pebbling complexity $\\Pi^{\\parallel}_{cc}(G_n)$ must be as high as possible (to ensure that the amortized cost of computing the function on dedicated hardware is dominated by the cost of memory).\n\n\\item The sequential space-time pebbling complexity $\\Pi_{st}(G_n)$ should be as close as possible to $\\Pi^{\\parallel}_{cc}(G_n)$ (to ensure that using many cores in parallel and amortizing over many instances does not give much of an advantage).\n\\end{itemize}\nIn this paper we construct a family of DAGs with best possible parameters in an asymptotic sense, i.e., where $\\Pi^{\\parallel}_{cc}(G_n)=\\Omega(n^2/\\log(n))$ (which matches a known upper bound) and $\\Pi_{st}(G_n)$ is within a constant factor of $\\Pi^{\\parallel}_{cc}(G_n)$.\n\nOur analysis relies on a new connection between the pebbling complexity of a DAG and its depth-robustness (DR) -- a well studied combinatorial property.\nWe show that high DR is {\\em sufficient} for high $\\Pi^{\\parallel}_{cc}$. Alwen and Blocki (CRYPTO'16) showed that high DR is {\\em necessary} and so, together, these results fully characterize DAGs with high $\\Pi^{\\parallel}_{cc}$ in terms of DR.\n\nComplementing these results, we provide new upper and lower bounds on the $\\Pi^{\\parallel}_{cc}$ of several important candidate iMHFs from the literature. We give the first lower bounds on the memory hardness of the Catena and Balloon Hashing functions in a parallel model of computation and we give the first lower bounds of any kind for (a version) of Argon2i.\n\nFinally we describe a new class of pebbling attacks improving on those of Alwen and Blocki (CRYPTO'16). By instantiating these attacks we upperbound the $\\Pi^{\\parallel}_{cc}$ of the Password Hashing Competition winner Argon2i and one of the Balloon Hashing functions by $O\\left(n^{1.71} \\right)$. We also show an upper bound of $O(n^{1.625})$ for the Catena functions and the two remaining Balloon Hashing functions.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Depth-Robust Graphs and Their Cumulative Memory Complexity” by Joël Alwen, Jeremiah Blocki, Krzysztof Pietrzak, Cryptology ePrint Archive, Paper 2016/875, https://eprint.iacr.org/2016/875. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2016-09-14T03:24:47Z",
    "updated": "2017-02-13T20:39:17Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2016/875.pdf",
    "sha256": "5f7ba3063e0431f6434753dd87298f6e4cd90fc3517543f33812f37e3a10d291",
    "size": 659333,
    "source": "github-mirror",
    "source_date": "2019-02-25T17:24:56Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2016/875/versions/20190225T172456Z.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/875.pdf",
      "size": 659333,
      "sha256": "5f7ba3063e0431f6434753dd87298f6e4cd90fc3517543f33812f37e3a10d291",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20250812194520id_/https://eprint.iacr.org/2016/875.pdf",
      "captured_at": "2025-08-12T19:45:20Z",
      "size": 654142
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/875.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "size": 659333
    }
  ],
  "bibtex": "@misc{cryptoeprint:2016/875,\n      author = {Joël Alwen and Jeremiah Blocki and Krzysztof Pietrzak},\n      title = {Depth-Robust Graphs and Their Cumulative Memory Complexity},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2016/875},\n      year = {2016},\n      url = {https://eprint.iacr.org/2016/875}\n}"
}
