Falic: An FPGA-Based Multi-Scalar Multiplication Accelerator for Zero-Knowledge Proof

被引:0
作者
Yang, Yongkui [1 ]
Lu, Zhenyan [2 ]
Zeng, Jingwei [1 ]
Liu, Xingguo [3 ]
Qian, Xuehai [4 ]
Yu, Zhibin [1 ]
机构
[1] Chinese Acad Sci, Shenzhen Inst Adv Technol, Shenzhen 518055, Peoples R China
[2] Beijing Univ Posts & Telecommun, Beijing 100876, Peoples R China
[3] Jiangxi Helmsman Network Co Ltd, Shenzhen 518026, Peoples R China
[4] Tsinghua Univ, Beijing 100084, Peoples R China
关键词
Vectors; Field programmable gate arrays; Throughput; Hardware; Protocols; Graphics processing units; Energy efficiency; Cryptography; zero-knowledge proof; multi-scalar multiplication; hardware accelerator; FPGA;
D O I
10.1109/TC.2024.3449121
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
In this paper, we propose Falic, a novel FPGA-based accelerator to accelerate multi-scalar multiplication (MSM), the most time-consuming phase of zk-SNARK proof generation. Falic innovates three techniques. First, it leverages globally asynchronous locally synchronous (GALS) strategy to build multiple small and lightweight MSM cores to parallelize the independent inner product computation on different portions of the scalar vector and point vector. Second, each MSM core contains just one large-integer modular multiplier (LIMM) that is multiplexed to perform the point additions (PADDs) generated during MSM. We strike a balance between the throughput and hardware cost by batching the appropriate number of PADDs and selecting the computation graph of PADD with proper parallelism degree. Finally, the performance is further improved by a simple cache structure that enables the computation reuse. We implement Falic on two different FPGAs with different hardware resources, i.e., the Xilinx U200 and Xilinx U250. Compared to the prior FPGA-based accelerator, Falic improves the MSM throughput by 3.9x3.9x. Experimental results also show that Falic achieves a throughput speedup of up to 1.62x1.62x and saves as much as 8.5x8.5x energy compared to an RTX 2080Ti GPU.
引用
收藏
页码:2791 / 2804
页数:14
相关论文
共 44 条
[1]  
A. S. Inc, Aleo
[2]  
A. S. Team, Apache Spark
[3]   FAB: An FPGA-based Accelerator for Bootstrappable Fully Homomorphic Encryption [J].
Agrawal, Rashmi ;
de Castro, Leo ;
Yang, Guowei ;
Juvekar, Chiraag ;
Yazicigil, Rabia ;
Chandrakasan, Anantha ;
Vaikuntanathan, Vinod ;
Joshi, Ajay .
2023 IEEE INTERNATIONAL SYMPOSIUM ON HIGH-PERFORMANCE COMPUTER ARCHITECTURE, HPCA, 2023, :882-895
[4]   Flexible FPGA-Based Architectures for Curve Point Multiplication over GF(p) [J].
Amiet, Dorian ;
Curiger, Andreas ;
Zbinden, Paul .
19TH EUROMICRO CONFERENCE ON DIGITAL SYSTEM DESIGN (DSD 2016), 2016, :107-114
[5]  
[Anonymous], Filecoin project
[6]  
[Anonymous], 2020, UltraFast design methodology guide for the Vivado design suite, UG949
[7]  
[Anonymous], Alveo data center accelerator card platforms user guide
[8]  
[Anonymous], Openssl cryptography and ssl/tls toolkit
[9]  
[Anonymous], 2023, Zcash project..
[10]  
Ben-Sasson E, 2014, PROCEEDINGS OF THE 23RD USENIX SECURITY SYMPOSIUM, P781