Tri-State Circuits: A Circuit Model that Captures RAM

David Heath, Vladimir Kolesnikov, Rafail Ostrovsky

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

We introduce tri-state circuits (TSCs). TSCs form a natural model of computation that, to our knowledge, has not been considered by theorists. The model captures a surprising combination of simplicity and power. TSCs are simple in that they allow only three wire values (0, 1, and undefined – Z ) and three types of fan-in two gates; they are powerful in that their statically placed gates fire (execute) eagerly as their inputs become defined, implying orders of execution that depend on input. This behavior is sufficient to efficiently evaluate RAM programs. We construct a TSC that emulates T steps of any RAM program and that has only O(T· log3T· log log T) gates. Contrast this with the reduction from RAM to Boolean circuits, where the best approach scans all of memory on each access, incurring quadratic cost. We connect TSCs with Garbled Circuits (GC). TSCs capture the power of garbling far better than Boolean Circuits, offering a more expressive model of computation that leaves per-gate cost essentially unchanged. As an important application, we construct authenticated Garbled RAM (GRAM), enabling constant-round maliciously-secure 2PC of RAM programs. Let λ denote the security parameter. We extend authenticated garbling to TSCs; by simply plugging in our TSC-based RAM, we obtain authenticated GRAM running at cost O(T· log3T· log log T· λ), outperforming all prior work, including prior semi-honest GRAM. We also give semi-honest garbling of TSCs from a one-way function (OWF). This yields OWF-based GRAM at cost O(T· log3T· log log T· λ), outperforming the best prior OWF-based GRAM by more than factor λ.

Original languageEnglish (US)
Title of host publicationAdvances in Cryptology – CRYPTO 2023 - 43rd Annual International Cryptology Conference, CRYPTO 2023, Proceedings
EditorsHelena Handschuh, Anna Lysyanskaya
PublisherSpringer
Pages128-160
Number of pages33
ISBN (Print)9783031385506
DOIs
StatePublished - 2023
Event43rd Annual International Cryptology Conference, CRYPTO 2023 - Santa Barbara, United States
Duration: Aug 20 2023Aug 24 2023

Publication series

NameLecture Notes in Computer Science
Volume14084 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference43rd Annual International Cryptology Conference, CRYPTO 2023
Country/TerritoryUnited States
CitySanta Barbara
Period8/20/238/24/23

Keywords

  • Garbled RAM
  • MPC
  • Malicious Security
  • Models of Computation

ASJC Scopus subject areas

  • Theoretical Computer Science
  • General Computer Science

Fingerprint

Dive into the research topics of 'Tri-State Circuits: A Circuit Model that Captures RAM'. Together they form a unique fingerprint.

Cite this