Accelerating Elliptic Curve Point Additions on Versal AI Engine for Multi-Scalar Multiplication
Multi-scalar multiplication (MSM) is crucial in cryptographic applications and computationally intensive in zeroknowledge proofs. MSM involves accumulating the products of scalars and points on an elliptic curve over a 377-bit modulus, and the Pippenger algorithm converts MSM into a series of elliptic curve point additions (PADDs) with high parallelism. This study investigates accelerating MSM on the Versal ACAP platform, an emerging hardware that employs a spatial architecture integrating 400 AI Engines (AIEs) with programmable logic and a processing system. AIEs are SIMD-based VLIW processors capable of performing vector multiply-accumulate operations, making them well-suited for multiplication-heavy workloads in PADD. Unlike simpler multiplication tasks in previous studies, cryptographic computations also require complex operations such as carry propagation. These operations necessitate architecture-aware optimizations, including intra-core dedicated coding style to fully exploit VLIW capabilities and inter-core strategy for spatial task mapping. We propose various optimizations to accelerate PADDs, including (1) algorithmic optimizations for carry propagation employing a carry-save-like technique to exploit VLIW and SIMD capabilities and (2) a comparison of four distinct spatial mappings to enhance intra- and inter-task parallelism. Our approach achieves a computational efficiency that utilizes 50.2% of the theoretical memory bandwidth and provides <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$568 \times$</tex> speedup over the integrated CPU on the AIE evaluation board.
Authors
- Kotaro Shimamura (ORCID: https://orcid.org/0000-0001-8728-3848)
- Shinya Takamaeda-Yamazaki (ORCID: https://orcid.org/0000-0003-3441-1695)
- Ayumi Ohno
Institutions
- The University of Tokyo (JP)
Publication Details
- Published
- 2025-04-16
- DOI
- https://doi.org/10.1109/coolchips65488.2025.11018576
- Primary Topic
- Cryptography and Residue Arithmetic
- Type
- article
- Field-Weighted Citation Impact
- 0.00