Paper 2024/336

RAMenPaSTA: Parallelizable Scalable Transparent Arguments of Knowledge for RAM Programs

Khai Hanh Tang, Nanyang Technological University
Nhat Minh Pham, Orochi Network
Chan Nam Ngo, Privacy + Scaling Exploration
Abstract

Recent advances in Zero-Knowledge Proof and Argument (ZKP/ZKA) Systems allow efficiently verifiable computation in the circuit-based model (where programs can be represented as Boolean or arithmetic circuits). However, the circuit-based model is not widely popular due to its unsuitability for big programs (as the circuit size is linear to the program's size). Hence, the research community began looking into the Random-Access Machine model of programs, namely RAM programs, which is better suited for general-purpose programming. Consequently, a flurry of work began researching to construct ZKP protocols for the correct execution of RAM programs. In this paper, we also develop ZKP/ZKA for RAM programs, with a particular focus on two properties: (i) parallelizability, which significantly reduces prover (and verifier) computation, and (ii) genericity, which makes the construction requires minimal assumptions and can be instantiated with any existing ZKP protocols. To our knowledge, previous ZKP constructions for RAM programs either (i) are not known to support proving or verifying in parallel, (ii) require making non-black-box use of specific SNARK constructions, or (iii) even require proving computation of random oracle. To this end, we propose the so-called Conditional Folding Scheme (CFS) as a building block to construct ZKP/ZKA for RAM programs. We provide a non-trivial practical construction for our CFS that is natively parallelizable, which significantly brings the runtime of proof generation down to (compared to in previous works), where is the witness size of the heaviest operation, and is the number of execution steps. We rigorously prove the security of our CFS (also for the case of folding in parallel). Our scheme can be made non-interactive using the Fiat-Shamir transform. Our CFS is generic and does not require a trusted setup (yielding a ``transparent'' argument). It can be adapted to construct Parallelizable Scalable Transparent Arguments of Knowledge for RAM Programs that we dub RAMenPaSTA.

Metadata
Available format(s)
PDF
Category
Cryptographic protocols
Publication info
Preprint.
Keywords
Zero-Knowledge ProofsRAM ProgramsFolding Scheme
Contact author(s)
khaihanh tang @ ntu edu sg
minh pham @ orochi network
namncc @ pse dev
History
2025-05-14: last of 4 revisions
2024-02-26: received
See all versions
Short URL
https://ia.cr/2024/336
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2024/336,
      author = {Khai Hanh Tang and Nhat Minh Pham and Chan Nam Ngo},
      title = {{RAMenPaSTA}: Parallelizable Scalable Transparent Arguments of Knowledge for {RAM} Programs},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/336},
      year = {2024},
      url = {https://eprint.iacr.org/2024/336}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.