ZEE200: Zero Knowledge for Everything and Everyone @ 200 KHz
Abstract
Zero-knowledge execution of high-level programs proceeds by repeatedly evaluating CPU steps. Each such step privately selects and evaluates an instruction (possibly involving memory access) from a rich instruction set. Building on this paradigm, ZEE (Heath et al., S&P'21) realized a full toolchain supporting arbitrary ANSI C programs, demonstrating this capability by proving SIR- and CVE-reported bugs in off-the-shelf Linux programs sed and gzip. We revamp the state of the art by building a new ZK system ZEE200, which is about 20-40Γ faster than ZEE. ZEE200 is built on a novel and convenient cryptographic framework for efficiently proving general statements represented as real-world programs. Our framework integrates several crucial recent advances, such as Tight ZK CPU (Yang et al., CCS'24) and fast ZK RAM (Yang and Heath, USENIX Security'24). We develop better encodings for Z 2 32 arithmetic, and numerous low-level optimizations. Compared to ZEE's β10KHz CPU speed on a limited ISA, ZEE200 runs at β200KHz (still on a commodity laptop and a LAN!), while supporting a much richer ISA. For example, we rerun a ZEE's benchmark, proving a SIR-reported vulnerability in off-the-shelf Linux utility sed. On a 2021 ThinkPad X1 Carbon Gen 9 under a simulated 1Gbps LAN (single-threaded), ZEE200 completed the proof in 1.5 seconds, compared to ZEE's 30.1 seconds, a 20Γ improvement.
Community
0 commentsNo discussion yet
Be the first to share a question or observation.