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 条
  • [41] A Framework for Fault Tolerance in RISC-V
    Doerflinger, Alexander
    Kleinbeck, Benedikt
    Albers, Mark
    Michalik, Harald
    Moya, Martin
    2022 IEEE INTL CONF ON DEPENDABLE, AUTONOMIC AND SECURE COMPUTING, INTL CONF ON PERVASIVE INTELLIGENCE AND COMPUTING, INTL CONF ON CLOUD AND BIG DATA COMPUTING, INTL CONF ON CYBER SCIENCE AND TECHNOLOGY CONGRESS (DASC/PICOM/CBDCOM/CYBERSCITECH), 2022, : 163 - 170
  • [42] Maxpool operator for RISC-V processor
    Nevezi-Strango, David
    Rotar, Danut
    Valcan, Sorin
    Gaianu, Mihail
    2023 25TH INTERNATIONAL SYMPOSIUM ON SYMBOLIC AND NUMERIC ALGORITHMS FOR SCIENTIFIC COMPUTING, SYNASC 2023, 2023, : 246 - 250
  • [43] Efficient Cryptography on the RISC-V Architecture
    Stoffelen, Ko
    PROGRESS IN CRYPTOLOGY - LATINCRYPT 2019, 2019, 11774 : 323 - 340
  • [44] Towards a firmware TPM on RISC-V
    Boubakri, Marouene
    Chiatante, Fausto
    Zouari, Belhassen
    PROCEEDINGS OF THE 2021 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE 2021), 2021, : 647 - 650
  • [45] A CLIC Extension Based Fast Interrupt System for Embedded RISC-V Processors
    Mao, Binjie
    Tan, Nianxiong
    Chong, Ting
    Li, Lei
    2021 THE 6TH INTERNATIONAL CONFERENCE ON INTEGRATED CIRCUITS AND MICROSYSTEMS (ICICM 2021), 2021, : 109 - 113
  • [46] RISC-V的“芯”技术
    俞灵琦
    华东科技, 2021, (02) : 18 - 21
  • [48] A Security RISC: Microarchitectural Attacks on Hardware RISC-V CPUs
    Gerlach, Lukas
    Weber, Daniel
    Zhang, Ruiyi
    Schwarz, Michael
    2023 IEEE SYMPOSIUM ON SECURITY AND PRIVACY, SP, 2023, : 2321 - 2338
  • [49] Design of IOMMU Based on RISC-V
    Wang, Zhendao
    Ban, Guilong
    Hu, Jin
    Jiao, Xufeng
    Hunan Daxue Xuebao/Journal of Hunan University Natural Sciences, 2024, 51 (06): : 187 - 194
  • [50] Design and Implementation of Low-Power IoT RISC-V Processor with Hybrid Encryption Accelerator
    Yang, Sen
    Shao, Lian
    Huang, Junke
    Zou, Wanghui
    ELECTRONICS, 2023, 12 (20)