Risq-v: Tightly coupled risc-v accelerators for post-quantum cryptography

被引:0
|
作者
Fritzmann T. [1 ]
Sigl G. [1 ]
Sepúlveda J. [2 ]
机构
[1] Technical University of Munich, TUM Department of Electrical and Computer Engineering, Chair of Security in Information Technology, Munich
[2] AIRBUS Defence and Space GmbH, Taufkirchen
关键词
Instruction set extension; Lattice-based cryptography; Post-quantum cryptography; RISC-V;
D O I
10.13154/tches.v2020.i4.239-280
中图分类号
学科分类号
摘要
Empowering electronic devices to support Post-Quantum Cryptography (PQC) is a challenging task. PQC introduces new mathematical elements and operations which are usually not easy to implement on standard processors. Especially for low cost and resource constraint devices, hardware acceleration is usually required. In addition, as the standardization process of PQC is still ongoing, a focus on maintaining flexibility is mandatory. To cope with such requirements, hardware/software co-design techniques have been recently used for developing complex and highly customized PQC solutions. However, while most of the previous works have developed loosely coupled PQC accelerators, the design of tightly coupled accelerators and Instruction Set Architecture (ISA) extensions for PQC have been barely explored. To this end, we present RISQ-V, an enhanced RISC-V architecture that integrates a set of powerful tightly coupled accelerators to speed up lattice-based PQC. RISQ-V efficiently reuses processor resources and reduces the amount of memory accesses. This significantly increases the performance while keeping the silicon area overhead low. We present three contributions. First, we propose a set of powerful hardware accelerators deeply integrated into the RISC-V pipeline. Second, we extended the RISC-V ISA with 29 new instructions to efficiently perform operations for lattice-based cryptography. Third, we implemented our RISQ-V in ASIC technology and on FPGA. We evaluated the performance of NewHope, Kyber, and Saber on RISQ-V. Compared to the pure software implementation on RISC-V, our co-design implementations show a speedup factor of up to 11.4 for NewHope, 9.6 for Kyber, and 2.7 for Saber. For the ASIC implementation, the energy consumption was reduced by factors of up to 9.5 for NewHope, 7.7 for Kyber, and 2.1 for Saber. The cell count of the CPU was increased by a factor of 1.6 compared to the original RISC-V design, which can be considered as a moderate increase for the achieved performance gain. © 2020, Ruhr-University of Bochum. All rights reserved.
引用
收藏
页码:239 / 280
页数:41
相关论文
共 50 条
  • [1] Post-Quantum Cryptography Coprocessor for RISC-V CPU Core
    Lee, Jihye
    Kim, Whijin
    Kim, Sohyeon
    Kim, Ji-Hoon
    2022 INTERNATIONAL CONFERENCE ON ELECTRONICS, INFORMATION, AND COMMUNICATION (ICEIC), 2022,
  • [2] Accelerated RISC-V for Post-Quantum SIKE
    Elkhatib, Rami
    Koziel, Brian
    Azarderakhsh, Reza
    Kermani, Mehran Mozaffari
    IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS I-REGULAR PAPERS, 2022, 69 (06) : 2490 - 2501
  • [3] Enhancing RISC-V Vector Extension for Efficient Application of Post-quantum Cryptography
    Zhao, Yifan
    Kuang, Honglin
    Sun, Yi
    Yang, Zhen
    Chen, Chen
    Meng, Jianyi
    Han, Jun
    2023 IEEE 34TH INTERNATIONAL CONFERENCE ON APPLICATION-SPECIFIC SYSTEMS, ARCHITECTURES AND PROCESSORS, ASAP, 2023, : 10 - 17
  • [4] Post-Quantum Signatures on RISC-V with Hardware Acceleration
    Karl, Patrick
    Schupp, Jonas
    Fritzmann, Tim
    Sigl, Georg
    ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2024, 23 (02)
  • [5] Demonstrating Post-Quantum Remote Attestation for RISC-V Devices
    Barger, Maximilian
    Brohett, Marco
    Regazzoni, Francesco
    2024 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION, DATE, 2024,
  • [6] VPQC: A Domain-Specific Vector Processor for Post-Quantum Cryptography Based on RISC-V Architecture
    Xin, Guozhu
    Han, Jun
    Yin, Tianyu
    Zhou, Yuchao
    Yang, Jianwei
    Cheng, Xu
    Zeng, Xiaoyang
    IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS I-REGULAR PAPERS, 2020, 67 (08) : 2672 - 2684
  • [7] Support Post Quantum Cryptography with SIMD Everywhere on RISC-V Architectures
    Wang, Liang-Ni
    Li, Ju-Hung
    Kuan, Chi-Bang
    Su, Yi-Chiao
    53RD INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING, ICPP 2024, 2024, : 23 - 32
  • [8] Exploring the RISC-V Vector Extension for the Classic McEliece Post-Quantum Cryptosystem
    Pircher, S.
    Geier, J.
    Zeh, A.
    Mueller-Gritschneder, D.
    PROCEEDINGS OF THE 2021 TWENTY SECOND INTERNATIONAL SYMPOSIUM ON QUALITY ELECTRONIC DESIGN (ISQED 2021), 2021, : 401 - 407
  • [9] High-Efficiency Multi-Standard Polynomial Multiplication Accelerator on RISC-V SoC for Post-Quantum Cryptography
    Dam, Duc-Thuan
    Nguyen, Trong-Hung
    Tran, Thai-Ha
    Le, Duc-Hung
    Hoang, Trong-Thuc
    Pham, Cong-Kha
    IEEE ACCESS, 2024, 12 : 195015 - 195031
  • [10] Efficient Cryptography on the RISC-V Architecture
    Stoffelen, Ko
    PROGRESS IN CRYPTOLOGY - LATINCRYPT 2019, 2019, 11774 : 323 - 340