Reference Implementation

In the following table, we list all the refinements made to the BIKE reference implementation. For each version, we provide a description of the changes and a zip file containing the entire implementation.

Date Description Download
10/10/2024
  • Complying with V5.2 of the spec.
Zip
10/04/2022
  • Complying with V5.0 of the spec. It changes our approach for sampling fixed-weight vectors to a data oblivious technique.
Zip
07/26/2021
  • Complying with V4.2 of the spec. It replaces AES/SHA256 by SHA3-based symmetric crypto building blocks.
Zip
10/20/2020
  • Complying with V4.1 of the spec. It re-enables Security Level 5 parameters. This package re-adds the missing files in folder FromNist/ and tests/ from the previous release. It also fixes a potential Makefile circular dependency issue.
Zip
10/08/2020
  • Complying with V4.1 of the spec. It re-enables Security Level 5 parameters. This package was missing some files in folder FromNist/ and tests/, not allowing its correct compilation.
Zip
06/03/2020
  • This code fixes several bugs that were making the reference code incosistent with the spec document v4.0. A detailed log of the changes has been made available at change-log.2020.06.03.2020.1.txt
Zip
05/03/2020
  • First reference code package targeting spec v4.0 containing some bugs making this implementation inconsistent with some aspects of spec v4.0. We note that between 2020.05.01 and 2020.05.03, versions of the specification and reference code have been uploaded to our website. Some of those documents were inconsistent with one another. The correct version for both is BIKE_Spec.2020.05.03.1.pdf and Reference_Implementation.2020.05.03.1.pdf.
Zip
02/07/2020
  • Replaces Parallel-Hash by SHA2-384.
Zip
06/30/2019
  • Changes to comply with v3.1 of spec.
Zip
03/30/2019
  • As submitted to the 2nd Round of the NIST standardization process.
Zip
06/29/2018
  • The variable MAX_J_SIZE has been changed to N_BITS in order to ensure that matrix J (used in the decoder) always has enough allocated memory to store the variable number of indices;
  • Variables MAX_IT_LOOP1 and MAX_IT_LOOP2 have been added to ensure that the loops present in Algorithm 3 (One-Round Bit-Flipping) always terminate.
Zip
Patch
06/16/2018
  • Reverted to version submitted to NIST to ensure the original KAT's match again.
Zip
Patch
05/08/2018
  • Changed how seeds are assigned. This unfortunately prevented original KAT's to match. This version is deprecated.
Zip
Patch
11/30/2017
  • As submitted to the NIST standardization process.
Zip

Contact

The BIKE team can be contacted through the following email: team@bikesuite.org.

Postal Address:
    Rafael Misoczki
    Meta Platforms, Inc.
    1 Hacker Way, Menlo Park, CA, 94025, USA.