Paper 2026/3133
Concise Garbled RAM
Abstract
Garbled circuits enable constant-round secure computation for fixed circuits, but many private computations require reading and updating a large state at data-dependent locations. Garbled RAM (GRAM) [Lu–Ostrovsky, EUROCRYPT'13] is designed to support such private memory accesses efficiently. Despite a long line of work, existing GRAM constructions incur a multiplicative security-parameter overhead on the private memory, even when a computation accesses only a small fraction of it—as in binary search. We remove this overhead: assuming only one-way functions, we construct a new GRAM with communication \[2M+\widetilde O(T\lambda),\] where \(M\) is the size of the private memory, \(T\) is the number of program timesteps, and \(\lambda\) is the security parameter; each timestep consists of local CPU computation and at most one memory access. Thus, the large memory incurs only constant-factor communication overhead, while the security-parameter-dependent overhead is confined to the computation. Our construction transmits the initial memory once in masked form instead of encrypting each bit individually. To access the masked initial memory, we introduce garbled interactive tables, which we believe to be a novel technical tool of independent interest. State-of-the-art garbled lookup table constructions [Heath-Kolesnikov-Ng, EUROCRYPT'24] with communication close to the raw table size support just a single access to the table. Our construction supports \(Q\) queries to the same masked table of \(N\) words of \(w\) bits each, with total communication \[Nw+\lambda\operatorname{poly}(Q,\log N,w).\] We build these tables using a bounded-query garbled pseudorandom function: a garbled gadget that can evaluate the same secret pseudorandom function repeatedly at different points chosen adaptively without leaking any information to the evaluator. We only make a black-box use of the underlying cryptographic primitives.
Discussion