Complete and Improved FPGA Implementation of Classic McEliece
Presents the first complete, constant-time, spec-compliant FPGA implementation of Classic McEliece (KEM, keygen, encaps, decaps) with three faster public-key systemizer algorithms.
Schemes: Classic McEliece, HEA, SPEA, DPEA
Findings (quotes checked against the source text)
-
First specification-compliant constant-time FPGA implementation of Classic McEliece, including encapsulation, decapsulation, and key generation with seed expansion.
We present the first specification-compliant constant-time FPGA implementation of the Classic McEliece cryptosystem from the third-round of NIST's Post-Quantum Cryptography standardization process.
-
Public-key matrix systemization during key generation is the most time-consuming operation; three new early-abort systemizers are proposed to address it.
As the most time consuming operation of Classic McEliece is the systemization of the public key matrix during key generation, we present and evaluate three new algorithms that can be used for systemization while complying with the specification: hybrid early-abort systemizer (HEA), single-pass early-abort systemizer (SPEA), and dual-pass early-abort systemizer (DPEA).
-
New systemizer designs beat prior Classic McEliece systemizer designs on runtime and time-area efficiency.
All of the designs outperform the prior systemizer designs for Classic McEliece by 2.2x to 2.6x in average runtime and by 1.7x to 2.4x in time-area efficiency.
-
Hardware modules are compile-time parametrizable by security level and performance parameters.
All the hardware modules are parametrizable, at compile time, with security level and performance parameters.
Numbers (as extracted, not quote-checked)
- Classic McEliece key generation time on Artix 7 FPGA: 5.2-20ms
- Classic McEliece encapsulation time on Artix 7 FPGA: 0.1-0.5ms
- Classic McEliece decapsulation time on Artix 7 FPGA: 0.7-1.5ms
- Speedup of new systemizers over prior designs (average runtime): 2.2x to 2.6x
- Time-area efficiency gain of new systemizers: 1.7x to 2.4x
For builders
Classic McEliece's slow step is public-key systemization in keygen, so FPGA-grade early-abort systemizers are the lever if you consider code-based KEMs for a chain.
Limits
Abstract-only read (full text not reviewed); results are FPGA on Xilinx Artix 7, not CPU or ASIC; no signature or chain-level evaluation.
Topics: kem implementation-sidechannel benchmarks