Paper 2026/523 Original: eprint.iacr.org/2026/523 ↗

RISC-V based Vectorization of Classic McEliece Key Generation

Mahnaz Namazi Rizi
Nusa Zidaric
Lejla Batina
Nele Mentens
Abstract

Quantum computers can break or weaken classical cryptography using Shor’s and Grover’s algorithms. This threat drives the development of post-quantum cryptography (PQC) algorithms, such as the Classic McEliece (CM) algorithm, which resists quantum attacks by relying on hard problems in coding theory. However, the complex computation and large key size make it challenging to implement CM in an efficient way in terms of computational performance. This research is the first to thoroughly explore and implement RISC-V Vector Extensions (RVV) for the acceleration of the CM key generation process. First, an evaluation is done of auto-vectorized and manually vectorized implementations of CM using the RISC-V Vector Extension Version 1.0 (RVV1.0), based on multiple vector register configurations. Further, several new custom RVV instructions are proposed to speed up the implementation even more. The presented work gives insight into the practical implementation capabilities of RVV for the speed-up of CM key generation on an FPGA.

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Preprint.
History
2026-03-15: last updated
2026-03-15: published
Short URL
https://ia.cr/2026/523
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@misc{cryptoeprint:2026/523,
      author = {Mahnaz Namazi Rizi and Nusa Zidaric and Lejla Batina and Nele Mentens},
      title = {RISC-V based Vectorization of Classic McEliece Key Generation},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/523},
      year = {2026},
      url = {https://eprint.iacr.org/2026/523}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.