Abstract: As the threat of quantum computing looms over traditional public-key cryptography, the National Institute of Standards and Technology (NIST) is in the process of standardizing Post-Quantum Cryptography (PQC). Bit Flipping Key Encapsulation (BIKE) is a prominent candidate in this competition. This paper presents a comprehensive performance evaluation of BIKE across a wide spectrum of hardware, including low-power ARM microcontrollers, modern Intel CPUs, and specialized FPGA designs. Our findings highlight the computational bottlenecks of the algorithm, particularly in decoding, and demonstrate the significant performance gains achievable through specialized instruction sets and hardware acceleration.
Introduction
Current public-key cryptography (like RSA and Elliptic Curve) relies on mathematical problems that a sufficiently powerful quantum computer could solve in minutes. To prevent a "cryptographic apocalypse," NIST is standardizing Post-Quantum Cryptography (PQC). BIKE is a strong contender because it offers a great balance between performance and the size of its security keys. However, BIKE relies on complex "binary polynomial arithmetic"—essentially doing math with massive strings of 1s and 0s—which is computationally expensive. This paper investigates how well BIKE actually performs on the diverse hardware we use today, from the tiny chips in IoT devices to the powerful processors in data centers.
Methods
The authors conducted a multi-platform evaluation of three primary types of implementations:
- Software: They tested three versions—a "Reference" C99 version (highly portable), a "Portable Constant-Time" version (secure against timing attacks), and an "AVX2-optimized" version (tailored for modern Intel/AMD chips).
- Hardware (FPGA): They analyzed human-designed VHDL/SystemVerilog implementations, including "Official" versions and "Client-Server" optimized designs.
- Hybrid (HW/SW): They looked at solutions created using High-Level Synthesis (HLS), which allows developers to write C-like code that is automatically converted into hardware logic on Xilinx Zynq SoCs.
The testing covered three NIST security levels (SL1, SL3, and SL5), roughly equivalent to the security of AES-128, -192, and -256.
Key Insights and Performance Bottlenecks
A primary finding is the significant overhead of the "Bit Flipping" decoder (BGF) and polynomial inversion.
As shown in the breakdown above, decoding can account for up to 75% of the total execution time in optimized software implementations (e.g., Intel AVX2 at SL3). Furthermore, the study reveals that modern instruction sets like Intel's AVX2 and ARM's carry-less multiplication are essential for high performance, offering over 10x speedups compared to generic code. Conversely, HLS-based hybrid solutions currently underperform compared to hand-optimized hardware and even high-end software implementations, suggesting that HLS tools are not yet optimized for the specific mathematical structures used in code-based cryptography.
Key Results
The performance of BIKE varies dramatically depending on the target architecture and optimization level.
On a 32-bit ARM Cortex-A9, the overall KEM process takes approximately 811ms. In contrast, a modern 64-bit Intel CPU utilizing AVX2 instructions reduces this to just 1.06ms. For embedded applications, the 64-bit ARM Cortex-A53 serves as a "sweet spot," achieving a latency of roughly 57ms. In the hardware domain, specialized FPGA implementations outperform even high-end CPUs; the best-performing hardware implementation on a mid-range FPGA completed the process in just 0.61ms while maintaining high resource efficiency.
Conclusion
While BIKE is viable for a range of platforms, achieving the millisecond-level performance required for real-time communication necessitates leveraging modern CPU features or dedicated hardware. Future improvements in HLS tools and ongoing algorithmic refinements in Round 4 of the NIST competition will be critical for the widespread adoption of BIKE in secure post-quantum systems.
Summary updated