An Optimized GPU-based Acceleration of CRYSTALS-Dilithium
CRYSTALS-Dilithium has recently been selected as one of the next generation post-quantum signature algorithm standards. However, due to the extensive volume of data elements and the high complexity of operations, post-quantum cryptographic algorithms commonly face significant performance challenges, for which GPU acceleration has proven to be an effective hardware solution. This paper presents an optimized GPU-based implementation of Dilithium, accelerating the algorithm across three dimensions: inter-thread, intra-thread, and inter-block. Specifically, we propose shared memory and loop unrolling techniques to optimize the most time consuming number theoretic transform operation. Meanwhile, we employ a PTX assembly implementation of Montgomery modular multiplication for frequent dot product computations. Experimental results indicate that, compared to the NIST standard implementation, our implementations of Dilithium across all three parameter sets achieve speedups of up to 143x for Gen, 255x for Sign, and 152x for Verify on the GPU 4090. On the GPU A100, the speedups reach 114x for Gen, 158x for Sign, and 124x for Verify.
Authors
- Xiaoning Bian
- Jiafei Wu (ORCID: https://orcid.org/0009-0001-8125-1586)
- Bin Xu (ORCID: https://orcid.org/0000-0001-5129-9303)
- Zhe Liu (ORCID: https://orcid.org/0000-0001-8578-2635)
- Zhao Chen (ORCID: https://orcid.org/0009-0009-6969-7938)
- Jingjie Liu (ORCID: https://orcid.org/0000-0002-1037-2591)
- Wenqin HE
Institutions
- Zhejiang Lab (CN)
Publication Details
- Published
- 2025-03-12
- DOI
- https://doi.org/10.1109/icassp49660.2025.10890327
- Citations
- 2
- Primary Topic
- Radiation Detection and Scintillator Technologies
- Type
- article
- Field-Weighted Citation Impact
- 3.77