Synthesis of Flexible Accelerators for Early Adoption of Ring-LWE Post-quantum Cryptography

被引:9
|
作者
Nejatollahi, Hamid [1 ]
Valencia, Felipe [2 ]
Banik, Subhadeep [3 ]
Regazzoni, Francesco [2 ]
Cammarota, Rosario [4 ]
Dutt, Nikil [1 ]
机构
[1] Univ Calif Irvine, Irvine, CA 92697 USA
[2] ALaRI, Lugano, Switzerland
[3] Ecole Polytech Fed Lausanne, Lausanne, Switzerland
[4] Intel AI Res, San Diego, CA USA
基金
欧盟地平线“2020”; 瑞士国家科学基金会;
关键词
Public key cryptography; post-quantum cryptography lattice-based cryptography; ideal lattices; domain specific acceleration; cache architecture;
D O I
10.1145/3378164
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The advent of the quantum computer makes current public-key infrastructure insecure. Cryptography community is addressing this problem by designing, efficiently implementing, and evaluating novel public-key algorithms capable of withstanding quantum computational power. Governmental agencies, such as NIST, are promoting standardization of quantum-resistant algorithms that is expected to run for 7 years. Several modern applications must maintain permanent data secrecy; therefore, they ultimately require the use of quantum-resistant algorithms. Because algorithms are still under scrutiny for eventual standardization, the deployment of the hardware implementation of quantum-resistant algorithms is still in early stages. In this article, we propose a methodology to design programmable hardware accelerators for lattice-based algorithms, and we use the proposed methodology to implement flexible and energy efficient post-quantum cache-based accelerators for NewHope, Kyber, Dilithium, Key Consensus from Lattice (KCL), and R.EMBLEM submissions to the NIST standardization contest. To the best of our knowledge, we propose the first efficient domain-specific, programmable cache-based accelerators for lattice-based algorithms. We design a single accelerator for a common kernel among various schemes with different kernel sizes, i.e., loop count, and data types. This is in contrast to the traditional approach of designing one special purpose accelerators for each scheme. We validate our methodology by integrating our accelerators into an HLS-based SoC infrastructure based on the X86 processor and evaluate overall performance. Our experiments demonstrate the suitability of the approach and allow us to collect insightful information about the performance bottlenecks and the energy efficiency of the explored algorithms. Our results provide guidelines for hardware designers, highlighting the optimization points to address for achieving the highest energy minimization and performance increase. At the same time, our proposed design allows us to specify and execute new variants of lattice-based schemes with superior energy efficiency compared to the main application processor without changing the hardware acceleration platform. For example, we manage to reduce the energy consumption up to 2.1x and energy-delay product (EDP) up to 5.2x and improve the speedup up to 2.5x.
引用
收藏
页数:17
相关论文
共 50 条
  • [41] FPGA Accelerated Post-Quantum Cryptography
    Li, He
    Tang, Yongming
    Que, Zhiqiang
    Zhang, Jiliang
    IEEE TRANSACTIONS ON NANOTECHNOLOGY, 2022, 21 : 685 - 691
  • [42] Implementing Post-quantum Cryptography for Developers
    Hekkala, Julius
    Halunen, Kimmo
    Vallivaara, Visa
    PROCEEDINGS OF THE 8TH INTERNATIONAL CONFERENCE ON INFORMATION SYSTEMS SECURITY AND PRIVACY (ICISSP), 2021, : 73 - 83
  • [43] Risq-v: Tightly coupled risc-v accelerators for post-quantum cryptography
    Fritzmann T.
    Sigl G.
    Sepúlveda J.
    IACR Transactions on Cryptographic Hardware and Embedded Systems, 2020, 2020 (04): : 239 - 280
  • [44] High-efficiency Low-latency NTT Polynomial Multiplier for Ring-LWE Cryptography
    Tuy Nguyen Tan
    Tram Thi Bao Nguyen
    Lee, Hanho
    JOURNAL OF SEMICONDUCTOR TECHNOLOGY AND SCIENCE, 2020, 20 (02) : 220 - 223
  • [45] A Quantum of QUIC: Dissecting Cryptography with Post-Quantum Insights
    Kempf, Marcel
    Gauder, Nikolas
    Jaeger, Benedikt
    Zirngibl, Johannes
    Carle, Georg
    2024 23RD IFIP NETWORKING CONFERENCE, IFIP NETWORKING 2024, 2024, : 186 - 194
  • [46] Current and future panorama of Quantum and Post-Quantum Cryptography
    Claudio, Mendilaharzu
    Fernando, Figueras
    2024 IEEE BIENNIAL CONGRESS OF ARGENTINA, ARGENCON 2024, 2024,
  • [47] Hardware implementation of Ring-LWE lattice cryptography with BCH and Gray coding based error correction
    Mondal, Somnath
    Patkar, Sachin
    Pal, T. K.
    2023 36TH INTERNATIONAL CONFERENCE ON VLSI DESIGN AND 2023 22ND INTERNATIONAL CONFERENCE ON EMBEDDED SYSTEMS, VLSID, 2023, : 19 - 24
  • [48] A Survey of Post-Quantum Cryptography Migration in Vehicles
    Lohmiller, Nils
    Kaniewski, Sabrina
    Menth, Michael
    Heer, Tobias
    IEEE ACCESS, 2025, 13 : 10160 - 10176
  • [49] Resource guide for teaching post-quantum cryptography
    Holden, Joshua
    CRYPTOLOGIA, 2023, 47 (05) : 459 - 465
  • [50] Evaluation of Post-Quantum Distributed Ledger Cryptography
    Campbell, Robert E., Sr.
    JOURNAL OF THE BRITISH BLOCKCHAIN ASSOCIATION, 2019, 2 (01): : 17 - 24