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 条
  • [21] Efficient Accelerator for Depthwise Separable Convolutional Neural Networks Based on RISC-V
    Cao, Xi-Yu
    Chen, Xin
    Wei, Tong-Quan
    Jisuanji Xuebao/Chinese Journal of Computers, 2024, 47 (11): : 2536 - 2551
  • [22] Integrating NVIDIA Deep Learning Accelerator (NVDLA) with RISC-V SoC on FireSim
    Farshchi, Farzad
    Huang, Qijing
    Yun, Heechul
    2019 2ND WORKSHOP ON ENERGY EFFICIENT MACHINE LEARNING AND COGNITIVE COMPUTING FOR EMBEDDED APPLICATIONS (EMC2 2019), 2019, : 21 - 25
  • [23] Implementation and integration of NTT/INTT accelerator on RISC-V for CRYSTALS-Kyber
    Dolmeta, Alessandra
    Martina, Maurizio
    Valpreda, Emanuele
    Masera, Guido
    PROCEEDINGS OF THE 21ST ACM INTERNATIONAL CONFERENCE ON COMPUTING FRONTIERS 2024-WORKSHOPS AND SPECIAL SESSIONS, CF 2024 COMPANION, 2024, : 59 - 62
  • [24] Will RISC-V Revolutionize Computing?
    Greengard, Samuel
    COMMUNICATIONS OF THE ACM, 2020, 63 (05) : 30 - 32
  • [25] Verifying RISC-V SoCs
    van Blommestein, Rob
    Electronics World, 2020, 126 (2002): : 44 - 46
  • [26] Accelerated RISC-V for SIKE
    Elkhatib, Rami
    Azarderakhsh, Reza
    Mozaffari-Kermani, Mehran
    2021 IEEE 28TH SYMPOSIUM ON COMPUTER ARITHMETIC (ARITH 2021), 2021, : 131 - 138
  • [27] 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
  • [28] Fast Reliable Verification Methodology for RISC-V without a Reference Model
    Munir, Abdelfattah
    Magdy, Mina
    Ahmed, Samer
    Nasr, Sherouk
    El-Ashry, Sameh
    Shalaby, Ahmed
    2018 19TH INTERNATIONAL WORKSHOP ON MICROPROCESSOR AND SOC TEST, SECURITY AND VERIFICATION (MTV), 2018, : 12 - 17
  • [29] Fast and Accurate Performance Evaluation for RISC-V using Virtual Prototypes
    Herdt, Vladimir
    Grosse, Daniel
    Drechsler, Rolf
    PROCEEDINGS OF THE 2020 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE 2020), 2020, : 618 - 621
  • [30] Fast Packet Classification using RISC-V and HyperSplit Acceleration on FPGA
    Pnevmatikou, Arsinoe
    Lentaris, George
    Soudris, Dimitrios
    Kokkalis, Nikos
    2020 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS), 2020,