Transactions on Cryptographic Hardware and Embedded Systems (Aug 2022)

Faster Constant-Time Decoder for MDPC Codes and Applications to BIKE KEM

  • Thales B. Paiva,
  • Routo Terada

DOI
https://doi.org/10.46586/tches.v2022.i4.110-134
Journal volume & issue
Vol. 2022, no. 4

Abstract

Read online

BIKE is a code-based key encapsulation mechanism (KEM) that was recently selected as an alternate candidate by the NIST’s standardization process on post-quantum cryptography. This KEM is based on the Niederreiter scheme instantiated with QC-MDPC codes, and it uses the BGF decoder for key decapsulation. We discovered important limitations of BGF that we describe in detail, and then we propose a new decoding algorithm for QC-MDPC codes called PickyFix. Our decoder uses two auxiliary iterations that are significantly different from previous approaches and we show how they can be implemented efficiently. We analyze our decoder with respect to both its error correction capacity and its performance in practice. When compared to BGF, our constant-time implementation of PickyFix achieves speedups of 1.18, 1.29, and 1.47 for the security levels 128, 192 and 256, respectively.

Keywords