A Fast and Compact RISC-V Accelerator for Ascon and Friends

被引:1
|
作者
Steinegger, Stefan [1 ]
Primas, Robert [1 ]
机构
[1] Graz Univ Technol, Graz, Austria
基金
欧洲研究理事会;
关键词
Authenticated encryption; Ascon; Isap; Hardware acceleration; RISC-V; RI5CY; CV32E40P; Side-channels; Fault attacks; Leakage resilience;
D O I
10.1007/978-3-030-68487-7_4
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Ascon-p is the core building block of Ascon, the winner in the lightweight category of the CAESAR competition. With Isap, another Ascon-p-based AEAD scheme is currently competing in the 2nd round of the NIST lightweight cryptography standardization project. In contrast to Ascon, Isap focuses on providing hardening/protection against a large class of implementation attacks, such as DPA, DFA, SFA, and SIFA, entirely on mode-level. Consequently, Ascon-p can be used to realize a wide range of cryptographic computations such as authenticated encryption, hashing, pseudorandom number generation, with or without the need for implementation security, which makes it the perfect choice for lightweight cryptography on embedded devices. In this paper, we implement Ascon-p as an instruction extension for RISC-V that is tightly coupled to the processors register file and thus does not require any dedicated registers. This single instruction allows us to realize all cryptographic computations that typically occur on embedded devices with high performance. More concretely, with Isap and Ascon's family of modes for AEAD and hashing, we can perform cryptographic computations with a performance of about 2 cycles/byte, or about 4 cycles/byte if protection against fault attacks and power analysis is desired. As we show, our instruction extension requires only 4.7 kGE, or about half the area of dedicated Ascon co-processor designs, and is easy to integrate into low-end embedded devices like 32-bit ARM Cortex-M or RISC-V microprocessors. Finally, we analyze the provided implementation security of Isap, when implemented using our instruction extension.
引用
收藏
页码:53 / 67
页数:15
相关论文
共 50 条
  • [1] CORDIC Accelerator for RISC-V
    Yildiz, Recep Onur
    Yilmazer-Metin, Ayse
    2021 29TH TELECOMMUNICATIONS FORUM (TELFOR), 2021,
  • [2] Functional Verification of a RISC-V Vector Accelerator
    Jimenez, Victor
    Rodriguez, Mario
    Dominguez, Marc
    Sans, Josep
    Diaz, Ivan
    Valente, Luca
    Guglielmi, Vito Luca
    Quiroga, Josue V. V.
    Genovese, R. Ignacio
    Sonmez, Nehir
    Palomar, Oscar
    Moreto, Miquel
    IEEE DESIGN & TEST, 2023, 40 (03) : 36 - 44
  • [3] Digital Signal Processing Accelerator for RISC-V
    Calicchia, L.
    Ciotoli, V.
    Cardarilli, G. C.
    Di Nunzio, L.
    Fazzolari, R.
    Nannarelli, A.
    Re, M.
    2019 26TH IEEE INTERNATIONAL CONFERENCE ON ELECTRONICS, CIRCUITS AND SYSTEMS (ICECS), 2019, : 703 - 706
  • [4] RISC-V Barrel Processor for Accelerator Control
    AskariHemmat, MohammadHossein
    Bilaniuk, Olexa
    Wagner, Sean
    Savaria, Yvon
    David, Jean-Pierre
    28TH IEEE INTERNATIONAL SYMPOSIUM ON FIELD-PROGRAMMABLE CUSTOM COMPUTING MACHINES (FCCM), 2020, : 212 - 212
  • [5] Rapid RISC: Fast Customization of RISC-V Processors
    Donofrio, David D.
    Leidel, John D.
    OPEN ARCHITECTURE/OPEN BUSINESS MODEL NET-CENTRIC SYSTEMS AND DEFENSE TRANSFORMATION 2022, 2022, 12119
  • [6] An Automated Compiler for RISC-V Based DNN Accelerator
    Wu, Zheng
    Xie, Wuzhen
    Yi, Xiaoling
    Yang, Haitao
    Pu, Ruiyao
    Xiong, Xiankui
    Yao, Haidong
    Chen, Chixiao
    Tao, Jun
    Yang, Fan
    2022 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS 22), 2022, : 3097 - 3101
  • [7] GRVI Phalanx: A Massively Parallel RISC-V FPGA Accelerator Accelerator
    Gray, Jan
    2016 IEEE 24TH ANNUAL INTERNATIONAL SYMPOSIUM ON FIELD-PROGRAMMABLE CUSTOM COMPUTING MACHINES (FCCM), 2016, : 17 - 20
  • [8] An Implementation of a Pattern Matching Accelerator on a RISC-V Processor
    Takayama, Riku
    Tada, Jubee
    2022 TENTH INTERNATIONAL SYMPOSIUM ON COMPUTING AND NETWORKING WORKSHOPS, CANDARW, 2022, : 273 - 275
  • [9] 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
  • [10] Second International workshop on RISC-V for HPC (RISC-V HPC)
    Brown, Nick
    Davis, John
    Leidel, John
    Wong, Michael
    ACM International Conference Proceeding Series, 2023, : 1521 - 1522