{
  "id": "2023/108",
  "url": "https://opencryptology.org/2023/108",
  "original_url": "https://eprint.iacr.org/2023/108",
  "title": "Grotto: Screaming fast $(2 + 1)$-PC for $\\mathbb{Z}_{2^{n}}$ via (2, 2)-DPFs",
  "authors": [
    "Kyle Storrier",
    "Adithya Vadapalli",
    "Allan Lyons",
    "Ryan Henry"
  ],
  "affiliations": null,
  "abstract": "We introduce Grotto, a framework and C++ library for space- and time-efficient $(2+1)$-party piecewise polynomial (i.e., spline) evaluation on secrets additively shared over $\\mathbb{Z}_{2^{n}}$. Grotto improves on the state-of-the-art approaches based on distributed comparison functions (DCFs) in almost every metric, offering asymptotically superior communication and computation costs with the same or lower round complexity. At the heart of Grotto is a novel observation about the structure of the ``tree'' representation underlying the most efficient distributed point functions (DPFs) from the literature, alongside an efficient algorithm that leverages this structure to do with a single DPF what state-of-the-art approaches require many DCFs to do. Our open-source Grotto implementation supports evaluating dozens of useful functions out of the box, including trigonometric and hyperbolic functions (and their inverses); various logarithms; roots, reciprocals, and reciprocal roots; sign testing and bit counting; and over two dozen of the most common (univariate) activation functions from the deep-learning literature.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Grotto: Screaming fast $(2 + 1)$-PC for $\\mathbb{Z}_{2^{n}}$ via (2, 2)-DPFs” by Kyle Storrier, Adithya Vadapalli, Allan Lyons, Ryan Henry, Cryptology ePrint Archive, Paper 2023/108, https://eprint.iacr.org/2023/108. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2023-01-28T03:20:52Z",
    "updated": "2023-01-28T03:20:52Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/108.pdf",
    "sha256": "f476bca15ac55a0b8f2c1df86f0dd98e7b370bbafc8facc29c7dd9bd99be391c",
    "size": 911013,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:41Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/108/versions/20240114T061341Z.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/108.pdf",
      "size": 911013,
      "sha256": "f476bca15ac55a0b8f2c1df86f0dd98e7b370bbafc8facc29c7dd9bd99be391c",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260204064830id_/https://eprint.iacr.org/2023/108.pdf",
      "captured_at": "2026-02-04T06:48:30Z",
      "size": 910838
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/108.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "size": 911013
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/108,\n      author = {Kyle Storrier and Adithya Vadapalli and Allan Lyons and Ryan Henry},\n      title = {Grotto: Screaming fast $(2 + 1)$-PC for $\\mathbb{Z}_{2^{n}}$ via (2, 2)-DPFs},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/108},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/108}\n}"
}
