Lune

CCS2023Top-tier venue

Grotto: Screaming fast (2+1)-PC or ℤ2n 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 ℤ2n. 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 lightweight DPF what state-of-the-art approaches require comparatively heavyweight DCFs to do. Our open-source Grotto implementation supports dozens of useful functions out of the box, including trigonometric and hyperbolic functions with 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.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

its abstract · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. LightShark: Actively Secure Machine-Learning Inference Based on Lightweight Authenticated Distributed Comparison FunctionChenkai Zeng, Qi Feng, Debiao He, Min LuoCCS 2026

Related papers

  1. CAVERN: Efficient Honest-Majority Maliciously Secure (2+1)-PC for Z2n\mathbb{Z}_{2^{n}} via DPFYang Liu, Liang Feng ZhangS&P 2026
  2. Half-Tree: Halving the Cost of Tree Expansion in COT and DPFXiaojie Guo, Kang Yang, Xiao Wang, Wenhao Zhang et al.EUROCRYPT 2023 · 30 citations
  3. NFGen: Automatic Non-linear Function Evaluation Code Generator for General-purpose MPC PlatformsXiaoyu Fan, Kun Chen, Guosai Wang, Mingchun Zhuang et al.CCS 2022 · 9 citations
  4. Distributed Function Secret Sharing and ApplicationsPengzhi Xing, Hongwei Li, Meng Hao, Hanxiao Chen et al.NDSS 2025
  5. Efficient and High-Accuracy Secure Two-Party Protocols for a Class of Functions with Real-number InputsHao Guo, Zhaoqian Liu, Liqiang Peng, Shuaishuai Li et al.USENIX Security 2026 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines