ISA Extensions for Finite Field Arithmetic - Accelerating Kyber and NewHope on RISC-V
Adds RISC-V instructions for finite-field multiply-and-reduce, prototyped on a VexRiscv core, to speed up Kyber and NewHope polynomial arithmetic for small embedded processors.
Schemes: Kyber, NewHope, RISC-V, VexRiscv
Findings (quotes checked against the source text)
-
A custom RISC-V instruction extension for finite-field arithmetic with reduction gives a compact software-hardware co-design approach for embedded PQC.
We present and evaluate a custom extension to the RISC-V instruction set for finite fields arithmetic.
-
The extension was prototyped on the VexRiscv core, integrated into a chip design, and evaluated on two FPGA platforms.
Furthermore, we create a prototype implementation of the presented instructions for the extendable VexRiscv core, integrate the result into a chip design, and evaluate the design on two different FPGA platforms.
-
Kyber and NewHope KEM implementations were optimized with the new instructions and compared against an optimized standard-RISC-V baseline.
The effectiveness of the extension is evaluated by using the instructions to optimize the Kyber and Newhope key-encapsulation schemes.
-
Polynomial arithmetic speeds up by up to 85% over the basic software implementation.
The result shows a speedup for the polynomial arithmetic of up to 85% over the basic software implementation.
-
The custom instructions reduce code and data size without runtime penalty, at a small circuit-size cost.
Using the custom instructions drastically reduces the code and data size of the implementation without introducing runtime-performance penalties at a small cost in circuit size.
Numbers (as extracted, not quote-checked)
- Polynomial arithmetic speedup vs basic software implementation: up to 85%
Limits
Abstract only (full text not read); hardware-embedded smartcard focus, KEM-only, no signatures or blockchain integration; the 85% speedup is relative to a basic software baseline.
Topics: kem benchmarks