Bit-Flipping (BF) decoders are a family of decoders widely employed in post-quantum cryptographic schemes based on Quasi-Cyclic Moderate-Density Parity-Check (QC-MDPC) codes, such as BIKE. BF decoders suffer from trapping sets, corresponding to low-weight error patterns that likely lead to decoding failures. For QC-MDPC codes, the most relevant family of trapping sets is that of near-codewords, which are error patterns associated to low-weight syndromes. Indeed, recent works show that error patterns having a large overlap with near-codewords are the main culprits for decoding failures at very low Decoding Failure Rate (DFR) values. In this paper, we show that any BF decoder can be tweaked and made somehow aware of near-codewords, which means being able to recognize, and recover from, bad configurations due to near-codewords. We show that this modification results in minimal computational overhead. Through intensive numerical simulations, we evaluate the effectiveness of this approach on several BF decoders, considering both toy code parameters and BIKE parameters for NIST security category 1. Our results show drastic reductions in the DFR. We also find that, with this modification, a recently proposed BF variant called BF-Max outperforms the two decoders used by BIKE within the NIST competition.

Near-codewords aware bit flipping decoding of QC-MDPC codes / Baldelli, A., Baldi, M., De Zuane, D., Santini, P.. - (2026). (ISIT 2026 - IEEE International Symposium on Information Theory Guangzhou, China 28/06-3/07/2026) [10.1109/isit62367.2026.11653920].

Near-codewords aware bit flipping decoding of QC-MDPC codes

De Zuane Davide;
2026

Abstract

Bit-Flipping (BF) decoders are a family of decoders widely employed in post-quantum cryptographic schemes based on Quasi-Cyclic Moderate-Density Parity-Check (QC-MDPC) codes, such as BIKE. BF decoders suffer from trapping sets, corresponding to low-weight error patterns that likely lead to decoding failures. For QC-MDPC codes, the most relevant family of trapping sets is that of near-codewords, which are error patterns associated to low-weight syndromes. Indeed, recent works show that error patterns having a large overlap with near-codewords are the main culprits for decoding failures at very low Decoding Failure Rate (DFR) values. In this paper, we show that any BF decoder can be tweaked and made somehow aware of near-codewords, which means being able to recognize, and recover from, bad configurations due to near-codewords. We show that this modification results in minimal computational overhead. Through intensive numerical simulations, we evaluate the effectiveness of this approach on several BF decoders, considering both toy code parameters and BIKE parameters for NIST security category 1. Our results show drastic reductions in the DFR. We also find that, with this modification, a recently proposed BF variant called BF-Max outperforms the two decoders used by BIKE within the NIST competition.
2026
979-8-3315-8004-9
Bit-flipping decoder
Code-based cryptography
Decoding failure rate
LDPC codes
MDPC codes
Trapping sets
File in questo prodotto:
File Dimensione Formato  
Near-Codewords_Aware_Bit_Flipping_Decoding_of_QC-MDPC_Codes.pdf

Accesso riservato

Descrizione: Near-Codewords Aware Bit Flipping Decoding of QC-MDPC Codes
Tipologia: Versione Editoriale (PDF)
Licenza: Copyright dell'editore
Dimensione 1.09 MB
Formato Adobe PDF
1.09 MB Adobe PDF   Visualizza/Apri   Richiedi una copia
2604.18247v1.pdf

Accesso aperto

Descrizione: Preprint - Near-Codewords Aware Bit Flipping Decoding of QC-MDPC Codes
Tipologia: Documento in Pre-print
Licenza: Altro tipo di licenza
Dimensione 413.53 kB
Formato Adobe PDF
413.53 kB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.11771/44978
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • OpenAlex 0
social impact