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 条
  • [31] HWST128: Complete Memory Safety Accelerator on RISC-V with Metadata Compression
    Dow, Hsu-Kang
    Li, Tuo
    Parameswaran, Sri
    PROCEEDINGS OF THE 59TH ACM/IEEE DESIGN AUTOMATION CONFERENCE, DAC 2022, 2022, : 709 - 714
  • [32] AI-ISP Accelerator with RISC-V ISA Extension for Image Signal Processing
    Wu, Zong-Mao
    Lin, Yu-Chi
    Liu, Chih-Wei
    2024 INTERNATIONAL VLSI SYMPOSIUM ON TECHNOLOGY, SYSTEMS AND APPLICATIONS, VLSI TSA, 2024,
  • [33] Banshee: A Fast LLVM-Based RISC-V Binary Translator
    Riedel, Samuel
    Schuiki, Fabian
    Scheffler, Paul
    Zaruba, Florian
    Benini, Luca
    2021 IEEE/ACM INTERNATIONAL CONFERENCE ON COMPUTER AIDED DESIGN (ICCAD), 2021,
  • [34] The Celerity Open-Source 511-Core RISC-V Tiered Accelerator Fabric: Fast Architectures and Design Methodologies for Fast Chips
    Davidson, Scott
    Xie, Shaolin
    Torng, Christopher
    Al-Hawaj, Khalid
    Rovinski, Austin
    Ajayi, Tutu
    Vega, Luis
    Zhao, Chun
    Zhao, Ritchie
    Dai, Steve
    Amarnath, Aporva
    Veluri, Bandhav
    Gao, Paul
    Rao, Anuj
    Liu, Gai
    Gupta, Rajesh K.
    Zhang, Zhiru
    Dreslinski, Ronald G.
    Batten, Christopher
    Taylor, Michael Bedford
    IEEE MICRO, 2018, 38 (02) : 30 - 41
  • [35] RNN-Based Radio Resource Management on Multicore RISC-V Accelerator Architectures
    Paulin, Gianna
    Andri, Renzo
    Conti, Francesco
    Benini, Luca
    IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, 2021, 29 (09) : 1624 - 1637
  • [36] RISC-V Dives Into AI > Demand for machine learning means RISC-V chips will be everywhere
    Moore, Samuel K.
    IEEE SPECTRUM, 2022, 59 (04) : 5 - 7
  • [37] RISC-V2: A Scalable RISC-V Vector Processor
    Patsidis, Kariofyllis
    Nicopoulos, Chrysostomos
    Sirakoulis, Georgios Ch
    Dimitrakopoulos, Giorgos
    2020 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS), 2020,
  • [38] RVfplib: A Fast and Compact Open-Source Floating-Point Emulation Library for Tiny RISC-V Processors
    Perotti, Matteo
    Tagliavini, Giuseppe
    Mach, Stefan
    Bertaccini, Luca
    Benini, Luca
    EMBEDDED COMPUTER SYSTEMS: ARCHITECTURES, MODELING, AND SIMULATION, SAMOS 2021, 2022, 13227 : 16 - 32
  • [39] Information Flow Tracking in RISC-V
    Shirley, Geraldine
    Saqib, Fareena
    2019 IEEE 16TH INTERNATIONAL CONFERENCE ON SMART CITIES: IMPROVING QUALITY OF LIFE USING ICT, IOT AND AI (IEEE HONET-ICT 2019), 2019, : 199 - 200
  • [40] RISC-V RANDOM TEST GENERATOR
    Dai Duong Tran
    Thi Giang Truong
    Truong Giang Do
    The Duc Do
    2021 15TH INTERNATIONAL CONFERENCE ON ADVANCED COMPUTING AND APPLICATIONS (ACOMP 2021), 2021, : 150 - 155