SZKP: A Scalable Accelerator Architecture for Zero-Knowledge Proofs
<|reference_start|>SZKP: A Scalable Accelerator Architecture for Zero-Knowledge Proofs: Zero-Knowledge Proofs (ZKPs) are an emergent paradigm in verifiable computing. In the context of applications like cloud computing, ZKPs can be used by a client (called the verifier) to verify the service provider (called the prover) is in fact performing the correct computation based on a public input. A recently prominent variant of ZKPs is zkSNARKs, generating succinct proofs that can be rapidly verified by the end user. However, proof generation itself is very time consuming per transaction. Two key primitives in proof generation are the Number Theoretic Transform (NTT) and Multi-scalar Multiplication (MSM). These primitives are prime candidates for hardware acceleration, and prior works have looked at GPU implementations and custom RTL. However, both algorithms involve complex dataflow patterns -- standard NTTs have irregular memory accesses for butterfly computations from stage to stage, and MSMs using Pippenger's algorithm have data-dependent memory accesses for partial sum calculations. We present SZKP, a scalable accelerator framework that is the first ASIC to accelerate an entire proof on-chip by leveraging structured dataflows for both NTTs and MSMs. SZKP achieves conservative full-proof speedups of over 400$\times$, 3$\times$, and 12$\times$ over CPU, ASIC, and GPU implementations.<|reference_end|>
@article{daftardar2024szkp:,
    title={SZKP: A Scalable Accelerator Architecture for Zero-Knowledge Proofs},
    author={Alhad Daftardar, Brandon Reagen, Siddharth Garg},
    journal={arXiv preprint arXiv:2408.05890},
    year={2024},
    doi={10.1145/3656019.3676898},
    archivePrefix={arXiv},
    eprint={2408.05890},
    primaryClass={cs.AR cs.CR}
}