Paper 2023/108

Grotto: Screaming fast $(2 + 1)$-PC for $\mathbb{Z}_{2^{n}}$ via (2, 2)-DPFs

Kyle Storrier
Adithya Vadapalli
Allan Lyons
Ryan Henry
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.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2023/108,
      author = {Kyle Storrier and Adithya Vadapalli and Allan Lyons and Ryan Henry},
      title = {Grotto: Screaming fast $(2 + 1)$-PC for $\mathbb{Z}_{2^{n}}$ via (2, 2)-DPFs},
      howpublished = {Cryptology {ePrint} Archive, Paper 2023/108},
      year = {2023},
      url = {https://eprint.iacr.org/2023/108}
}
Category
Cryptographic protocols
License
CC BY
Submitted
Versions

Report a problem

Comments

Log in or create an account

Privacy