SZKP: A Scalable Accelerator Architecture for Zero-Knowledge Proofs

Alhad Daftardar, Brandon Reagen, Siddharth Garg

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

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 ×, 3 ×, and 12 × over CPU, ASIC, and GPU implementations.

Original languageEnglish (US)
Title of host publicationPACT 2024 - Proceedings of the 2024 International Conference on Parallel Architectures and Compilation Techniques
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages271-283
Number of pages13
ISBN (Electronic)9798400706318
DOIs
StatePublished - 2024
Event33rd International Conference on Parallel Architectures and Compilation Techniques, PACT 2024 - Long Beach, United States
Duration: Oct 13 2024Oct 16 2024

Publication series

NameParallel Architectures and Compilation Techniques - Conference Proceedings, PACT
ISSN (Print)1089-795X

Conference

Conference33rd International Conference on Parallel Architectures and Compilation Techniques, PACT 2024
Country/TerritoryUnited States
CityLong Beach
Period10/13/2410/16/24

Keywords

  • Cryptography
  • Hardware Acceleration
  • Zero-Knowledge Proofs

ASJC Scopus subject areas

  • Software
  • Theoretical Computer Science
  • Hardware and Architecture

Fingerprint

Dive into the research topics of 'SZKP: A Scalable Accelerator Architecture for Zero-Knowledge Proofs'. Together they form a unique fingerprint.

Cite this