I Want to Ride My BIKE: Customizing Bit-Flipping Decoders for Ephemeral Key KEMs
Customizes BIKE bit-flipping decoders (BF-max plus others) for ephemeral-key KEM use, cutting public-key and ciphertext sizes about 7.8% versus LeanBIKE at similar time and DFR.
Schemes: BIKE, LeanBIKE, HQC, BF-max, IKEv2
Findings (quotes checked against the source text)
-
BF-max gives better error-correction than conventional parallel bit-flipping decoders used by BIKE, but is harder to implement efficiently; the paper gives the first optimized implementation.
We present the first optimized implementation of the $\textsf{BF-max}$ decoder: compared with conventional parallel bit-flipping decoders currently used by BIKE, $\textsf{BF-max}$ provides better error-correction capability, but its computational structure makes an efficient implementation less straightforward.
-
Ephemeral-key use (one decapsulation per secret key) lets code-based KEMs shrink public keys and ciphertexts relative to long-term-key parameters.
Ephemeral key-pair scenarios allow a different trade-off: ideally, each secret key is used for a single decapsulation, limiting the opportunities to observe and exploit decryption failures.
-
The proposed design reduces public-key and ciphertext sizes by 7.8% versus LeanBIKE while keeping similar execution time and DFR.
Experimental results show that the proposed design reduces both public-key and ciphertext sizes by 7.8\% compared with LeanBIKE, a BIKE variant specifically designed for ephemeral-key use, while retaining similar execution time and DFR.
-
The selected parameter set gives combined public-key plus ciphertext size 22% smaller than BIKE and 2.79x smaller than HQC.
For additional context, the selected parameter set yields a combined public-key and ciphertext size that is 22\% smaller than that of BIKE and smaller by a factor of 2.79 than that of HQC.
-
The design makes BIKE fit constrained protocols such as IKEv2, where no code-based KEM previously fit.
As a concrete application, we show that the solutions we propose make it possible to incorporate BIKE into constrained protocols, such as Internet Key Exchange version 2 (IKEv2), in which no code-based KEM would otherwise fit.
Numbers (as extracted, not quote-checked)
- Public-key and ciphertext size reduction vs LeanBIKE: 7.8%
- Combined public-key + ciphertext size vs BIKE: 22% smaller
- Combined public-key + ciphertext size vs HQC: 2.79x smaller
For builders
If a PQ chain needs a code-based KEM for ephemeral session keys, the ephemeral-key trade-off and BF-max decoder tuning are the levers to shrink BIKE key and ciphertext sizes.
Limits
Based on abstract only; full text not read. Gains apply to ephemeral-key KEM use, not long-term keys; BIKE and HQC target long-term keys, so comparisons are not like-for-like.
Topics: kem hash-functions implementation-sidechannel benchmarks hybrid-schemes