Racing BIKE: Improved Polynomial Multiplication and Inversion in Hardware

Authors

  • Jan Richter-Brockmann Ruhr-Universität Bochum, Horst-Görtz Institute for IT-Security, Bochum, Germany; Security and Privacy Research, Intel Labs, Intel Coorperation, Hillsboro, Oregon
  • Ming-Shing Chen Ruhr-Universität Bochum, Horst-Görtz Institute for IT-Security, Bochum, Germany
  • Santosh Ghosh Security and Privacy Research, Intel Labs, Intel Coorperation, Hillsboro, Oregon
  • Tim Güneysu Ruhr-Universität Bochum, Horst-Görtz Institute for IT-Security, Bochum, Germany; DFKI, Bremen, Germany

DOI:

https://doi.org/10.46586/tches.v2022.i1.557-588

Keywords:

BIKE, QC-MDPC, PQC, Reconfigurable Devices, FPGA

Abstract

BIKE is a Key Encapsulation Mechanism selected as an alternate candidate in NIST’s PQC standardization process, in which performance plays a significant role in the third round. This paper presents FPGA implementations of BIKE with the best area-time performance reported in literature. We optimize two key arithmetic operations, which are the sparse polynomial multiplication and the polynomial inversion. Our sparse multiplier achieves time-constancy for sparse polynomials of indefinite Hamming weight used in BIKE’s encapsulation. The polynomial inversion is based on the extended Euclidean algorithm, which is unprecedented in current BIKE implementations. Our optimized design results in a 5.5 times faster key generation compared to previous implementations based on Fermat’s little theorem.
Besides the arithmetic optimizations, we present a united hardware design of BIKE with shared resources and shared sub-modules among KEM functionalities. On Xilinx Artix-7 FPGAs, our light-weight implementation consumes only 3 777 slices and performs a key generation, encapsulation, and decapsulation in 3 797 μs, 443 μs, and 6 896 μs, respectively. Our high-speed design requires 7 332 slices and performs the three KEM operations in 1 672 μs, 132 μs, and 1 892 μs, respectively.

Downloads

Published

2021-11-19

How to Cite

Richter-Brockmann, J., Chen, M.-S., Ghosh, S., & Güneysu, T. (2021). Racing BIKE: Improved Polynomial Multiplication and Inversion in Hardware. IACR Transactions on Cryptographic Hardware and Embedded Systems, 2022(1), 557–588. https://doi.org/10.46586/tches.v2022.i1.557-588

Issue

Section

Articles