cuML-DSA: Optimized Signing Procedure and Server-Oriented GPU Design for ML-DSA
The threat posed by quantum computing has precipitated an urgent need for post-quantum cryptography. Recently, the post-quantum digital signature draft FIPS 204 has been published, delineating the details of the ML-DSA, which is derived from the CRYSTALS-Dilithium. Despite these advancements, server environments, especially those equipped with GPU devices necessitating high-throughput signing, remain entrenched in classical schemes. A conspicuous void exists in the realm of GPU implementation or server-specific designs for ML-DSA. In this paper, we propose the first server-oriented GPU design tailored for the ML-DSA signing procedure in high-throughput servers. We introduce several innovative theoretical optimizations to bolster performance, including depth-prior sparse ternary polynomial multiplication, the branch elimination method, and the rejection-prioritized checking order. Furthermore, exploiting server-oriented features, we propose a comprehensive GPU hardware design, augmented by a suite of GPU implementation optimizations to further amplify performance. Additionally, we present variants for sampling sparse polynomials, thereby streamlining our design. The deployment of our implementation on both server-grade and commercial GPUs demonstrates significant speedups, ranging from 284.9× to 485.3× against the CPU baseline, and an improvement of up to 60.9% compared to related work, affirming the effectiveness and efficiency of the proposed GPU architecture for ML-DSA signing procedure.
Authors
- Hao Yang (ORCID: https://orcid.org/0000-0002-9735-255X)
- Shiyu Shen (ORCID: https://orcid.org/0000-0001-7287-4223)
- Wenqian Li (ORCID: https://orcid.org/0000-0003-3073-1667)
- Yunlei Zhao (ORCID: https://orcid.org/0000-0002-2623-9170)
Institutions
- Fudan University (CN)
- Nanjing University of Aeronautics and Astronautics (CN)
Publication Details
- Journal
- IEEE Transactions on Dependable and Secure Computing
- Published
- 2024-11-08
- DOI
- https://doi.org/10.1109/tdsc.2024.3494835
- Citations
- 6
- Primary Topic
- Distributed and Parallel Computing Systems
- Type
- article
- Field-Weighted Citation Impact
- 2.09