{
  "id": "2020/1461",
  "url": "https://opencryptology.org/2020/1461",
  "original_url": "https://eprint.iacr.org/2020/1461",
  "title": "Lower bounds for the depth of modular squaring",
  "authors": [
    "Benjamin Wesolowski",
    "Ryan Williams"
  ],
  "affiliations": null,
  "abstract": "The modular squaring operation has attracted significant attention due to its potential in constructing cryptographic time-lock puzzles and verifiable delay functions. In such applications, it is important to understand precisely how quickly a modular squaring operation can be computed, even in parallel on dedicated hardware.\n\nWe use tools from circuit complexity and number theory to prove concrete numerical lower bounds for squaring on a parallel machine, yielding nontrivial results for practical input bitlengths. For example, for $n=2048$, we prove that every logic circuit (over AND, OR, NAND, NOR gates of fan-in two) computing modular squaring on all $n$-bit inputs (and any modulus that is at least $2^{n-1}$) requires depth (critical path length) at least $12$. By a careful analysis of certain exponential Gauss sums related to the low-order bit of modular squaring, we also extend our results to the average case. For example, our results imply that every logic circuit (over any fan-in two basis) computing modular squaring on at least $76\\%$ of all $2048$-bit inputs (for any RSA modulus that is at least $2^{n-1}$) requires depth at least $9$.",
  "category": "Applications",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Lower bounds for the depth of modular squaring” by Benjamin Wesolowski, Ryan Williams, Cryptology ePrint Archive, Paper 2020/1461, https://eprint.iacr.org/2020/1461. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2020-11-19T13:24:53Z",
    "updated": "2020-11-19T13:24:53Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2020/1461.pdf",
    "sha256": "a342f9b39baed915f28ab084104bfdf74572b5cc3a9490735821e9b07dd68ae4",
    "size": 570270,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:14Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2020/1461/versions/20240114T061314Z.pdf",
      "captured_at": "2024-01-14T06:13:14Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/1461.pdf",
      "size": 570270,
      "sha256": "a342f9b39baed915f28ab084104bfdf74572b5cc3a9490735821e9b07dd68ae4",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260312023140id_/https://eprint.iacr.org/2020/1461.pdf",
      "captured_at": "2026-03-12T02:31:40Z",
      "size": 570871
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/1461.pdf",
      "captured_at": "2024-01-14T06:13:14Z",
      "size": 570270
    }
  ],
  "bibtex": "@misc{cryptoeprint:2020/1461,\n      author = {Benjamin Wesolowski and Ryan Williams},\n      title = {Lower bounds for the depth of modular squaring},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2020/1461},\n      year = {2020},\n      url = {https://eprint.iacr.org/2020/1461}\n}"
}
