Paper 2026/2932

Karu64: An Open RVA23 Processor with Vector Keccak Support

Markku-Juhani O. Saarinen, Tampere University
Thomas Szymkowiak, Tampere University
Abstract

Can a whole-permutation Keccak instruction provide useful post-quantum acceleration inside a general-purpose vector application processor, despite its 1600-bit state and limited register-file bandwidth? We present, to our knowledge, the first hardware implementation of the standards-track RISC-V Zvknhk Vector Keccak extension. We integrate it alongside other vector cryptography support into Karu64, a new open-source application processor supporting the RVA23S64 profile. The complete system boots Debian Linux on a VCU118 FPGA at 75 MHz, allowing realistic OpenSSL benchmarking. Architecturally, the vkeccak.vi instruction gathers the state once, performs the permutation, and returns it through existing vector registers. This gives it excellent performance and allows usage from unmodified Linux userspace. In ideal-memory RTL simulation, resident-state SHAKE128/256 absorption and squeezing are $79$ - $83\times$ and $105$ - $116\times$ faster, respectively, than Clang-generated vector-enabled C with Zbb and Zvbb extensions. FPGA measurements under Linux show end-to-end ML-KEM and ML-DSA operations gain $1.48\times$ and $1.65\times$, respectively, over hand-vectorized implementations, due to the central role of Keccak in these PQC standards. A NanGate45 synthesis comparison shows a 2.29 % core-area increment over the implemented ratified-crypto baseline. These results establish practical feasibility of the fixed-group instruction, connecting standards-track semantics to integrated hardware cost and measured application benefit in a working Linux system.

Note: RISC-V Summit North America 2027 ( San Francisco, February 16-18, 2027 ). Full source code and further information available via: https://karucore.com/

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Preprint.
Keywords
RISC-VVector CryptographyKeccakSHA-3Post-Quantum CryptographyML-KEMML-DSA
Contact author(s)
markku-juhani saarinen @ tuni fi
thomas szymkowiak @ tuni fi
History
2026-11-22: approved
2026-11-18: received
See all versions
Short URL
https://ia.cr/2026/2932
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2026/2932,
      author = {Markku-Juhani O. Saarinen and Thomas Szymkowiak},
      title = {Karu64: An Open {RVA23} Processor with Vector Keccak Support},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/2932},
      year = {2026},
      url = {https://eprint.iacr.org/2026/2932}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.