Optimizing BIKE for the Intel Haswell and ARM Cortex-M4
Presents constant-time BIKE KEM implementations for Intel Haswell (AVX2) and ARM Cortex-M4, reporting decapsulation and total-operation speedups over the BIKE team's code.
Schemes: BIKE
Findings (quotes checked against the source text)
-
A constant-time BIKE implementation for Intel Haswell is faster than the BIKE team's avx2 code, with 1.39x decapsulation speedup for bikel1.
for bikel1, the level-1 parameter set, we achieve a 1.39x speedup for decapsulation (which is the slowest operation) and a 1.33x speedup for the sum of all operations.
-
For bikel3 on Haswell, decapsulation is 1.5x faster than the BIKE team's avx2 implementation.
For bikel3, the level-3 parameter set, we achieve a 1.5x speedup for decapsulation and a 1.46x speedup for the sum of all operations.
-
The constant-time Cortex-M4 BIKE implementation is more than twice as fast as the BIKE team's non-constant-time portable code.
Our M4 implementation is more than two times faster than the non-constant-time implementation portable written by the BIKE team.
-
The speedups come from both algorithm-level and instruction-level optimizations.
The speedups are achieved by both algorithm-level and instruction-level optimizations.
Numbers (as extracted, not quote-checked)
- bikel1 Haswell decapsulation speedup vs BIKE avx2: 1.39x
- bikel1 Haswell sum-of-all-operations speedup: 1.33x
- bikel3 Haswell decapsulation speedup: 1.5x
- bikel3 Haswell sum-of-all-operations speedup: 1.46x
For builders
If BIKE is a KEM candidate for a chain, decapsulation dominates cost, so constant-time optimized implementations like these matter for node performance.
Limits
Abstract-only input; full text not read. Covers implementation speed for BIKE, not chain design, signatures, or migration; BIKE was a round-3 NIST candidate, not a standard.
Topics: kem implementation-sidechannel benchmarks