Resource-Constrained Encryption: Extending Ibex with a QARMA Hardware Accelerator

Mathijs De Kremer, Marco Brohet, Subhadeep Banik, Roberto Avanzi, Francesco Regazzoni

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

The increasing prevalence of IoT devices calls for the need for strong, but efficient cryptography. In this paper we present two instruction set extensions for the lightweight encryption cipher QARMA-64 to the RISC-V instruction set, implemented for the Ibex core. The first extension performs the entire algorithm in hardware, divided over ten instructions. The second extension takes a more granular approach and instead implements the basic operations that the algorithm uses as custom instructions. The first extension achieves a speedup of 600x over the software implementation and a binary size reduction of over 2x. It achieves these results at the cost of an added field-programmable gate array (FPGA) utilization over the base Ibex design of 43.9% and 18.7% for, respectively, the number of lookup tables (LUTs) and flip-flops (FFs). The application-specific integrated circuit (ASIC) area for synthesis is increased by 92.4% over the base design. The second extension achieves a speedup of 19x over the software version while roughly maintaining the same binary size. This extension increases the number of utilized LUTs and FFs respectively by only 0.1% and 4.9%. The ASIC area for this design is increased by only 5.1%. The power consumption for the first extension is estimated at 543 μ W and for the second extension at 468 μ W.

Original languageEnglish
Title of host publicationProceedings - 2023 IEEE 34th International Conference on Application-Specific Systems, Architectures and Processors, ASAP 2023
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages147-155
Number of pages9
ISBN (Electronic)9798350346855
DOIs
StatePublished - 2023
Externally publishedYes
Event34th IEEE International Conference on Application-Specific Systems, Architectures and Processors, ASAP 2023 - Porto, Portugal
Duration: 19 Jul 202321 Jul 2023

Publication series

NameProceedings of the International Conference on Application-Specific Systems, Architectures and Processors
Volume2023-July
ISSN (Print)1063-6862

Conference

Conference34th IEEE International Conference on Application-Specific Systems, Architectures and Processors, ASAP 2023
Country/TerritoryPortugal
CityPorto
Period19/07/2321/07/23

Bibliographical note

Publisher Copyright:
© 2023 IEEE.

Keywords

  • Cryptography
  • FPGA
  • Hardware acceleration
  • Ibex
  • Instruction set extension
  • IoT
  • QARMA
  • RISC-V

ASJC Scopus subject areas

  • Hardware and Architecture
  • Computer Networks and Communications

Fingerprint

Dive into the research topics of 'Resource-Constrained Encryption: Extending Ibex with a QARMA Hardware Accelerator'. Together they form a unique fingerprint.

Cite this