IACR Transactions on Cryptographic Hardware and Embedded Systems · 2023 · 32 citations · 23 references
ComputingComputer EngineeringComputer ScienceCryptographyParallel AlgorithmsParallel ComputingCryptographic AlgorithmsGraphics Processing Unit ComputingHardware AccelerationParallel ArchitecturesParallel Computing SystemsZero-knowledge ProofsData Transfer OverheadGroth16Non-interactive Zero-knowledge ProofsParallel Matrix-vector MultiplicationPerformance OverheadProof GenerationSuccinct Zero-knowledge ProofsZero-knowledge Non-interactive Proofs
Zero-knowledge proof is a critical cryptographic primitive. Its most practical type, called zero-knowledge Succinct Non-interactive ARgument of Knowledge (zkSNARK), has been deployed in various privacy-preserving applications such as cryptocurrencies and verifiable machine learning. Unfortunately, zkSNARK like Groth16 has a high overhead on its proof generation step, which consists of several time-consuming operations, including large-scale matrix-vector multiplication (MUL), number-theoretic transform (NTT), and multi-scalar multiplication (MSM). Therefore, this paper presents cuZK, an efficient GPU implementation of zkSNARK with the following three techniques to achieve high performance. First, we propose a new parallel MSM algorithm. This MSM algorithm achieves nearly perfect linear speedup over the Pippenger algorithm, a well-known serial MSM algorithm. Second, we parallelize the MUL operation. Along with our self-designed MSM scheme and well-studied NTT scheme, cuZK achieves the parallelization of all operations in the proof generation step. Third, cuZK reduces the latency overhead caused by CPU-GPU data transfer by 1) reducing redundant data transfer and 2) overlapping data transfer and device computation. The evaluation results show that our MSM module provides over 2.08x (up to 2.94x) speedup versus the state-of-the-art GPU implementation. cuZK achieves over 2.65x (up to 4.86x) speedup on standard benchmarks and 2.18× speedup on a GPU-accelerated cryptocurrency application, Filecoin.
23
An algorithm for the machine calculation of complex Fourier series
J.W. Cooley, John W. Tukey · Mathematics of Computation · 1965 · 12.2K citations
Zerocash: Decentralized Anonymous Payments from Bitcoin
Eli Ben Sasson, Alessandro Chiesa, Christina Garman et al. · 2014 · 1.9K citations · Full text
The Weil Pairing, and Its Efficient Calculation
Victor S. Miller · Journal of Cryptology · 2004 · 585 citations · Full text