TY - JOUR
T1 - Uniform instruction set extensions for multiplications in contemporary and post-quantum cryptography
AU - Oberhansl, Felix
AU - Fritzmann, Tim
AU - Pöppelmann, Thomas
AU - Basu Roy, Debapriya
AU - Sigl, Georg
N1 - Publisher Copyright:
© The Author(s) 2023.
PY - 2024/4
Y1 - 2024/4
N2 - Hybrid key encapsulation is in the process of becoming the de-facto standard for integration of post-quantum cryptography (PQC). Supporting two cryptographic primitives is a challenging task for constrained embedded systems. Both contemporary cryptography based on elliptic curves or RSA and PQC based on lattices require costly multiplications. Recent works have shown how to implement lattice-based cryptography on big-integer coprocessors. We propose a novel hardware design that natively supports the multiplication of polynomials and big integers, integrate it into a RISC-V core, and extend the RISC-V ISA accordingly. We provide an implementation of Saber and X25519 to demonstrate that both lattice- and elliptic-curve-based cryptography benefits from our extension. Our implementation requires only intermediate logic overhead, while significantly outperforming optimized ARM Cortex M4 implementations, other hardware/software codesigns, and designs that rely on contemporary accelerators.
AB - Hybrid key encapsulation is in the process of becoming the de-facto standard for integration of post-quantum cryptography (PQC). Supporting two cryptographic primitives is a challenging task for constrained embedded systems. Both contemporary cryptography based on elliptic curves or RSA and PQC based on lattices require costly multiplications. Recent works have shown how to implement lattice-based cryptography on big-integer coprocessors. We propose a novel hardware design that natively supports the multiplication of polynomials and big integers, integrate it into a RISC-V core, and extend the RISC-V ISA accordingly. We provide an implementation of Saber and X25519 to demonstrate that both lattice- and elliptic-curve-based cryptography benefits from our extension. Our implementation requires only intermediate logic overhead, while significantly outperforming optimized ARM Cortex M4 implementations, other hardware/software codesigns, and designs that rely on contemporary accelerators.
KW - Elliptic-curve cryptography
KW - Hybrid key encapsulation
KW - Instruction set extensions
KW - Lattice-based cryptography
KW - Post-quantum cryptography
KW - RISC-V
UR - http://www.scopus.com/inward/record.url?scp=85168604309&partnerID=8YFLogxK
U2 - 10.1007/s13389-023-00332-2
DO - 10.1007/s13389-023-00332-2
M3 - Article
AN - SCOPUS:85168604309
SN - 2190-8508
VL - 14
SP - 1
EP - 18
JO - Journal of Cryptographic Engineering
JF - Journal of Cryptographic Engineering
IS - 1
ER -