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

Open Access
Authors
Publication date 2023
Book title 2023 IEEE 34th International Conference on Application-specific Systems, Architectures and Processors : ASAP 2023
Book subtitle proceedings : 19-21 July 2023, Porto, Portugal
ISBN
  • 9798350346862
ISBN (electronic)
  • 9798350346855
Event 34th IEEE International Conference on Application-specific Systems, Architectures and Processors
Pages (from-to) 147-155
Number of pages 9
Publisher Los Alamitos, California: IEEE Computer Society
Organisations
  • Faculty of Science (FNWI) - Informatics Institute (IVI)
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.
Document type Conference contribution
Language English
Published at https://doi.org/10.1109/ASAP57973.2023.00034
Other links https://www.proceedings.com/70749.html
Downloads
Accepted version (Accepted author manuscript)
Permalink to this page
Back