Paper 2024/1246

MSMAC: Accelerating Multi-Scalar Multiplication for Zero-Knowledge Proof

Pengcheng Qiu
Guiming Wu
Tingqiang Chu
Changzheng Wei
Runzhou Luo
Ying Yan
Wei Wang
Hui Zhang
Abstract

Multi-scalar multiplication (MSM) is the most computation-intensive part in proof generation of Zero-knowledge proof (ZKP). In this paper, we propose MSMAC, an FPGA accelerator for large-scale MSM. MSMAC adopts a specially designed Instruction Set Architecture (ISA) for MSM and optimizes pipelined Point Addition Unit (PAU) with hybrid Karatsuba multiplier. Moreover, a runtime system is proposed to split MSM tasks with the optimal sub-task size and orchestrate execution of Processing Elements (PEs). Experimental results show that MSMAC achieves up to 328× and 1.96× speedups compared to the state-of-the-art implementation on CPU (one core) and GPU, respectively, outperforming the state-of-the-art ASIC accelerator by 1.79×. On 4 FPGAs, MSMAC performs 1,261× faster than a single CPU core.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2024/1246,
      author = {Pengcheng Qiu and Guiming Wu and Tingqiang Chu and Changzheng Wei and Runzhou Luo and Ying Yan and Wei Wang and Hui Zhang},
      title = {MSMAC: Accelerating Multi-Scalar Multiplication for Zero-Knowledge Proof},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1246},
      year = {2024},
      url = {https://eprint.iacr.org/2024/1246}
}
Category
Implementation
License
CC BY
Submitted
Versions

Report a problem

Comments

Log in or create an account

Privacy