Lune

EUROCRYPT2020Top-tier venue

Stacked Garbling for Disjunctive Zero-Knowledge Proofs

David Heath, Vladimir Kolesnikov

Abstract

Zero-knowledge (ZK) proofs receive wide attention, especially with respect to non-interactivity, small proof size, and fast verification. We instead focus on fast total proof time, in particular for large Boolean circuits. Under this metric, Garbled Circuit (GC)-based ZK, originally proposed by Jawurek et al. ([JKO], CCS 2013), remains state-of-the-art due to the low-constant linear scaling of garbling.

We improve GC-ZK for proof statements with conditional clauses. Our communication is proportional to the longest clause rather than to the entire proof statement. This is most useful when the number of branches mm is large, resulting in up to m×m\times communication improvement over JKO.

In our proof-of-concept illustrative application, the prover demonstrates knowledge of a bug in a codebase consisting of any number of snippets of C code. Our computation cost is linear in the size of the codebase and communication is constant in the number of snippets. That is, we require only enough communication for the single largest snippet!

Our conceptual contribution is stacked garbling for ZK, a privacy-free circuit garbling scheme that, when used with the JKO GC-ZK protocol, constructs efficient ZK proofs. Given a Boolean circuit CC and computational security parameter κ\kappa, our garbling is LκL\kappa bits long, where LL is the length of the longest execution path in CC. All prior concretely efficient garbling schemes produce garblings of size ∣C∣κ|C|\kappa. The computational cost of our scheme is not increased over prior state-of-the-art.

We implemented our technique and demonstrate significantly improved performance. For functions with branching factor mm, we improve communication by m×m\times compared to JKO. Compared with recent systems (STARK, Libra, KKW, Ligero, Aurora, Bulletproofs), our scheme offers better proof times for large circuits: 35−1000×35-1000\times or more, depending on circuit size and on the compared scheme.

For our illustrative application, we consider four C code snippets. Each snippet has 30-50 LOC; one snippet allows an invalid memory dereference. The entire proof takes 0.15 seconds and communicates 1.5 MB.

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.

20 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Threshold Schnorr with Stateless Deterministic Signing from Standard Assumptions cites Bulletproofs: Short Proofs for Confidential Transactions and More
  • Appenzeller to Brie: Efficient Zero-Knowledge Proofs for Mixed-Mode Arithmetic and Z2k cites Wolverine: Fast, Scalable, and Communication-Efficient Zero-Knowledge Proofs for Boolean and Arithmetic Circuits
  • Appenzeller to Brie: Efficient Zero-Knowledge Proofs for Mixed-Mode Arithmetic and Z2k cites Mystique: Efficient Conversions for Zero-Knowledge Proofs with Applications to Machine Learning
  • Improving Line-Point Zero Knowledge: Two Multiplications for the Price of One cites Wolverine: Fast, Scalable, and Communication-Efficient Zero-Knowledge Proofs for Boolean and Arithmetic Circuits
  • Improving Line-Point Zero Knowledge: Two Multiplications for the Price of One cites Ligero: Lightweight Sublinear Arguments Without a Trusted Setup
  • Wolverine: Fast, Scalable, and Communication-Efficient Zero-Knowledge Proofs for Boolean and Arithmetic Circuits cites ZKBoo: Faster Zero-Knowledge for Boolean Circuits
  • Wolverine: Fast, Scalable, and Communication-Efficient Zero-Knowledge Proofs for Boolean and Arithmetic Circuits cites Post-Quantum Zero-Knowledge and Signatures from Symmetric-Key Primitives
  • Wolverine: Fast, Scalable, and Communication-Efficient Zero-Knowledge Proofs for Boolean and Arithmetic Circuits cites Doubly-Efficient zkSNARKs Without Trusted Setup
  • Wolverine: Fast, Scalable, and Communication-Efficient Zero-Knowledge Proofs for Boolean and Arithmetic Circuits cites Bulletproofs: Short Proofs for Confidential Transactions and More
  • Ligero: Lightweight Sublinear Arguments Without a Trusted Setup cites ZKBoo: Faster Zero-Knowledge for Boolean Circuits
  • Doubly-Efficient zkSNARKs Without Trusted Setup cites ZKBoo: Faster Zero-Knowledge for Boolean Circuits
  • Doubly-Efficient zkSNARKs Without Trusted Setup cites Post-Quantum Zero-Knowledge and Signatures from Symmetric-Key Primitives
  • Doubly-Efficient zkSNARKs Without Trusted Setup cites Ligero: Lightweight Sublinear Arguments Without a Trusted Setup
  • Mystique: Efficient Conversions for Zero-Knowledge Proofs with Applications to Machine Learning cites ZKBoo: Faster Zero-Knowledge for Boolean Circuits
  • Mystique: Efficient Conversions for Zero-Knowledge Proofs with Applications to Machine Learning cites Wolverine: Fast, Scalable, and Communication-Efficient Zero-Knowledge Proofs for Boolean and Arithmetic Circuits
  • Mystique: Efficient Conversions for Zero-Knowledge Proofs with Applications to Machine Learning cites Post-Quantum Zero-Knowledge and Signatures from Symmetric-Key Primitives
  • Mystique: Efficient Conversions for Zero-Knowledge Proofs with Applications to Machine Learning cites Doubly-Efficient zkSNARKs Without Trusted Setup
  • Mystique: Efficient Conversions for Zero-Knowledge Proofs with Applications to Machine Learning cites Bulletproofs: Short Proofs for Confidential Transactions and More
  • Bulletproofs: Short Proofs for Confidential Transactions and More cites Doubly-Efficient zkSNARKs Without Trusted Setup
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers20

  1. Wolverine: Fast, Scalable, and Communication-Efficient Zero-Knowledge Proofs for Boolean and Arithmetic CircuitsChenkai Weng, Kang Yang, Jonathan Katz, Xiao WangS&P 2021 · 205 citations
  2. Mystique: Efficient Conversions for Zero-Knowledge Proofs with Applications to Machine LearningChenkai Weng, Kang Yang, Xiang Xie, Jonathan Katz et al.USENIX Security 2021 · 161 citations
  3. Threshold Schnorr with Stateless Deterministic Signing from Standard AssumptionsFrançois Garillot, Yashvanth Kondi, Payman Mohassel, Valeria NikolaenkoCRYPTO 2021 · 39 citations
  4. Improving Line-Point Zero Knowledge: Two Multiplications for the Price of OneSamuel Dittmer, Yuval Ishai, Steve Lu, Rafail OstrovskyCCS 2022 · 30 citations
  5. Appenzeller to Brie: Efficient Zero-Knowledge Proofs for Mixed-Mode Arithmetic and Z2kCarsten Baum, Lennart Braun, Alexander Munch-Hansen, Benoît Razet et al.CCS 2021 · 29 citations

Builds on6

  1. Bulletproofs: Short Proofs for Confidential Transactions and MoreBenedikt Bünz, Jonathan Bootle, Dan Boneh, Andrew Poelstra et al.S&P 2018 · 1,285 citations
  2. Doubly-Efficient zkSNARKs Without Trusted SetupRiad S. Wahby, Ioanna Tzialla, Abhi Shelat, Justin Thaler et al.S&P 2018 · 356 citations
  3. Ligero: Lightweight Sublinear Arguments Without a Trusted SetupScott Ames, Carmit Hazay, Yuval Ishai, Muthuramakrishnan VenkitasubramaniamCCS 2017 · 338 citations
  4. Post-Quantum Zero-Knowledge and Signatures from Symmetric-Key PrimitivesMelissa Chase, David Derler, Steven Goldfeder, Claudio Orlandi et al.CCS 2017 · 316 citations
  5. ZKBoo: Faster Zero-Knowledge for Boolean CircuitsIrene Giacomelli, Jesper Madsen, Claudio OrlandiUSENIX Security 2016 · 287 citations

Related papers

  1. Stacked Garbling - Garbled Circuit Proportional to Longest Execution PathDavid Heath, Vladimir KolesnikovCRYPTO 2020 · 26 citations
  2. Mac'n'Cheese: Zero-Knowledge Proofs for Boolean and Arithmetic Circuits with Nested DisjunctionsCarsten Baum, Alex J. Malozemoff, Marc B. Rosen, Peter SchollCRYPTO 2021 · 77 citations
  3. QuickSilver: Efficient and Affordable Zero-Knowledge Proofs for Circuits and Polynomials over Any FieldKang Yang, Pratik Sarkar, Chenkai Weng, Xiao WangCCS 2021 · 2 citations
  4. Zero Knowledge for Everything and Everyone: Fast ZK Processor with Cached ORAM for ANSI C ProgramsDavid Heath, Yibin Yang, David Devecsery, Vladimir KolesnikovS&P 2021 · 22 citations
  5. Orion: Zero Knowledge Proof with Linear Prover TimeTiancheng Xie, Yupeng Zhang, Dawn SongCRYPTO 2022 · 83 citations
Dusk over the sea between two cliffs drawn in fine vertical lines