Paper 2023/1749 Original: eprint.iacr.org/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.

Metadata
Available format(s)
PDF
Category
Cryptographic protocols
Publication info
Preprint.
History
2024-10-15: last updated
2023-11-12: published
Short URL
https://ia.cr/2023/1749
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@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}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.