{
  "id": "2019/1289",
  "url": "https://opencryptology.org/2019/1289",
  "original_url": "https://eprint.iacr.org/2019/1289",
  "title": "On constant-time QC-MDPC decoding with negligible failure rate",
  "authors": [
    "Nir Drucker",
    "Shay Gueron",
    "Dusan Kostic"
  ],
  "affiliations": null,
  "abstract": "The QC-MDPC code-based KEM Bit Flipping Key Encapsulation (BIKE) is one of the Round-2 candidates of the NIST PQC standardization project. It has a variant that is proved to be IND-CCA secure. The proof models the KEM with some black-box (\"ideal\") primitives. Specifically, the decapsulation invokes an ideal primitive called \"decoder\", required to deliver its output with a negligible Decoding Failure Rate (DFR). The concrete instantiation of BIKE substitutes this ideal primitive with a new decoding algorithm called \"Backflip\", that is shown to have the required negligible DFR. However, it runs in a variable number of steps and this number depends on the input and on the key. This paper proposes a decoder that has a negligible DFR and also runs in a fixed (and small) number of steps. We propose that the instantiation of BIKE uses this decoder with our recommended parameters. We study the decoder's DFR as a function of the scheme's parameters to obtain a favorable balance between the communication bandwidth and the number of steps that the decoder runs. In addition, we build a constant-time software implementation of the proposed instantiation, and show that its performance characteristics are quite close to the IND-CPA variant. Finally, we discuss a subtle gap that needs to be resolved for every IND-CCA secure KEM (BIKE included) where the decapsulation has nonzero failure probability: the difference between average DFR and \"worst-case\" failure probability per key and ciphertext.",
  "category": "Public-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“On constant-time QC-MDPC decoding with negligible failure rate” by Nir Drucker, Shay Gueron, Dusan Kostic, Cryptology ePrint Archive, Paper 2019/1289, https://eprint.iacr.org/2019/1289. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2019-11-07T10:19:24Z",
    "updated": "2019-11-07T10:19:24Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2019/1289.pdf",
    "sha256": "4cb702a7454028d0ada720b23d406971224a913b15e5d51d5e4e5ab4bcb3f1fc",
    "size": 4294706,
    "source": "github-mirror",
    "source_date": "2020-04-17T10:36:14Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2019/1289/versions/20200417T103614Z.pdf",
      "captured_at": "2020-04-17T10:36:14Z",
      "label": "copy captured 2020-04-17",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2019/1289.pdf",
      "size": 4294706,
      "sha256": "4cb702a7454028d0ada720b23d406971224a913b15e5d51d5e4e5ab4bcb3f1fc",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251130160958id_/https://eprint.iacr.org/2019/1289.pdf",
      "captured_at": "2025-11-30T16:09:58Z",
      "size": 3805163
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2019/1289.pdf",
      "captured_at": "2020-04-17T10:36:14Z",
      "size": 4294706
    }
  ],
  "bibtex": "@misc{cryptoeprint:2019/1289,\n      author = {Nir Drucker and Shay Gueron and Dusan Kostic},\n      title = {On constant-time QC-MDPC decoding with negligible failure rate},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2019/1289},\n      year = {2019},\n      url = {https://eprint.iacr.org/2019/1289}\n}"
}
