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 language | English |
---|---|
Title of host publication | Proceedings - 2023 IEEE 34th International Conference on Application-Specific Systems, Architectures and Processors, ASAP 2023 |
Publisher | Institute of Electrical and Electronics Engineers Inc. |
Pages | 147-155 |
Number of pages | 9 |
ISBN (Electronic) | 9798350346855 |
DOIs | |
State | Published - 2023 |
Externally published | Yes |
Event | 34th IEEE International Conference on Application-Specific Systems, Architectures and Processors, ASAP 2023 - Porto, Portugal Duration: 19 Jul 2023 → 21 Jul 2023 |
Publication series
Name | Proceedings of the International Conference on Application-Specific Systems, Architectures and Processors |
---|---|
Volume | 2023-July |
ISSN (Print) | 1063-6862 |
Conference
Conference | 34th IEEE International Conference on Application-Specific Systems, Architectures and Processors, ASAP 2023 |
---|---|
Country/Territory | Portugal |
City | Porto |
Period | 19/07/23 → 21/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