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 条
  • [41] ENEST - Efficient Interrupt Nesting for RISC-V based CPUs
    Lindgren, Per
    Dzialo, Pawel
    Lunnikivi, Henri
    Ericsson, Johan
    2023 IEEE 2ND INDUSTRIAL ELECTRONICS SOCIETY ANNUAL ON-LINE CONFERENCE, ONCON, 2023,
  • [42] Implementation of Code Integrity Check Module for RISC-V Architecture with AES
    Tulemez, Safak
    Altilar, Deniz Turgay
    2022 INTERNATIONAL CONFERENCE ON THEORETICAL AND APPLIED COMPUTER SCIENCE AND ENGINEERING (ICTASCE), 2022, : 148 - 152
  • [43] Turna: a control flow graph reconstruction tool for RISC-V architecture
    Veysel Harun Sahin
    Computing, 2023, 105 : 1821 - 1845
  • [44] Will RISC-V Revolutionize Computing?
    Greengard, Samuel
    COMMUNICATIONS OF THE ACM, 2020, 63 (05) : 30 - 32
  • [45] Verifying RISC-V SoCs
    van Blommestein, Rob
    Electronics World, 2020, 126 (2002): : 44 - 46
  • [46] Extended RISC-V hardware architecture for future digital communication systems
    Tourres, Mael
    Chavet, Cyrille
    Le Gal, Bertrand
    Crenne, Jeremie
    Coussy, Philippe
    2021 IEEE 4TH 5G WORLD FORUM (5GWF 2021), 2021, : 224 - 229
  • [47] Accelerated RISC-V for SIKE
    Elkhatib, Rami
    Azarderakhsh, Reza
    Mozaffari-Kermani, Mehran
    2021 IEEE 28TH SYMPOSIUM ON COMPUTER ARITHMETIC (ARITH 2021), 2021, : 131 - 138
  • [48] RISC-V Online Tutor
    Morgan, Fearghal
    Beretta, Arthur
    Gallivan, Ian
    Clancy, Joseph
    Rousseau, Frederic
    George, Roshan
    Bako, Laszlo
    Callaly, Frank
    ONLINE ENGINEERING AND SOCIETY 4.0, 2022, 298 : 131 - 143
  • [49] HECTOR-V: A Heterogeneous CPU Architecture for a Secure RISC-V Execution Environment
    Nasahl, Pascal
    Schilling, Robert
    Werner, Mario
    Mangard, Stefan
    ASIA CCS'21: PROCEEDINGS OF THE 2021 ACM ASIA CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2021, : 187 - 199
  • [50] Turna: a control flow graph reconstruction tool for RISC-V architecture
    Sahin, Veysel Harun
    COMPUTING, 2023, 105 (08) : 1821 - 1845