cuZK: Accelerating Zero-Knowledge Proof with A Faster Parallel Multi-Scalar Multiplication Algorithm on GPUs
-
Published:2023-06-09
Issue:
Volume:
Page:194-220
-
ISSN:2569-2925
-
Container-title:IACR Transactions on Cryptographic Hardware and Embedded Systems
-
language:
-
Short-container-title:TCHES
Author:
Lu Tao,Wei Chengkun,Yu Ruijing,Chen Chaochao,Fang Wenjing,Wang Lei,Wang Zeke,Chen Wenzhi
Abstract
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.
Publisher
Universitatsbibliothek der Ruhr-Universitat Bochum
Subject
Artificial Intelligence,Computer Graphics and Computer-Aided Design,Computer Networks and Communications,Hardware and Architecture,Signal Processing,Software
Cited by
2 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Accelerating zk-SNARK with Group and Zone Optimization on GPU;2023 IEEE 29th International Conference on Parallel and Distributed Systems (ICPADS);2023-12-17
2. BSTMSM: A High-Performance FPGA-based Multi-Scalar Multiplication Hardware Accelerator;2023 International Conference on Field Programmable Technology (ICFPT);2023-12-12