Exploring the risc-v vector extension for the classic mceliece post-quantum cryptosystem

S. Pircher, J. Geier, A. Zeh, D. Mueller-Gritschneder

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

9 Scopus citations

Abstract

The dawn of quantum computers threatens the security guarantees of classical public-key cryptography. This gave rise to a new class of so-called quantum-resistant cryptography algorithms and a need to efficiently implement them on embedded hardware platforms. This paper investigates how we can exploit the most recent RISC-V Vector Extension Version 0.9 (RVV0.9) to accelerate the quantum-resistant code-based Classic McEliece cryptosystem. We focused on the Gaussian Elimination Algorithm (GEA) that is essential for the key generation of the McEliece scheme. The GEA offers high potential for acceleration by vector instructions of the RVV extension. In order to evaluate the possible gains, we adopted a rapid prototyping approach based on an instruction set simulator (ISS). We extended the simulator ETISS with a SoftVector library, which allows to quickly model the instructions of RVV. Using the rapid prototyping environment, the GEA was re-implemented and verified for RVV0.9.The final performance gain heavily depends on the memory interface of the vector unit. For different configurations of the memory system, we could profile performance gains of 6 up to 18 for the GEA. This clearly shows the benefit of RVV for implementing quantum-resistant cryptosystems.

Original languageEnglish
Title of host publicationProceedings of the 22nd International Symposium on Quality Electronic Design, ISQED 2021
PublisherIEEE Computer Society
Pages401-407
Number of pages7
ISBN (Electronic)9781728176413
DOIs
StatePublished - 7 Apr 2021
Event22nd International Symposium on Quality Electronic Design, ISQED 2021 - Santa Clara, United States
Duration: 7 Apr 20219 Apr 2021

Publication series

NameProceedings - International Symposium on Quality Electronic Design, ISQED
Volume2021-April
ISSN (Print)1948-3287
ISSN (Electronic)1948-3295

Conference

Conference22nd International Symposium on Quality Electronic Design, ISQED 2021
Country/TerritoryUnited States
CitySanta Clara
Period7/04/219/04/21

Keywords

  • Gaussian Elimination Algorithm
  • Instruction Set Simulator
  • McEliece Cryptosystem
  • Post-quantum Cryptography
  • RISC-V Vector Extension

Fingerprint

Dive into the research topics of 'Exploring the risc-v vector extension for the classic mceliece post-quantum cryptosystem'. Together they form a unique fingerprint.

Cite this