Paper 2025/2178

PQCUARK: A Scalar RISC-V ISA Extension for ML-KEM and ML-DSA

Xavier Carril, Barcelona Supercomputing Center
Alicia Manuel Pasoot, Barcelona Supercomputing Center
Emanuele Parisi, Barcelona Supercomputing Center
Carlos Andrés Lara-Niño, Rovira i Virgili University
Oriol Farràs, Rovira i Virgili University
Miquel Moretó, Barcelona Supercomputing Center
Abstract

Recent advances in quantum computing pose a threat to the security of digital communications, as large-scale quantum machines can break commonly used cryptographic algorithms, such as RSA and ECC. To mitigate this risk, post-quantum cryptography (PQC) schemes are being standardized, with recent NIST recommendations selecting two lattice-based algorithms: ML-KEM for key encapsulation and ML-DSA for digital signatures. Two computationally intensive kernels dominate the execution of these schemes: the Number-Theoretic Transform (NTT) for polynomial multiplication and the Keccak-f1600 permutation function for polynomial sampling and hashing. This paper presents PQCUARK, a scalar RISC-V ISA extension that accelerates these key operations. PQCUARK integrates two novel accelerators within the core pipeline: (i) a packed SIMD butterfly unit capable of performing NTT butterfly operations on 2×32bit or 4×16bit polynomial coefficients, and (ii) a permutation engine that delivers two Keccak rounds per cycle, hosting a private state and a direct interface to the core Load Store Unit, eliminating the need for a custom register file interface. We have integrated PQCUARK into an RV64 core and deployed it on an FPGA. Experimental results demonstrate that PQCUARK provides up to 10.1× speedup over the NIST baselines and 2.3× over the optimized software, and it outperforms similar state-of-the-art approaches between 1.4-12.3× in performance. ASIC synthesis in GF22-FDSOI technology shows a moderate core area increase of 8% at 1.2 GHz, with PQCUARK units being outside the critical path.

Note: 7 pages. Accepted for publication in DATE'26 conference.

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Preprint.
Keywords
Post-Quantum CryptographyLattice-Based CryptographyInstruction Set ExtensionRISC-V
Contact author(s)
xavier carril @ bsc es
alicia manuel @ bsc es
emanuele parisi @ bsc es
carlos lara @ urv cat
oriol farras @ urv cat
miquel moreto @ bsc es
History
2026-01-16: last of 2 revisions
2025-12-01: received
See all versions
Short URL
https://ia.cr/2025/2178
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/2178,
      author = {Xavier Carril and Alicia Manuel Pasoot and Emanuele Parisi and Carlos Andrés Lara-Niño and Oriol Farràs and Miquel Moretó},
      title = {{PQCUARK}: A Scalar {RISC}-V {ISA} Extension for {ML}-{KEM} and {ML}-{DSA}},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/2178},
      year = {2025},
      url = {https://eprint.iacr.org/2025/2178}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.