Efficient Cryptography on the RISC-V Architecture

被引:24
|
作者
Stoffelen, Ko [1 ]
机构
[1] Radboud Univ Nijmegen, Digital Secur Grp, Nijmegen, Netherlands
来源
关键词
RISC-V; AES; ChaCha; Keccak; Arbitrary-precision arithmetic; Software optimization;
D O I
10.1007/978-3-030-30530-7_16
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
RISC-V is a promising free and open-source instruction set architecture. Most of the instruction set has been standardized and several hardware implementations are commercially available. In this paper we highlight features of RISC-V that are interesting for optimizing implementations of cryptographic primitives. We provide the first optimized assembly implementations of table-based AES, bitsliced AES, ChaCha, and the Keccak-f[1600] permutation for the RV32I instruction set. With respect to public-key cryptography, we study the performance of arbitrary-precision integer arithmetic without a carry flag. We then estimate the improvement that can be gained by several RISC-V extensions. These performance studies also serve to aid design choices for future RISC-V extensions and implementations.
引用
收藏
页码:323 / 340
页数:18
相关论文
共 50 条
  • [21] Post-Quantum Cryptography Coprocessor for RISC-V CPU Core
    Lee, Jihye
    Kim, Whijin
    Kim, Sohyeon
    Kim, Ji-Hoon
    [J]. 2022 INTERNATIONAL CONFERENCE ON ELECTRONICS, INFORMATION, AND COMMUNICATION (ICEIC), 2022,
  • [22] Energy-Efficient Exposed Datapath Architecture With a RISC-V Instruction Set Mode
    Hepola, Kari
    Multanen, Joonas
    Jaaskelainen, Pekka
    [J]. IEEE TRANSACTIONS ON COMPUTERS, 2024, 73 (02) : 560 - 573
  • [23] Comparison of RISC-V and transport triggered architectures for a postquantum cryptography application
    Akcay, Latif
    Ors, Berna
    [J]. TURKISH JOURNAL OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCES, 2021, 29 (01) : 321 - 333
  • [24] 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
    [J]. IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS I-REGULAR PAPERS, 2020, 67 (08) : 2672 - 2684
  • [25] SPEAR-V: Secure and Practical Enclave Architecture for RISC-V
    Schrammel, David
    Waser, Moritz
    Lamster, Lukas
    Unterguggenberger, Martin
    Mangard, Stefan
    [J]. PROCEEDINGS OF THE 2023 ACM ASIA CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, ASIA CCS 2023, 2023, : 457 - 468
  • [26] Efficient resource shared RISC-V multicore processor
    Islam, Md Ashraful
    Kise, Kenji
    [J]. 2021 IEEE 14TH INTERNATIONAL SYMPOSIUM ON EMBEDDED MULTICORE/MANY-CORE SYSTEMS-ON-CHIP (MCSOC 2021), 2021, : 366 - 372
  • [27] Investigation of RISC-V
    Frolov, V. A.
    Galaktionov, V. A.
    Sanzharov, V. V.
    [J]. PROGRAMMING AND COMPUTER SOFTWARE, 2021, 47 (07) : 493 - 504
  • [28] Resource-efficient RISC-V Vector Extension Architecture for FPGA-based Accelerators
    Islam, Md Ashraful
    Kise, Kenji
    [J]. THE PROCEEDINGS OF THE 13TH INTERNATIONAL SYMPOSIUM ON HIGHLY EFFICIENT ACCELERATORS AND RECONFIGURABLE TECHNOLOGIES, HEART 2023, 2023, : 78 - 85
  • [29] Investigation of RISC-V
    V. A. Frolov
    V. A. Galaktionov
    V. V. Sanzharov
    [J]. Programming and Computer Software, 2021, 47 : 493 - 504
  • [30] Risq-v: Tightly coupled risc-v accelerators for post-quantum cryptography
    Fritzmann, Tim
    Sigl, Georg
    Sepúlveda, Johanna
    [J]. IACR Transactions on Cryptographic Hardware and Embedded Systems, 2020, 2020 (04): : 239 - 280