Paper 2023/1749

Dora: A Simple Approach to Zero-Knowledge for RAM Programs

Aarushi Goel
Mathias Hall-Andersen
Gabriel Kaptchuk
Abstract

Existing protocols for proving the correct execution of a RAM program in zero-knowledge are plagued by a processor expressiveness tradeoff: supporting fewer instructions results in smaller processor circuits (which improves performance), but may result in more program execution steps because non-supported instruction must be emulated over multiple processor steps (diminishing performance). We present Dora, a very simple and concretely efficient zero-knowledge protocol for RAM programs that sidesteps this tension by making it (nearly) free to add additional instructions to the processor. The computational and communication complexity of proving each step of a computation in Dora, is constant in the number of supported instructions. Dora’s approach is united by intuitive abstraction we call a ZKBag, a cryptographic primitive constructed from linearly homomorphic commitments that captures the properties of a physical bag. We implement Dora and demonstrate that on commodity hardware it can prove the correct execution of a processor with thousands of instruction, each of which has thousands of gates, in just a few milliseconds per step. Our evaluation shows that Dora has notably better end-to-end performance than concurrent work targeting the same problem.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2023/1749,
      author = {Aarushi Goel and Mathias Hall-Andersen and Gabriel Kaptchuk},
      title = {Dora: A Simple Approach to Zero-Knowledge for RAM Programs},
      howpublished = {Cryptology {ePrint} Archive, Paper 2023/1749},
      year = {2023},
      url = {https://eprint.iacr.org/2023/1749}
}
Category
Cryptographic protocols
License
CC BY
Submitted
Updated
Versions

Report a problem

Comments

Log in or create an account

Privacy