DPCrypto: Acceleration of Post-Quantum Cryptography Using Dot-Product Instructions on GPUs

被引:7
|
作者
Lee, Wai-Kong [1 ]
Seo, Hwajeong [2 ]
Hwang, Seong Oun [1 ]
Achar, Ramachandra [3 ]
Karmakar, Angshuman [4 ]
Mera, Jose Maria Bermudo [4 ]
机构
[1] Gachon Univ, Dept Comp Engn, Seongnam 13120, South Korea
[2] Hansung Univ, Dept Comp Engn, Seoul 02876, South Korea
[3] Carleton Univ, Dept Elect, Ottawa, ON K1S 5B6, Canada
[4] Katholieke Univ Leuven, COSIC, B-3000 Leuven, Belgium
基金
加拿大自然科学与工程研究理事会; 新加坡国家研究基金会;
关键词
Graphics processing units; Computer architecture; Cryptography; Convolution; Throughput; NIST; Standardization; Post-quantum cryptography; dot-product; polynomial convolution; matrix-multiplication; graphics processing unit; FrodoKEM and Saber; MULTIPLICATION; SCHEME;
D O I
10.1109/TCSI.2022.3176966
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
Modern NVIDIA GPU architectures offer dot-product instructions (DP2A and DP4A), with the aim of accelerating machine learning and scientific computing applications. These dot-product instructions allow the computation of multiply-and-add instructions in a single clock cycle, effectively achieving higher throughput compared to conventional 32-bit integer units. In this paper, we show that the dot-product instruction can also be used to accelerate matrix-multiplication and polynomial convolution operations, which are widely used in post-quantum lattice-based cryptographic schemes. In particular, we propose a highly optimized implementation of FrodoKEM wherein the matrix-multiplication is accelerated by the dot-product instruction. We also present specially designed data structures that allow an efficient implementation of Saber key-encapsulation mechanism, utilizing the dot-product instruction to speed-up the polynomial convolution. The proposed FrodoKEM implementation achieves 4.37x higher throughput than the state-of-the-art implementation on a V100 GPU. This paper also presents the first implementation of Saber on GPU platforms, achieving 124,418, 120,463, and 31,658 key exchanges per second on RTX3080, V100, and T4 GPUs, respectively. Since matrix-multiplication and polynomial convolution operations are the most time-consuming operations in lattice-based cryptographic schemes, we strongly believe that the proposed methods can be beneficial to other KEM and signatures schemes based on lattices.
引用
收藏
页码:3591 / 3604
页数:14
相关论文
共 50 条
  • [31] Current and future panorama of Quantum and Post-Quantum Cryptography
    Claudio, Mendilaharzu
    Fernando, Figueras
    2024 IEEE BIENNIAL CONGRESS OF ARGENTINA, ARGENCON 2024, 2024,
  • [32] A Survey of Post-Quantum Cryptography Migration in Vehicles
    Lohmiller, Nils
    Kaniewski, Sabrina
    Menth, Michael
    Heer, Tobias
    IEEE ACCESS, 2025, 13 : 10160 - 10176
  • [33] Resource guide for teaching post-quantum cryptography
    Holden, Joshua
    CRYPTOLOGIA, 2023, 47 (05) : 459 - 465
  • [34] Evaluation of Post-Quantum Distributed Ledger Cryptography
    Campbell, Robert E., Sr.
    JOURNAL OF THE BRITISH BLOCKCHAIN ASSOCIATION, 2019, 2 (01): : 17 - 24
  • [35] A Performance Evaluation of IPsec with Post-Quantum Cryptography
    Bae, Seungyeon
    Chang, Yousung
    Park, Hyeongjin
    Kim, Minseo
    Shin, Youngjoo
    INFORMATION SECURITY AND CRYPTOLOGY - ICISC 2022, 2023, 13849 : 249 - 266
  • [36] Homomorphic Encryption Based on Post-Quantum Cryptography
    Chen, Abel C. H.
    2023 IEEE INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND APPLIED NETWORK TECHNOLOGIES, ICMLANT, 2023, : 56 - 60
  • [37] Designing and Delivering a Post-Quantum Cryptography Course
    Borrelli, Thomas J.
    Polak, Monika
    Radziszowski, Stanislaw
    PROCEEDINGS OF THE 55TH ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, SIGCSE 2024, VOL. 1, 2024, : 137 - 143
  • [38] TPM-Based Post-Quantum Cryptography
    Paul, Sebastian
    Schick, Felix
    Seedorf, Jan
    ARES 2021: 16TH INTERNATIONAL CONFERENCE ON AVAILABILITY, RELIABILITY AND SECURITY, 2021,
  • [39] Faster Isogenies for Post-quantum Cryptography: SIKE
    Elkhatib, Rami
    Koziel, Brian
    Azarderakhsh, Reza
    TOPICS IN CRYPTOLOGY, CT-RSA 2022, 2022, 13161 : 49 - 72
  • [40] US outlines shift to post-quantum cryptography'
    Banks, Michael
    PHYSICS WORLD, 2022, 35 (06)