CCS2020

A 2.1 KHz Zero-Knowledge Processor with BubbleRAM

David Heath, Vladimir Kolesnikov

15 citations

Abstract

Zero-Knowledge (ZK) proofs (ZKP) are foundational in cryptography. Most recent ZK research focuses on non-interactive proofs (NIZK) of small statements, useful in blockchain scenarios. Another line, and our focus, instead targets proofs of large statements that are useful, e.g., in proving properties of programs in ZK. We specify a zero-knowledge processor that executes arbitrary programs written in a simple instruction set, and proves in ZK the correctness of the execution. Such an approach is well-suited for constructing ZK proofs of large statements as it efficiently supports complex programming constructs, such as loops and RAM access. Critically, we propose several novel ZK improvements that make our approach concretely efficient: (1) an efficient arithmetic representation with conversions to/from Boolean, (2) an efficient read-only memory that uses 2łogn2łog n OTs per access, and (3) an efficient read-write memory, øurram, which uses 12łog2n\frac1 2 łog^2 n OTs per access. øurram beats linear scan for RAM of size >3>3 elements! Prior ZK systems used generic ORAM costing orders of magnitude more. We cast our system as a garbling scheme that can be plugged into the ZK protocol of [Jawurek et al, CCS'13]. Put together, our system is concretely efficient: for a processor instantiated with 512512KB of main memory, each processor cycle costs 2424KB of communication. We implemented our approach in ++. On a 1Gbps LAN our implementation realizes a 2.12.1KHz processor.