TY - GEN
T1 - Exploring the risc-v vector extension for the classic mceliece post-quantum cryptosystem
AU - Pircher, S.
AU - Geier, J.
AU - Zeh, A.
AU - Mueller-Gritschneder, D.
N1 - Publisher Copyright:
© 2021 IEEE.
PY - 2021/4/7
Y1 - 2021/4/7
N2 - 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.
AB - 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.
KW - Gaussian Elimination Algorithm
KW - Instruction Set Simulator
KW - McEliece Cryptosystem
KW - Post-quantum Cryptography
KW - RISC-V Vector Extension
UR - http://www.scopus.com/inward/record.url?scp=85106030068&partnerID=8YFLogxK
U2 - 10.1109/ISQED51717.2021.9424273
DO - 10.1109/ISQED51717.2021.9424273
M3 - Conference contribution
AN - SCOPUS:85106030068
T3 - Proceedings - International Symposium on Quality Electronic Design, ISQED
SP - 401
EP - 407
BT - Proceedings of the 22nd International Symposium on Quality Electronic Design, ISQED 2021
PB - IEEE Computer Society
T2 - 22nd International Symposium on Quality Electronic Design, ISQED 2021
Y2 - 7 April 2021 through 9 April 2021
ER -