Fast polynomial inversion for post quantum QC-MDPC cryptography
Presents a constant-time polynomial inversion method for QC-MDPC codes that makes BIKE-2 (Niederreiter) key generation practical, with large speedups over NTL and OpenSSL.
Schemes: BIKE, BIKE-1, BIKE-2, QC-MDPC, McEliece, Niederreiter
Findings (quotes checked against the source text)
-
An optimized constant-time polynomial inversion makes BIKE-2 key generation tolerable, which the authors say makes BIKE-2 a competitive BIKE variant.
This paper shows an optimized constant-time polynomial inversion method that makes the computation costs of BIKE-2 key generation tolerable.
-
Reports an 11.8x speedup over the NTL library for the polynomial inversion method.
We report a speedup of 11.8x over the commonly used NTL library, and 55.5 over OpenSSL.
-
Using Intel Vector-PCLMULQDQ instructions on a laptop gives further speedups of 14.3x over NTL and 96.8x over OpenSSL.
We achieve additional speedups by leveraging the latest Intel's Vector-PCLMULQDQ instructions on a laptop machine, 14.3x over NTL and 96.8x over OpenSSL.
-
Niederreiter-based schemes need only half the communication bandwidth of McEliece-based schemes, but require costly polynomial inversion during key generation.
Here, schemes that use the Niederreiter framework require only half the communication bandwidth compared to schemes that use the McEliece framework.
Numbers (as extracted, not quote-checked)
- Speedup of polynomial inversion over NTL: 11.8x
- Speedup of polynomial inversion over OpenSSL: 55.5x
- Speedup with Vector-PCLMULQDQ over NTL (laptop): 14.3x
- Speedup with Vector-PCLMULQDQ over OpenSSL (laptop): 96.8x
For builders
If a PQ chain uses QC-MDPC KEM keys, budget for constant-time polynomial inversion in key generation, since it is the dominant cost for ephemeral keys.
Limits
Based on the ePrint abstract only; the full text was not read. Concerns a KEM for key exchange, not signatures, and results are for specific libraries and a laptop machine.
Topics: kem implementation-sidechannel benchmarks