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 条
  • [1] RISC-V Extension for Lightweight Cryptography
    Tehrani, Etienne
    Graba, Tarik
    Merabet, Abdelmalek Si
    Danger, Jean-Luc
    [J]. 2020 23RD EUROMICRO CONFERENCE ON DIGITAL SYSTEM DESIGN (DSD 2020), 2020, : 222 - 228
  • [2] An Efficient Resource Shared RISC-V Multicore Architecture
    Islam, Md Ashraful
    Kise, Kenji
    [J]. IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2022, E105D (09) : 1506 - 1515
  • [3] NLU-V: A Family of Instruction Set Extensions for Efficient Symmetric Cryptography on RISC-V
    Uzuner, Hakan
    Kavun, Elif Bilge
    [J]. CRYPTOGRAPHY, 2024, 8 (01)
  • [4] Assembly or Optimized C for Lightweight Cryptography on RISC-V?
    Campos, Fabio
    Jellema, Lars
    Lemmen, Mauk
    Mueller, Lars
    Sprenkels, Amber
    Viguier, Benoit
    [J]. CRYPTOLOGY AND NETWORK SECURITY, CANS 2020, 2020, 12579 : 526 - 545
  • [5] Implementing the Draft RISC-V Scalar Cryptography Extensions
    Marshall, Ben
    Page, Daniel
    Pham, Thinh
    [J]. PROCEEDINGS OF THE 9TH INTERNATIONAL WORKSHOP ON HARDWARE AND ARCHITECTURAL SUPPORT FOR SECURITY AND PRIVACY, HASP 2020, 2020,
  • [6] An Efficient Instruction Fetch Architecture for a RISC-V Soft Processor on an FPGA
    Miyazaki, Hiromu
    Miura, Junya
    Kise, Kenji
    [J]. PROCEEDINGS OF THE 10TH INTERNATIONAL SYMPOSIUM ON HIGHLY EFFICIENT ACCELERATORS AND RECONFIGURABLE TECHNOLOGIES (HEART), 2019,
  • [7] 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
    [J]. 2023 IEEE 34TH INTERNATIONAL CONFERENCE ON APPLICATION-SPECIFIC SYSTEMS, ARCHITECTURES AND PROCESSORS, ASAP, 2023, : 10 - 17
  • [8] Symmetric Cryptography on RISC-V: Performance Evaluation of Standardized Algorithms
    Nisanci, Gorkem
    Flikkema, Paul G.
    Yalcin, Tolga
    [J]. CRYPTOGRAPHY, 2022, 6 (03)
  • [9] Securing a RISC-V architecture: A dynamic approach
    Pillement, S.
    Real, M. Mendez
    Pottier, J.
    Nieddu, T.
    Le Gal, B.
    Faucou, S.
    Bechennec, J. L.
    Briday, M.
    Girbal, S.
    Le Rhun, J.
    Gilles, O.
    Perez, D. Gracia
    Sintzoff, A.
    Coulon, J. R.
    [J]. 2023 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION, DATE, 2023,
  • [10] Survey on RISC-V System Architecture Research
    Liu, Chang
    Wu, Yan-Jun
    Wu, Jing-Zheng
    Zhao, Chen
    [J]. Ruan Jian Xue Bao/Journal of Software, 2021, 32 (12): : 3992 - 4024