Parameterized Hardware Accelerators for Lattice-Based Cryptography and Their Application to the HW/SW Co-Design of qTESLA
Open-source, constant-time, compile-time parameterized FPGA accelerators (cSHAKE, CDT Gaussian sampler, NTT multiplier) used for a RISC-V HW/SW co-design of qTESLA.
Schemes: qTESLA, cSHAKE, NTT polynomial multiplication, CDT Gaussian sampler
Findings (quotes checked against the source text)
-
Parameterized, open-source, constant-time accelerators can be reused across parameter sets without rewriting the hardware design.
Unlike much of prior work, the accelerators are fully open-sourced, are designed to be constant-time, and can be parameterized at compile-time to support different parameters without the need for re-writing the hardware implementation.
-
RISC-V HW/SW co-design yields over 40-100x key generation speedup, about 10x signing speedup, and about 16x verification speedup for qTESLA Round 2 level 1 and level 3 versus software-only baseline.
this work demonstrates that the NIST’s Round 2 level 1 and level 3 qTESLA variants achieve over a 40-100x speedup for key generation, about a 10x speedup for signing, and about a 16x speedup for verification, compared to the baseline RISC-V software-only implementation.
-
qTESLA level 1 runs on an Artix-7 FPGA in 7.7 ms keygen, 34.4 ms signing and 7.8 ms verification, suggesting feasibility for embedded use.
For instance, this corresponds to execution in 7.7, 34.4, and 7.8 milliseconds for key generation, signing, and verification, respectively, for qTESLA’s level 1 parameter set on an Artix-7 FPGA, demonstrating the feasibility of the scheme for embedded applications.
Numbers (as extracted, not quote-checked)
- qTESLA level 1 key generation time on Artix-7 FPGA: 7.7 ms
- qTESLA level 1 signing time on Artix-7 FPGA: 34.4 ms
- qTESLA level 1 verification time on Artix-7 FPGA: 7.8 ms
For builders
If you need fast qTESLA or lattice signing on constrained hardware, these open, constant-time, parameterizable cores are a reusable starting point rather than a from-scratch build.
Limits
Hardware-acceleration results on FPGA for qTESLA Round 2 only; based on the ePrint abstract (full text not read), so details of the speedup baselines are unverified.
Topics: sig-lattice implementation-sidechannel benchmarks hash-functions