Lune

CCS2026Top-tier venue

2PC Memory-Manipulating Programs with Constant Overhead

David Heath

Abstract

General-purpose secure multiparty computation (MPC) remains bottlenecked in large part by a lack of efficient techniques for handling memory access. We demonstrate a remarkably simple and efficient 2PC instantiation of random access memory (RAM), based on distributed point functions (DPFs, Gilboa and Ishai, Eurocrypt'14). Our semi-honest 2PC protocol can be achieved from oblivious transfer (OT) and a black-box pseudorandom generator (PRG). For a memory storing large enough data words, our 2PC RAM incurs constant communication overhead per access. Like prior works using DPFs to achieve memory access, our work incurs linear computation per access, but per-access communication is lean. Our 2PC RAM is built on top of an obliviousness-friendly model of computation called the single access machine model (SAM, Appan et al., CCS'24). In the SAM model, each memory slot can be read at most once. We present a simple 2PC SAM protocol, where each single-access memory operation incurs at most O(w + λ lg n) bits of communication, where w is the word size, n is the number of memory words, and λ is a security parameter. Of this cost, only 2w + 2 lg n bits are incurred in the online phase. There are now many oblivious algorithms that compile directly to SAM more efficiently than via a compilation to RAM, and our 2PC SAM can instantiate these algorithms. As one example, we can use our 2PC SAM to implement privacy-preserving graph traversal (DFS or BFS) over a secret-shared size-n graph while revealing nothing beyond the runtime of the SAM program. Our construction achieves online communication O(n lg n) bits, asymptotically matching the number of bits touched in a corresponding cleartext graph traversal.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Scaling ORAM for Secure Computation cites Function Secret Sharing: Improvements and Extensions
  • Scaling ORAM for Secure Computation cites Revisiting Square-Root ORAM: Efficient Random Access in Multi-party Computation
  • SPIRAL: Fast, High-Rate Single-Server PIR via FHE Composition cites Function Secret Sharing: Improvements and Extensions
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on17

  1. Function Secret Sharing: Improvements and ExtensionsElette Boyle, Niv Gilboa, Yuval IshaiCCS 2016 · 404 citations
  2. Scaling ORAM for Secure ComputationJack Doerner, Abhi ShelatCCS 2017 · 221 citations
  3. SPIRAL: Fast, High-Rate Single-Server PIR via FHE CompositionSamir Jordan Menon, David J. WuS&P 2022 · 153 citations
  4. Revisiting Square-Root ORAM: Efficient Random Access in Multi-party ComputationSamee Zahur, Xiao Wang, Mariana Raykova, Adrià Gascón et al.S&P 2016 · 124 citations
  5. OptORAMa: Optimal Oblivious RAMGilad Asharov, Ilan Komargodski, Wei-Kai Lin, Kartik Nayak et al.EUROCRYPT 2020 · 92 citations

Related papers

  1. Efficient Actively Secure DPF and RAM-based 2PC with One-Bit LeakageWenhao Zhang, Xiaojie Guo, Kang Yang, Ruiyu Zhu et al.S&P 2024 · 5 citations
  2. Multiparty Garbling from OT with Linear Scaling and RAM SupportDavid Heath, Vladimir Kolesnikov, Varun Narayanan, Rafail Ostrovsky et al.CRYPTO 2025 · 4 citations
  3. Three-Round Secure Multiparty Computation from Black-Box Two-Round Oblivious TransferArpita Patra, Akshayaram SrinivasanCRYPTO 2021 · 10 citations
  4. Doubly Efficient Cryptography: Commitments, Arguments and RAM MPCWei-Kai Lin, Ethan Mook, Daniel WichsCRYPTO 2024 · 1 citation
  5. Duoram: A Bandwidth-Efficient Distributed ORAM for 2- and 3-Party ComputationAdithya Vadapalli, Ryan Henry, Ian GoldbergUSENIX Security 2023
Dusk over the sea between two cliffs drawn in fine vertical lines