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 条
  • [21] Implementing the Draft RISC-V Scalar Cryptography Extensions
    Marshall, Ben
    Page, Daniel
    Pham, Thinh
    PROCEEDINGS OF THE 9TH INTERNATIONAL WORKSHOP ON HARDWARE AND ARCHITECTURAL SUPPORT FOR SECURITY AND PRIVACY, HASP 2020, 2020,
  • [22] CRYSTALS-Dilithium on RISC-V Processor: Lightweight Secure Boot using Post-Quantum Digital Signature
    Gupta, Naina
    Jati, Arpan
    Chattopadhyay, Anupam
    2023 IEEE/ACM INTERNATIONAL CONFERENCE ON COMPUTER AIDED DESIGN, ICCAD, 2023,
  • [23] Symmetric Cryptography on RISC-V: Performance Evaluation of Standardized Algorithms
    Nisanci, Gorkem
    Flikkema, Paul G.
    Yalcin, Tolga
    CRYPTOGRAPHY, 2022, 6 (03)
  • [24] TIGRA: A Tightly Integrated Generic RISC-V Accelerator Interface
    Green, Brad
    Todd, Dillon
    Calhoun, Jon C.
    Smith, Melissa C.
    2021 IEEE INTERNATIONAL CONFERENCE ON CLUSTER COMPUTING (CLUSTER 2021), 2021, : 779 - 782
  • [25] A review of CNN accelerators for embedded systems based on RISC-V
    Sanchez-Flores, Alejandra
    Alvarez, Lluc
    Alorda-Ladaria, Bartomeu
    2022 IEEE INTERNATIONAL CONFERENCE ON OMNI-LAYER INTELLIGENT SYSTEMS (IEEE COINS 2022), 2022, : 222 - 227
  • [26] RISC-V Instruction Set Extensions for Lightweight Symmetric Cryptography
    Cheng H.
    Großschädl J.
    Marshall B.
    Page D.
    Pham T.
    IACR Transactions on Cryptographic Hardware and Embedded Systems, 2022, 2023 (01): : 193 - 237
  • [27] Cryptographic Accelerators for Trusted Execution Environment in RISC-V processors
    Hoang, Trong-Thuc
    Duran, Ckristian
    Tsukamoto, Akira
    Suzaki, Kuniyasu
    Pham, Cong-Kha
    2020 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS), 2020,
  • [28] XMSS and Embedded Systems XMSS Hardware Accelerators for RISC-V
    Wang, Wen
    Jungk, Bernhard
    Waelde, Julian
    Deng, Shuwen
    Gupta, Naina
    Szefer, Jakub
    Niederhagen, Ruben
    SELECTED AREAS IN CRYPTOGRAPHY - SAC 2019, 2020, 11959 : 523 - 550
  • [29] Masked Accelerators and Instruction Set Extensions for Post-Quantum Cryptography
    Fritzmann T.
    Van Beirendonck M.
    Roy D.B.
    Karl P.
    Schamberger T.
    Verbauwhede I.
    Sigl G.
    IACR Transactions on Cryptographic Hardware and Embedded Systems, 2021, 2022 (01): : 414 - 460
  • [30] Design of a Tightly-Coupled RISC-V Physical Memory Protection Unit for Online Error Detection
    Gerlin, Nicolas
    Kaja, Endri
    Bora, Monideep
    Devarajegowda, Keerthikumara
    Stoffel, Dominik
    Kunz, Wolfgang
    Ecker, Wolfgang
    PROCEEDINGS OF THE 2022 IFIP/IEEE 30TH INTERNATIONAL CONFERENCE ON VERY LARGE SCALE INTEGRATION (VLSI-SOC), 2022,