Improved Garbled RAM via Garbled Merge
Can Liu, Lenny Liu, Ning Luo, David Heath
Abstract
Consider the problem of merging inside a garbled circuit (GC) two arrays of w-bit elements, yielding a single length-n array. This garbled merge problem is core to garbled random access memory (GRAM), a technique that enables efficient garbling of general-purpose programs. We present a novel symmetrickey-based garbled merge that achieves a garbling size of (w + 1) • n • λ bits, providing both asymptotic and concrete improvements over the state of the art. By applying our garbled merge, we obtain a symmetrickey GRAM of size O(n lg 3 n • λ) • ω(1) for a word RAM program that manipulates words of size Θ(lg n) bits and halts within n steps, improving over the previous best result (Heath et al., CRYPTO'23) by an O(lg lg n) factor. This communication cost was previously only achieved under the public-key-style DDH assumption (Gu et al., CRYPTO'25). We implement our construction, and our evaluation shows that our garbled merge reduces the communication cost over the DDH-based merge by about 3×.
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.
Lineage
Builds on6
- Efficient and Secure Multiparty Computation from Fixed-Key Block CiphersChun Guo, Jonathan Katz, Xiao Wang, Yu YuS&P 2020 · 96 citations
- One Hot GarblingDavid Heath, Vladimir KolesnikovCCS 2021 · 20 citations
- Efficient Arithmetic in Garbled CircuitsDavid HeathEUROCRYPT 2024 · 12 citations
- EpiGRAM: Practical Garbled RAMDavid Heath, Vladimir Kolesnikov, Rafail OstrovskyEUROCRYPT 2022 · 12 citations
- Tri-State Circuits - A Circuit Model that Captures RAMDavid Heath, Vladimir Kolesnikov, Rafail OstrovskyCRYPTO 2023 · 8 citations
Related papers
- NanoGRAM: Garbled RAM with OverheadAndrew Park, Wei-Kai Lin, Elaine ShiEUROCRYPT 2023 · 5 citations
- BitGC: Garbled Circuits with 1 Bit per GateHanlin Liu, Xiao Wang, Kang Yang, Yu YuEUROCRYPT 2025 · 12 citations
- PicoGRAM: Practical Garbled RAM from Decisional Diffie-HellmanTianyao Gu, Afonso Tinoco, Sri Harish G. Rajan, Elaine ShiCRYPTO 2025 · 1 citation
- Zebra: Arithmetic Garbled RAM for Large Words from DCRTianyao Gu, Ashrujit Ghoshal, Elaine ShiEUROCRYPT 2026 · 1 citation
- Silent Circuit Relinearisation: Sublinear-Size (Boolean and Arithmetic) Garbled Circuits from DCRPierre Meyer, Claudio Orlandi, Lawrence Roy, Peter SchollCRYPTO 2025 · 13 citations
