Design and Prototyping of Custom SHA-3 Instruction for CVA6 RISC-V Core
This paper presents the design, implementation, validation, and performance benchmarking of a custom SHA-3 instruction (shatr) integrated directly into the CPU datapath of a Linux-capable RISC-V System-on-Chip (SoC). While previous research has focused on software simulations or external coprocessors, our work details the full-stack integration into the CVA6 CPU core, implemented and validated entirely on an FPGA hardware prototype. The system is proven to be robust and compatible, successfully booting a standard Linux operating system and passing the complete suite of NIST SHA-3 cryptographic validation tests. Experimental results demonstrate that the shatr instruction provides an average performance gain of 155.21x for short inputs, 157.20x for long inputs over standard ISA execution of SHA-3 workloads. This acceleration is achieved with a minimal area overhead of 3.3% in LUTs and 1.5% in registers, with no degradation to the system’s maximum clock frequency and with no added critical path latency. This work provides a concrete, hardware-proven reference for SHA-3-based cryptographic extensions in open-source RISC-V platforms, bridging the gap between microarchitectural theory and practical, system-level deployment for SHA-3 acceleration.
Authors
- Alperen Bolat (ORCID: https://orcid.org/0000-0003-0170-8038)
- Henry Hui (ORCID: https://orcid.org/0000-0002-8981-5462)
- Kieran McLaughlin (ORCID: https://orcid.org/0000-0002-1299-2364)
- Sakir Sezer (ORCID: https://orcid.org/0000-0003-2857-616X)
Institutions
- Queen's University Belfast (GB)
Publication Details
- Published
- 2025-09-29
- DOI
- https://doi.org/10.1109/socc66126.2025.11235423
- Primary Topic
- Cryptographic Implementations and Security
- Type
- article
- Field-Weighted Citation Impact
- 0.00