<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.1 20151215//EN" "http://jats.nlm.nih.gov/publishing/1.1/JATS-journalpublishing1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xml:lang="en" article-type="research-article" dtd-version="1.1">
<front>
<journal-meta>
<journal-id journal-id-type="pmc">CMC</journal-id>
<journal-id journal-id-type="nlm-ta">CMC</journal-id>
<journal-id journal-id-type="publisher-id">CMC</journal-id>
<journal-title-group>
<journal-title>Computers, Materials &#x0026; Continua</journal-title>
</journal-title-group>
<issn pub-type="epub">1546-2226</issn>
<issn pub-type="ppub">1546-2218</issn>
<publisher>
<publisher-name>Tech Science Press</publisher-name>
<publisher-loc>USA</publisher-loc>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">65296</article-id>
<article-id pub-id-type="doi">10.32604/cmc.2025.065296</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Article</subject>
</subj-group>
</article-categories>
<title-group>
<article-title>An Optimization of Weak Key Attacks Based on the BGF Decoding Algorithm</article-title>
<alt-title alt-title-type="left-running-head">An Optimization of Weak Key Attacks Based on the BGF Decoding Algorithm</alt-title>
<alt-title alt-title-type="right-running-head">An Optimization of Weak Key Attacks Based on the BGF Decoding Algorithm</alt-title>
</title-group>
<contrib-group>
<contrib id="author-1" contrib-type="author" corresp="yes">
<name name-style="western"><surname>Liu</surname><given-names>Bing</given-names></name><email>bing@besti.edu.com</email></contrib>
<contrib id="author-2" contrib-type="author">
<name name-style="western"><surname>Nie</surname><given-names>Ting</given-names></name></contrib>
<contrib id="author-3" contrib-type="author">
<name name-style="western"><surname>Liu</surname><given-names>Yansong</given-names></name></contrib>
<contrib id="author-4" contrib-type="author">
<name name-style="western"><surname>Hu</surname><given-names>Weibo</given-names></name></contrib>
<aff id="aff-1">
<institution>Department of Cryptography Science and Technology, Beijing Electronic Science and Technology Institute</institution>, <addr-line>Beijing, 100070</addr-line>, <country>China</country></aff>
</contrib-group>
<author-notes>
<corresp id="cor1"><label>&#x002A;</label>Corresponding Author: Bing Liu. Email: <email>bing@besti.edu.com</email></corresp>
</author-notes>
<pub-date date-type="collection" publication-format="electronic">
<year>2025</year>
</pub-date>
<pub-date date-type="pub" publication-format="electronic">
<day>30</day><month>07</month><year>2025</year>
</pub-date>
<volume>84</volume>
<issue>3</issue>
<fpage>4583</fpage>
<lpage>4599</lpage>
<history>
<date date-type="received">
<day>09</day>
<month>3</month>
<year>2025</year>
</date>
<date date-type="accepted">
<day>23</day>
<month>5</month>
<year>2025</year>
</date>
</history>
<permissions>
<copyright-statement>&#x00A9; 2025 The Authors.</copyright-statement>
<copyright-year>2025</copyright-year>
<copyright-holder>Published by Tech Science Press.</copyright-holder>
<license xlink:href="https://creativecommons.org/licenses/by/4.0/">
<license-p>This work is licensed under a <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</ext-link>, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
</license>
</permissions>
<self-uri content-type="pdf" xlink:href="TSP_CMC_65296.pdf"></self-uri>
<abstract>
<p>Among the four candidate algorithms in the fourth round of NIST standardization, the BIKE (Bit Flipping Key Encapsulation) scheme has a small key size and high efficiency, showing good prospects for application. However, the BIKE scheme based on QC-MDPC (Quasi Cyclic Medium Density Parity Check) codes still faces challenges such as the GJS attack and weak key attacks targeting the decoding failure rate (DFR). This paper analyzes the BGF decoding algorithm of the BIKE scheme, revealing two deep factors that lead to DFR, and proposes a weak key optimization attack method for the BGF decoding algorithm based on these two factors. The proposed method constructs a new weak key set, and experiment results eventually indicate that, considering BIKE&#x2019;s parameter set targeting 128-bit security, the average decryption failure rate is lowerly bounded by <inline-formula id="ieqn-1"><mml:math id="mml-ieqn-1"><mml:msub><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">F</mml:mi><mml:mi mathvariant="normal">R</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi><mml:mi>V</mml:mi><mml:mi>G</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2265;</mml:mo><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>103.83</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>. This result not only highlights a significant vulnerability in the BIKE scheme but also provides valuable insights for future improvements in its design. By addressing these weaknesses, the robustness of QC-MDPC code-based cryptographic systems can be enhanced, paving the way for more secure post-quantum cryptographic solutions.</p>
</abstract>
<kwd-group kwd-group-type="author">
<kwd>BIKE</kwd>
<kwd>BGF decoding algorithm</kwd>
<kwd>weak key attack</kwd>
<kwd>GJS attack</kwd>
</kwd-group>
<funding-group>
<award-group id="awg1">
<funding-source>Beijing Institute of Electronic Science and Technology</funding-source>
<award-id>20230002Z0452</award-id>
</award-group>
</funding-group>
</article-meta>
</front>
<body>
<sec id="s1">
<label>1</label>
<title>Introduction</title>
<p>With the rise of quantum computers, current public key encryption (PKE) schemes face unprecedented threats [<xref ref-type="bibr" rid="ref-1">1</xref>]. Traditional public key encryption methods, such as RSA and ECC, rely on the difficulty of integer factorization and discrete logarithm problems. However, quantum computers, by using the Shor algorithm [<xref ref-type="bibr" rid="ref-2">2</xref>], can solve these problems efficiently in polynomial time, thus invalidating traditional encryption methods. To address this challenge, the National Institute of Standards and Technology (NIST) is advancing a standardization project for Post-Quantum Cryptography (PQC), which aims to evaluate and finalize encryption schemes that can withstand quantum attacks [<xref ref-type="bibr" rid="ref-3">3</xref>]. In this context, a scheme called BIKE (Bit Flipping Key Encapsulation) has attracted a lot of attention and has entered the final stage of the NIST PQC standardization competition.</p>
<p>BIKE is a representative QC-MDPC (Quasi Cyclic Medium Density Parity Check) code-based scheme, which is relatively competitive both in terms of code length and efficiency and communication bandwidth, and its security relies on the difficult problem of proposed cyclic codes [<xref ref-type="bibr" rid="ref-4">4</xref>]. However, the DFR problem exists even though BIKE employs a state-of-the-art Black-Gray-Flip (BGF) decoder [<xref ref-type="bibr" rid="ref-5">5</xref>] to reduce the Decoding Failure Rate (DFR) and to improve the decoding efficiency. The security of BIKE&#x2019;s IND-CCA relies on the average Decoding Failure Rate (DFR). The current analysis only gives an estimate of the DFR and does not give a proven upper bound [<xref ref-type="bibr" rid="ref-6">6</xref>]. Therefore, the BIKE instantiation using the BGF decoder does not formally declare IND-CCA security. Currently, attacks such as GJS [<xref ref-type="bibr" rid="ref-7">7</xref>], weak keys [<xref ref-type="bibr" rid="ref-8">8</xref>], and side channels [<xref ref-type="bibr" rid="ref-9">9</xref>] still exist against the decoding failure probability of BIKE schemes. For example, the amplification principle of Guo et al. [<xref ref-type="bibr" rid="ref-10">10</xref>] as well as Nilsson et al. [<xref ref-type="bibr" rid="ref-11">11</xref>] introduce a GJS reaction attack based on the QC-MDPC code structure, which utilizes the existence of a DFR in the decoding so that the attacker can fully recover the key. Drucker et al. [<xref ref-type="bibr" rid="ref-12">12</xref>] argued that the existence of a weak key affects the DFR and that quantitative proofs of the IND-CCA security of BIKE are needed. Wang et al. [<xref ref-type="bibr" rid="ref-8">8</xref>] proved that the existence of weak keys and quantization of the effect on the DFR of the decoder pose threats to the IND-CCA security of BIKE.</p>
<p>Although BIKE shows great potentiality in the field of post-quantum cryptography, its challenges in terms of DFR and other security aspects suggest that further research and improvements are necessary. To ensure that the final chosen post-quantum cryptography standard provides sufficient security and efficiency, this paper addresses the BIKE algorithm, analyzes the performance of its BGF decoder to reveal the factors that affect the DFR, and proposes a weak-key attack optimization scheme to evaluate the security of the BIKE scheme by the DFR test of the decoder.</p>
</sec>
<sec id="s2">
<label>2</label>
<title>Preliminaries</title>
<sec id="s2_1">
<label>2.1</label>
<title>BIKE</title>
<p>BIKE (Bit Flipping Key Encapsulation) is a post-quantum cryptography-based key encapsulation mechanism that uses quasi-cyclic moderate-density parity-check (QC-MDPC) codes and the Niederreiter cryptosystem framework [<xref ref-type="bibr" rid="ref-13">13</xref>]. It features small key sizes, efficient algorithms, and low complexity [<xref ref-type="bibr" rid="ref-14">14</xref>]. Compared to the traditional McEliece cryptosystem, BIKE has smaller communication bandwidth requirements, making it suitable for bandwidth-constrained network environments. Its design is simple with minimal resource usage, making it suitable for both software implementations (such as servers and PCs) and hardware implementations (such as IoT devices and embedded systems) [<xref ref-type="bibr" rid="ref-15">15</xref>]. It is an efficient, flexible, and quantum-resistant cryptographic solution with broad application prospects in the field of post-quantum cryptography [<xref ref-type="bibr" rid="ref-16">16</xref>]. The algorithm of BIKE KEM is divided into three main steps: key generation, key encapsulation, and key decapsulation. The key encapsulation mechanism (KEM) is described as Algorithm 1.</p>
<fig id="fig-5">
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_65296-fig-5.tif"/>
</fig>
<p>To have <inline-formula id="ieqn-22"><mml:math id="mml-ieqn-22"><mml:mi>&#x03BB;</mml:mi></mml:math></inline-formula> bits of IND-CCA security, the parameters are <inline-formula id="ieqn-23"><mml:math id="mml-ieqn-23"><mml:mi>r</mml:mi><mml:mo>,</mml:mo><mml:mi>&#x03C9;</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:math></inline-formula>, and decoder chosen in the setup such that:</p>
<p>1. <inline-formula id="ieqn-24"><mml:math id="mml-ieqn-24"><mml:msub><mml:mrow><mml:mrow><mml:mrow><mml:mi mathvariant="normal">Q</mml:mi><mml:mi mathvariant="normal">C</mml:mi><mml:mi mathvariant="normal">C</mml:mi><mml:mi mathvariant="normal">F</mml:mi></mml:mrow></mml:mrow></mml:mrow><mml:mrow><mml:mi>r</mml:mi><mml:mo>,</mml:mo><mml:mi>w</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> offers <inline-formula id="ieqn-25"><mml:math id="mml-ieqn-25"><mml:mi>&#x03BB;</mml:mi></mml:math></inline-formula> bits of security</p>
<p>2. <inline-formula id="ieqn-26"><mml:math id="mml-ieqn-26"><mml:msub><mml:mrow><mml:mrow><mml:mrow><mml:mi mathvariant="normal">Q</mml:mi><mml:mi mathvariant="normal">C</mml:mi><mml:mi mathvariant="normal">S</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:mrow></mml:mrow></mml:mrow><mml:mrow><mml:mi>r</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> offers <inline-formula id="ieqn-27"><mml:math id="mml-ieqn-27"><mml:mi>&#x03BB;</mml:mi></mml:math></inline-formula> bits of security</p>
<p>3. <inline-formula id="ieqn-28"><mml:math id="mml-ieqn-28"><mml:mrow><mml:mo>|</mml:mo><mml:mrow><mml:mi>&#x02133;</mml:mi></mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mi>&#x2113;</mml:mi></mml:mrow></mml:msup><mml:mo>&#x2265;</mml:mo><mml:msup><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mi>&#x03BB;</mml:mi></mml:mrow></mml:msup></mml:math></inline-formula></p>
<p>4. DFR (decoder) <inline-formula id="ieqn-29"><mml:math id="mml-ieqn-29"><mml:mo>&#x2264;</mml:mo><mml:msup><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mi>&#x03BB;</mml:mi></mml:mrow></mml:msup></mml:math></inline-formula></p>
<p>The NIST proposal identifies several security categories related to the strength of key search attacks on grouped ciphers (in the case of AES). The target security levels for BIKE are 1, 3, and 5, which correspond to the security levels of AES-128, AES-192, and AES-256, respectively. The BIKE parameters corresponding to different security levels are shown in <xref ref-type="table" rid="table-1">Table 1</xref>:</p>
<table-wrap id="table-1">
<label>Table 1</label>
<caption>
<title>BIKE parameters</title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th>Security</th>
<th><inline-formula id="ieqn-30"><mml:math id="mml-ieqn-30"><mml:mi mathvariant="bold-italic">&#x03BB;</mml:mi></mml:math></inline-formula></th>
<th><inline-formula id="ieqn-31"><mml:math id="mml-ieqn-31"><mml:msup><mml:mi mathvariant="bold-italic">r</mml:mi><mml:mrow><mml:mi mathvariant="bold-italic">C</mml:mi><mml:mi mathvariant="bold-italic">P</mml:mi><mml:mi mathvariant="bold-italic">A</mml:mi></mml:mrow></mml:msup></mml:math></inline-formula></th>
<th><inline-formula id="ieqn-32"><mml:math id="mml-ieqn-32"><mml:msup><mml:mi mathvariant="bold-italic">r</mml:mi><mml:mrow><mml:mi mathvariant="bold-italic">C</mml:mi><mml:mi mathvariant="bold-italic">C</mml:mi><mml:mi mathvariant="bold-italic">A</mml:mi></mml:mrow></mml:msup></mml:math></inline-formula></th>
<th><inline-formula id="ieqn-33"><mml:math id="mml-ieqn-33"><mml:mi mathvariant="bold-italic">&#x03C9;</mml:mi></mml:math></inline-formula></th>
<th><inline-formula id="ieqn-34"><mml:math id="mml-ieqn-34"><mml:mi mathvariant="bold-italic">t</mml:mi></mml:math></inline-formula></th>
<th>DFR</th>
</tr>
</thead>
<tbody>
<tr>
<td>Level 1</td>
<td>128</td>
<td>10163</td>
<td>12323</td>
<td>142</td>
<td>134</td>
<td><inline-formula id="ieqn-35"><mml:math id="mml-ieqn-35"><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>128</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></td>
</tr>
<tr>
<td>Level 3</td>
<td>192</td>
<td>19853</td>
<td>24659</td>
<td>206</td>
<td>199</td>
<td><inline-formula id="ieqn-36"><mml:math id="mml-ieqn-36"><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>192</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></td>
</tr>
<tr>
<td>Level 5</td>
<td>256</td>
<td>32749</td>
<td>40973</td>
<td>274</td>
<td>264</td>
<td><inline-formula id="ieqn-37"><mml:math id="mml-ieqn-37"><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>256</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s2_2">
<label>2.2</label>
<title>BGF Decoding Algorithm</title>
<p>The BGF decoding algorithm (Black-Gray-Flip) is an improved version of Gallager&#x2019;s bit-flip decoding method [<xref ref-type="bibr" rid="ref-17">17</xref>], addressing the issue of high decoding failure rates in MDPC codes. It employs two predefined thresholds to divide bits into two groups: the black set and the gray set. In the first step, bits with the highest number of unsatisfied parity checks are categorized as black bits and are flipped. Bits with fewer unsatisfied checks are considered gray bits and remain unchanged. In the subsequent step, if the number of unsatisfied checks on a bit exceeds a second threshold, black bits that breach this threshold are flipped back to their original state, and gray bits are flipped. After each operation, the algorithm updates the checksum and the count of unsatisfied checks, continuously adjusting to correct any incorrectly flipped bits. As a result, the BGF decoder focuses on fewer positions and has a higher concentration of errors compared to the traditional bit-flip decoder, improving flip accuracy and significantly reducing the likelihood of decoding failure. The specific steps are shown in Algorithms 2 and 3.</p>
<fig id="fig-6">
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_65296-fig-6.tif"/>
</fig>
<fig id="fig-7">
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_65296-fig-7.tif"/>
</fig>
<p>The reasonableness of the threshold selection can greatly affect the efficiency of the decoding. The threshold of the BGF decoder is defined as an affine function of the weight of the checker [<xref ref-type="bibr" rid="ref-18">18</xref>], but when the weight of the checker is between the average values, the threshold formula is also close to the affine function. Therefore, the lower limit of the threshold is given as:
<disp-formula id="eqn-1"><label>(1)</label><mml:math id="mml-eqn-1" display="block"><mml:mrow><mml:mi>t</mml:mi><mml:mi>h</mml:mi><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>s</mml:mi><mml:mi>h</mml:mi><mml:mi>o</mml:mi><mml:mi>l</mml:mi><mml:mi>d</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mo>|</mml:mo><mml:msup><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">&#x2032;</mml:mi></mml:mrow></mml:msup><mml:mo>|</mml:mo></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mo movablelimits="true" form="prefix">max</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>d</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mrow><mml:mo>&#x230A;</mml:mo><mml:mrow><mml:mi>a</mml:mi><mml:mrow><mml:mo>|</mml:mo><mml:msup><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">&#x2032;</mml:mi></mml:mrow></mml:msup><mml:mo>|</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:mi>b</mml:mi></mml:mrow><mml:mo>&#x230B;</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:math></disp-formula></p>
<p>The BIKE 128-bit security parameter is used for the test as <inline-formula id="ieqn-69"><mml:math id="mml-ieqn-69"><mml:mo stretchy="false">(</mml:mo><mml:mi>d</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:mn>71</mml:mn><mml:mo>,</mml:mo><mml:mn>134</mml:mn><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula>, the value required to achieve the target DFR for a given number of different iterations. The threshold parameter <inline-formula id="ieqn-70"><mml:math id="mml-ieqn-70"><mml:mi>a</mml:mi><mml:mo>=</mml:mo><mml:mn>0.0069722</mml:mn></mml:math></inline-formula>, <inline-formula id="ieqn-71"><mml:math id="mml-ieqn-71"><mml:mi>b</mml:mi><mml:mo>=</mml:mo><mml:mn>13.530</mml:mn></mml:math></inline-formula>. The code length of the BGF decoder, and the DFR relationship are shown in <xref ref-type="fig" rid="fig-1">Fig. 1</xref>.</p>
<fig id="fig-1">
<label>Figure 1</label>
<caption>
<title>The relationship graph between Block length <inline-formula id="ieqn-75"><mml:math id="mml-ieqn-75"><mml:mi>r</mml:mi></mml:math></inline-formula> and DFR</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_65296-fig-1.tif"/>
</fig>
<p>To accurately estimate the decoding failure probability DFR of this decoding algorithm, the extrapolation method Markovian model [<xref ref-type="bibr" rid="ref-19">19</xref>] is used, which is based on the fact that the DFR curve is a concave function, and the block value of the large parameter can be deduced by testing the DFR under the smaller code length parameter, given some of the parameters, i.e., <inline-formula id="ieqn-72"><mml:math id="mml-ieqn-72"><mml:mi>r</mml:mi><mml:mo stretchy="false">&#x21A6;</mml:mo><mml:mi>log</mml:mi><mml:mo>&#x2061;</mml:mo><mml:mrow><mml:mi>D</mml:mi><mml:mi>F</mml:mi></mml:mrow><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mi mathvariant="normal">D</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>r</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. For the decoder, security level <inline-formula id="ieqn-73"><mml:math id="mml-ieqn-73"><mml:mi>&#x03BB;</mml:mi></mml:math></inline-formula>, if <inline-formula id="ieqn-74"><mml:math id="mml-ieqn-74"><mml:mrow><mml:mi>D</mml:mi><mml:mi>F</mml:mi></mml:mrow><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mi mathvariant="normal">D</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>r</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2265;</mml:mo><mml:msup><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mi>&#x03BB;</mml:mi></mml:mrow></mml:msup><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>&#x003C;</mml:mo><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>&#x003C;</mml:mo><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>, the following inequality can be obtained by defining the concavity of the <xref ref-type="disp-formula" rid="eqn-2">Formula (2)</xref>.
<disp-formula id="eqn-2"><label>(2)</label><mml:math id="mml-eqn-2" display="block"><mml:mi>log</mml:mi><mml:mo>&#x2061;</mml:mo><mml:msub><mml:mrow><mml:mrow><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">F</mml:mi><mml:mi mathvariant="normal">R</mml:mi></mml:mrow></mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2264;</mml:mo><mml:mi>log</mml:mi><mml:mo>&#x2061;</mml:mo><mml:msub><mml:mrow><mml:mrow><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">F</mml:mi><mml:mi mathvariant="normal">R</mml:mi></mml:mrow></mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:mfrac><mml:mrow><mml:mi>log</mml:mi><mml:mo>&#x2061;</mml:mo><mml:msub><mml:mrow><mml:mrow><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">F</mml:mi><mml:mi mathvariant="normal">R</mml:mi></mml:mrow></mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mi>log</mml:mi><mml:mo>&#x2061;</mml:mo><mml:msub><mml:mrow><mml:mrow><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">F</mml:mi><mml:mi mathvariant="normal">R</mml:mi></mml:mrow></mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mo>&#x22C5;</mml:mo><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:math></disp-formula></p>
<p>To accurately assess <inline-formula id="ieqn-76"><mml:math id="mml-ieqn-76"><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>, introduce the Bernoulli experimental function in statistics, assuming that <inline-formula id="ieqn-77"><mml:math id="mml-ieqn-77"><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula id="ieqn-78"><mml:math id="mml-ieqn-78"><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula> is the failure probability of two independent Bernoulli tests, in the total number of Bernoulli tests <inline-formula id="ieqn-79"><mml:math id="mml-ieqn-79"><mml:msub><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> in the sample to test failure situation <inline-formula id="ieqn-80"><mml:math id="mml-ieqn-80"><mml:msub><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mspace width="thinmathspace" /><mml:mo>,</mml:mo><mml:mspace width="thinmathspace" /><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:math></inline-formula> and <inline-formula id="ieqn-81"><mml:math id="mml-ieqn-81"><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msubsup><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mi>A</mml:mi></mml:mrow></mml:msubsup><mml:msubsup><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mi>A</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, the derivation of the formula is:
<disp-formula id="eqn-3"><label>(3)</label><mml:math id="mml-eqn-3" display="block"><mml:mfrac><mml:mn>1</mml:mn><mml:mi>K</mml:mi></mml:mfrac><mml:msubsup><mml:mrow><mml:mo>&#x222B;</mml:mo></mml:mrow><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mi mathvariant="normal">&#x221E;</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:msubsup><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow><mml:mrow><mml:mo>&#x2212;</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:msubsup><mml:msubsup><mml:mrow><mml:mo>&#x222B;</mml:mo></mml:mrow><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mi mathvariant="normal">&#x221E;</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msubsup><mml:msup><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mi>A</mml:mi></mml:mrow></mml:mfrac><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:msup><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mi>A</mml:mi></mml:mfrac><mml:mo>+</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mi>A</mml:mi></mml:mrow></mml:mfrac></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:msup><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mfrac><mml:mi>t</mml:mi><mml:mi>A</mml:mi></mml:mfrac></mml:mrow></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msup><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:msup><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mfrac><mml:mrow><mml:mi>s</mml:mi><mml:mo>+</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mi>A</mml:mi></mml:mrow></mml:mfrac></mml:mrow></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msup><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi><mml:mi>d</mml:mi><mml:mi>s</mml:mi></mml:mrow><mml:mo>&#x003C;</mml:mo><mml:mfrac><mml:mi>&#x03B1;</mml:mi><mml:mn>2</mml:mn></mml:mfrac></mml:math></disp-formula>
<disp-formula id="eqn-4"><label>(4)</label><mml:math id="mml-eqn-4" display="block"><mml:mfrac><mml:mn>1</mml:mn><mml:mi>K</mml:mi></mml:mfrac><mml:msubsup><mml:mrow><mml:mo>&#x222B;</mml:mo></mml:mrow><mml:mrow><mml:mi>&#x2113;</mml:mi><mml:msubsup><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow><mml:mrow><mml:mo>+</mml:mo></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:mi mathvariant="normal">&#x221E;</mml:mi></mml:mrow></mml:msubsup><mml:msubsup><mml:mrow><mml:mo>&#x222B;</mml:mo></mml:mrow><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mi mathvariant="normal">&#x221E;</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msubsup><mml:msup><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mi>A</mml:mi></mml:mrow></mml:mfrac><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:msup><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mi>A</mml:mi></mml:mfrac><mml:mo>+</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mi>A</mml:mi></mml:mrow></mml:mfrac></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:msup><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mfrac><mml:mi>t</mml:mi><mml:mi>A</mml:mi></mml:mfrac></mml:mrow></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msup><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:msup><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mfrac><mml:mrow><mml:mi>s</mml:mi><mml:mo>+</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mi>A</mml:mi></mml:mrow></mml:mfrac></mml:mrow></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msup><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi><mml:mi>d</mml:mi><mml:mi>s</mml:mi></mml:mrow><mml:mo>&#x003C;</mml:mo><mml:mfrac><mml:mi>&#x03B1;</mml:mi><mml:mn>2</mml:mn></mml:mfrac></mml:math></disp-formula>
<disp-formula id="eqn-5"><label>(5)</label><mml:math id="mml-eqn-5" display="block"><mml:mi>K</mml:mi><mml:mo>=</mml:mo><mml:mi>A</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mi>A</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mi>B</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mi>B</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>.</mml:mo></mml:math></disp-formula></p>
<p>Therefore, two methods, analog extrapolation and formula method, are used to test the decoding DFR lower bounds respectively. To ensure the security of IND-CCA and find the minimum block size, it is necessary to ensure that the selected parameter DFR is less than <inline-formula id="ieqn-82"><mml:math id="mml-ieqn-82"><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mi>&#x03BB;</mml:mi></mml:mrow></mml:msup></mml:math></inline-formula>. Where the parameters are chosen as <inline-formula id="ieqn-83"><mml:math id="mml-ieqn-83"><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:mn>9803</mml:mn><mml:mo>,</mml:mo><mml:mn>9901</mml:mn><mml:mo>,</mml:mo><mml:mn>12323</mml:mn><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula>, <inline-formula id="ieqn-84"><mml:math id="mml-ieqn-84"><mml:mo stretchy="false">(</mml:mo><mml:mi>d</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:mn>71</mml:mn><mml:mo>,</mml:mo><mml:mn>134</mml:mn><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula>, and the confidence interval <inline-formula id="ieqn-85"><mml:math id="mml-ieqn-85"><mml:mi>&#x03B1;</mml:mi></mml:math></inline-formula> is 0.01. The average DFR test results for the BGF decoding algorithm under the conditions of <inline-formula id="ieqn-86"><mml:math id="mml-ieqn-86"><mml:mi>&#x03C4;</mml:mi><mml:mo>=</mml:mo><mml:mn>3</mml:mn></mml:math></inline-formula>, IND-CCA security parameters <inline-formula id="ieqn-87"><mml:math id="mml-ieqn-87"><mml:mi>&#x03BB;</mml:mi><mml:mo>=</mml:mo><mml:mn>128</mml:mn><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mi>t</mml:mi><mml:mi>e</mml:mi><mml:mi>r</mml:mi><mml:mi>a</mml:mi><mml:mi>t</mml:mi><mml:mi>i</mml:mi><mml:mi>o</mml:mi><mml:mi>n</mml:mi><mml:mi>s</mml:mi><mml:mo>=</mml:mo><mml:mn>7</mml:mn></mml:math></inline-formula>, are shown in <xref ref-type="table" rid="table-2">Table 2</xref>.</p>
<table-wrap id="table-2">
<label>Table 2</label>
<caption>
<title>BGF decoding analogue data table</title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th><inline-formula id="ieqn-89"><mml:math id="mml-ieqn-89"><mml:mi mathvariant="bold-italic">&#x03BB;</mml:mi></mml:math></inline-formula> &#x003D; 128</th>
<th colspan="4">DFR(95%CI)</th>
</tr>
<tr>
<th></th>
<th><inline-formula id="ieqn-90"><mml:math id="mml-ieqn-90"><mml:msub><mml:mrow><mml:mi mathvariant="bold">log</mml:mi></mml:mrow><mml:mrow><mml:mn mathvariant="bold">2</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">D</mml:mi><mml:mi mathvariant="bold-italic">F</mml:mi><mml:mi mathvariant="bold-italic">R</mml:mi></mml:mrow></mml:math></inline-formula></th>
<th><inline-formula id="ieqn-91"><mml:math id="mml-ieqn-91"><mml:msub><mml:mrow><mml:mi mathvariant="bold">log</mml:mi></mml:mrow><mml:mrow><mml:mn mathvariant="bold">2</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:msup><mml:mrow><mml:mo mathvariant="bold" stretchy="false">(</mml:mo><mml:mi mathvariant="bold-italic">D</mml:mi><mml:mi mathvariant="bold-italic">F</mml:mi><mml:mi mathvariant="bold-italic">R</mml:mi></mml:mrow><mml:mrow><mml:mo mathvariant="bold">+</mml:mo></mml:mrow></mml:msup><mml:mo mathvariant="bold" stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula></th>
<th>Margin of error</th>
<th>Recision</th>
</tr>
<tr>
<th></th>
<th></th>
<th><inline-formula id="ieqn-92"><mml:math id="mml-ieqn-92"><mml:msub><mml:mrow><mml:mi mathvariant="bold">log</mml:mi></mml:mrow><mml:mrow><mml:mn mathvariant="bold">2</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:msup><mml:mrow><mml:mo mathvariant="bold" stretchy="false">(</mml:mo><mml:mi mathvariant="bold-italic">D</mml:mi><mml:mi mathvariant="bold-italic">F</mml:mi><mml:mi mathvariant="bold-italic">R</mml:mi></mml:mrow><mml:mrow><mml:mo mathvariant="bold">&#x2212;</mml:mo></mml:mrow></mml:msup><mml:mo mathvariant="bold" stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td>Extrapolation method</td>
<td>&#x2212;146.20</td>
<td>&#x2212;129.31</td>
<td>11.55%</td>
<td><inline-formula id="ieqn-93"><mml:math id="mml-ieqn-93"><mml:mo>&#x00B1;</mml:mo></mml:math></inline-formula>14.70%</td>
</tr>
<tr>
<td></td>
<td></td>
<td>&#x2212;172.32</td>
<td>17.86%</td>
<td></td>
</tr>
<tr>
<td>Formula method</td>
<td>&#x2212;147.26</td>
<td>&#x2212;130.31</td>
<td>11.51%</td>
<td><inline-formula id="ieqn-94"><mml:math id="mml-ieqn-94"><mml:mo>&#x00B1;</mml:mo></mml:math></inline-formula>11.51%</td>
</tr>
<tr>
<td></td>
<td></td>
<td>&#x2212;164.21</td>
<td>11.51%</td>
<td></td>
</tr>
</tbody>
</table>
</table-wrap>
<p>To more accurately evaluate the accuracy of these methods and their potential limitations when applied to practical BIKE parameters, this section provides a detailed analysis of their precision and margin of error. As specifically demonstrated in <xref ref-type="table" rid="table-2">Table 2</xref>.</p>

<p>From <xref ref-type="table" rid="table-2">Table 2</xref>, it can be seen that the BGF decoding algorithm can achieve a corresponding <inline-formula id="ieqn-88"><mml:math id="mml-ieqn-88"><mml:msup><mml:mi>r</mml:mi><mml:mrow><mml:mi>C</mml:mi><mml:mi>C</mml:mi><mml:mi>A</mml:mi></mml:mrow></mml:msup></mml:math></inline-formula>, which achieves better decoding efficiency than other variants of decoding algorithms [<xref ref-type="bibr" rid="ref-20">20</xref>] by exhibiting a lower DFR in constant time. However, the drawbacks are equally obvious, its efficient and accurate decoding sacrifices universality, and its error correction capability is limited in the face of longer code lengths or highly weighted code words, especially at high security levels.</p>

</sec>
</sec>
<sec id="s3">
<label>3</label>
<title>DFR Analysis</title>
<p>Decoders for bit-flipping of QC-MDPC codes used by BIKE always have a non-negligible DFR. Although the BGF decoders currently used have a very small DFR, it does not formally declare the security of IND-CCA. This section analyzes the reasons for the existence of DFR and analyzes the special structures that may hinder the decoding to reveal the reasons that affect the decoding.</p>
<sec id="s3_1">
<label>3.1</label>
<title>Distance Spectrum Analysis</title>
<p>In the GJS reaction attack, Guo [<xref ref-type="bibr" rid="ref-7">7</xref>] found that there is a strong correlation between the DFR and the distance spectrum of the key, and a large amount of information about the distance spectrum of the key can be collected from the decoding failure, and then the key can be recovered from the distance spectrum by the key recovery algorithm. Therefore, the distance spectrum of this attack is the key to whether the key can be recovered or not.</p>
<p>For <inline-formula id="ieqn-95"><mml:math id="mml-ieqn-95"><mml:mi>h</mml:mi><mml:mo>&#x2208;</mml:mo><mml:msub><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:mi>x</mml:mi><mml:mo>]</mml:mo></mml:mrow><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>r</mml:mi></mml:mrow></mml:msup><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, The number of occurrences of a distance can be called multiplicity, and the set of multiplicities is the distance spectrum, which can be expressed as [<xref ref-type="bibr" rid="ref-21">21</xref>]:
<disp-formula id="eqn-6"><label>(6)</label><mml:math id="mml-eqn-6" display="block"><mml:mi>S</mml:mi><mml:mi>p</mml:mi><mml:mi>e</mml:mi><mml:mi>c</mml:mi><mml:mi>t</mml:mi><mml:mi>r</mml:mi><mml:mi>u</mml:mi><mml:mi>m</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>h</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mo fence="false" stretchy="false">{</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>&#x03B4;</mml:mi><mml:mo>,</mml:mo><mml:mi>&#x03BC;</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>&#x03B4;</mml:mi><mml:mo>,</mml:mo><mml:mi>h</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2223;</mml:mo><mml:mi>&#x03B4;</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mo fence="false" stretchy="false">{</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:mo fence="false" stretchy="false">&#x230A;</mml:mo><mml:mi>r</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mn>2</mml:mn><mml:mo fence="false" stretchy="false">&#x230B;</mml:mo><mml:mo fence="false" stretchy="false">}</mml:mo><mml:mo fence="false" stretchy="false">}</mml:mo></mml:math></disp-formula></p>
<p>Assuming that the multiplicities of the distance spectra are independent, then for <inline-formula id="ieqn-96"><mml:math id="mml-ieqn-96"><mml:mn>0</mml:mn><mml:mo>&#x2264;</mml:mo><mml:mi>m</mml:mi><mml:mo>&#x2264;</mml:mo><mml:mi>d</mml:mi><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x2264;</mml:mo><mml:mi>&#x03B4;</mml:mi><mml:mo>&#x2264;</mml:mo><mml:mo fence="false" stretchy="false">&#x230A;</mml:mo><mml:mi>r</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mn>2</mml:mn><mml:mo fence="false" stretchy="false">&#x230B;</mml:mo></mml:math></inline-formula> and <inline-formula id="ieqn-97"><mml:math id="mml-ieqn-97"><mml:mi>h</mml:mi><mml:mo>&#x2208;</mml:mo><mml:msub><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:mi>x</mml:mi><mml:mo>]</mml:mo></mml:mrow><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>r</mml:mi></mml:mrow></mml:msup><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> then the multiplicity probability distribution formula is:
<disp-formula id="eqn-7"><label>(7)</label><mml:math id="mml-eqn-7" display="block"><mml:msub><mml:mrow><mml:mi>&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo movablelimits="true" form="prefix">Pr</mml:mo><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mi>&#x03BC;</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>&#x03B4;</mml:mi><mml:mo>,</mml:mo><mml:mrow><mml:mtext>h</mml:mtext></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>m</mml:mi></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mfrac><mml:msub><mml:mrow><mml:mrow><mml:mi>&#x1D4A9;</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mtable columnalign="left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>r</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>d</mml:mi></mml:mtd></mml:mtr></mml:mtable><mml:mo>)</mml:mo></mml:mrow></mml:mfrac></mml:math></disp-formula>
<disp-formula id="eqn-8"><label>(8)</label><mml:math id="mml-eqn-8" display="block"><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mo>&#x2265;</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo movablelimits="true" form="prefix">Pr</mml:mo><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:munder><mml:mrow><mml:mo form="prefix">max</mml:mo></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x03B4;</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mo fence="false" stretchy="false">{</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:mo fence="false" stretchy="false">&#x230A;</mml:mo><mml:mi>r</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mn>2</mml:mn><mml:mo fence="false" stretchy="false">&#x230B;</mml:mo><mml:mo fence="false" stretchy="false">}</mml:mo></mml:mrow></mml:mrow></mml:munder><mml:mo>&#x2061;</mml:mo><mml:mi>&#x03BC;</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>&#x03B4;</mml:mi><mml:mo>,</mml:mo><mml:mrow><mml:mtext mathvariant="bold">h</mml:mtext></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2265;</mml:mo><mml:mi>m</mml:mi></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mrow><mml:mi>&#x03C0;</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo fence="false" stretchy="false">&#x230A;</mml:mo><mml:mi>r</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mn>2</mml:mn><mml:mo fence="false" stretchy="false">&#x230B;</mml:mo></mml:mrow></mml:msup></mml:math></disp-formula>
<disp-formula id="eqn-9"><label>(9)</label><mml:math id="mml-eqn-9" display="block"><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mo>=</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo movablelimits="true" form="prefix">Pr</mml:mo><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:munder><mml:mrow><mml:mo form="prefix">max</mml:mo></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x03B4;</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mo fence="false" stretchy="false">{</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:mo fence="false" stretchy="false">&#x230A;</mml:mo><mml:mi>r</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mn>2</mml:mn><mml:mo fence="false" stretchy="false">&#x230B;</mml:mo><mml:mo fence="false" stretchy="false">}</mml:mo></mml:mrow></mml:mrow></mml:munder><mml:mo>&#x2061;</mml:mo><mml:mi>&#x03BC;</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>&#x03B4;</mml:mi><mml:mo>,</mml:mo><mml:mrow><mml:mtext>h</mml:mtext></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>m</mml:mi></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mo>&#x2265;</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mo>&#x2265;</mml:mo><mml:mi>m</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:math></disp-formula>
<disp-formula id="eqn-10"><label>(10)</label><mml:math id="mml-eqn-10" display="block"><mml:msub><mml:mrow><mml:mrow><mml:mi>&#x1D4A9;</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mi>r</mml:mi><mml:mrow><mml:mi>d</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:mfrac><mml:mrow><mml:mo>(</mml:mo><mml:mtable rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>d</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>d</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>m</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mtd></mml:mtr></mml:mtable><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mtable rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>r</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>d</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>d</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>m</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mtd></mml:mtr></mml:mtable><mml:mo>)</mml:mo></mml:mrow></mml:math></disp-formula></p>
<p>For a subsequent assessment of the effect of multiplicity on the DFR, the distribution of the parameters at three different security levels is plotted as <xref ref-type="fig" rid="fig-2">Fig. 2</xref>. It can be observed that the probability of a specific multiplicity in the spectrum of a cyclic block is generally low (non-zero), with only a small percentage higher.</p>
<fig id="fig-2">
<label>Figure 2</label>
<caption>
<title>Probability analysis of multiplicity <inline-formula id="ieqn-98"><mml:math id="mml-ieqn-98"><mml:mi>m</mml:mi></mml:math></inline-formula></title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_65296-fig-2.tif"/>
</fig>
<p>Therefore, this explains the strong correlation between the DFR and the distance between non-zero bits in the private key vector (the first row of the cyclic private key matrix) in the GJS attack. That is, if there is a distance between two non-zero bits in the same error pattern, then the probability of decoding failure is much smaller compared to the absence of such a distance.</p>
<p>Such a result is obvious, the result in the cyclic condition of the QC code, using the error pattern between the two 1&#x2019;s of the distance and the private key vector of the same distance. Its checksum value decreases due to multiplicative cancellation when identical distances are encountered. The cancellation frequency is inversely proportional to the resultant checksum weight, with higher cancellation counts yielding lower weight values. Therefore, the probability of decoding error when the weight is 0 is greater than the probability of error when the weight is non-zero, and the corresponding DFR will be larger.</p>
</sec>
<sec id="s3_2">
<label>3.2</label>
<title>Checksum Analysis</title>
<p>In coding theory, the checker is an important factor affecting decoding. For bit-flip decoding, the number of iterations completes the decoding within 3&#x2013;5 iterations on average, and further iterations have almost no effect on the decoding probability [<xref ref-type="bibr" rid="ref-22">22</xref>]. Therefore, the first correct flip greatly affects whether the decoding can be successful or not. In the first round of decoding, the number of errors <inline-formula id="ieqn-99"><mml:math id="mml-ieqn-99"><mml:mi>&#x2113;</mml:mi></mml:math></inline-formula> in each checksum equation determines the number of correctly changed counters. For example, if the number of errors in a checksum equation is even, then all counters will be correctly changed; if it is odd, it means that there is at least one incorrect bit, in which case all counters will be incremented, but only one bit is incorrect. Thus, all but one counter will change correctly and the rest will increase incorrectly.</p>
<p>To more accurately analyze the effect of the number of errors in each checksum equation on the decoding, it is assumed that the number of errors involved in the equations obey the following distribution for any <inline-formula id="ieqn-100"><mml:math id="mml-ieqn-100"><mml:mi>i</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mo fence="false" stretchy="false">{</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:mi>r</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn><mml:mo fence="false" stretchy="false">}</mml:mo><mml:mo>,</mml:mo><mml:mi>a</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mo fence="false" stretchy="false">{</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo fence="false" stretchy="false">}</mml:mo><mml:mo>,</mml:mo><mml:mi>&#x2113;</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mo fence="false" stretchy="false">{</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:mo movablelimits="true" form="prefix">min</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>&#x03C9;</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo fence="false" stretchy="false">}</mml:mo></mml:math></inline-formula>, assuming that the number of errors involved in the equations <italic>H</italic> is chosen uniformly at random from <inline-formula id="ieqn-101"><mml:math id="mml-ieqn-101"><mml:msub><mml:mrow><mml:mrow><mml:mi>&#x0210B;</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mo>,</mml:mo><mml:mi>&#x03C9;</mml:mi><mml:mo>,</mml:mo><mml:mi>r</mml:mi><mml:mo>&#x00D7;</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, and <inline-formula id="ieqn-102"><mml:math id="mml-ieqn-102"><mml:mi>e</mml:mi></mml:math></inline-formula> uniformly at random from <inline-formula id="ieqn-103"><mml:math id="mml-ieqn-103"><mml:msub><mml:mrow><mml:mrow><mml:mi>&#x2130;</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> [<xref ref-type="bibr" rid="ref-23">23</xref>]:
<disp-formula id="eqn-11"><label>(11)</label><mml:math id="mml-eqn-11" display="block"><mml:mo movablelimits="true" form="prefix">Pr</mml:mo><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x03C1;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>&#x2113;</mml:mi><mml:mo>&#x2223;</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>&#x2113;</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:msub><mml:mrow><mml:mi>&#x1D4A9;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mfrac></mml:math></disp-formula>
<disp-formula id="eqn-12"><label>(12)</label><mml:math id="mml-eqn-12" display="block"><mml:msub><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>a</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>&#x2113;</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mtable columnalign="left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>w</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>&#x2113;</mml:mi></mml:mtd></mml:mtr></mml:mtable><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mtable columnalign="left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>n</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>w</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>t</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>&#x2113;</mml:mi></mml:mtd></mml:mtr></mml:mtable><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mtable columnalign="left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>n</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>t</mml:mi></mml:mtd></mml:mtr></mml:mtable><mml:mo>)</mml:mo></mml:mrow></mml:mfrac><mml:msub><mml:mrow><mml:mrow><mml:mtext mathvariant="bold">1</mml:mtext></mml:mrow></mml:mrow><mml:mrow><mml:mi>a</mml:mi><mml:mo>+</mml:mo><mml:mn>2</mml:mn><mml:mrow><mml:mtext>Z</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>&#x2113;</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></disp-formula>
<disp-formula id="eqn-13"><label>(13)</label><mml:math id="mml-eqn-13" display="block"><mml:msub><mml:mrow><mml:mi>&#x1D4A9;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:munder><mml:mrow><mml:mo movablelimits="false">&#x2211;</mml:mo></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x2113;</mml:mi><mml:mrow><mml:mtext>&#xA0;is odd</mml:mtext></mml:mrow></mml:mrow></mml:mrow></mml:munder><mml:mo>&#x2061;</mml:mo><mml:mfrac><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mtable rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>w</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>&#x2113;</mml:mi></mml:mtd></mml:mtr></mml:mtable><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mtable rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>n</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>w</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>t</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>&#x2113;</mml:mi></mml:mtd></mml:mtr></mml:mtable><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mtable columnalign="left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>n</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>t</mml:mi></mml:mtd></mml:mtr></mml:mtable><mml:mo>)</mml:mo></mml:mrow></mml:mfrac><mml:mo>,</mml:mo><mml:mtext>&#x00A0;</mml:mtext><mml:msub><mml:mrow><mml:mi>&#x1D4A9;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mrow><mml:mi>&#x1D4A9;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>.</mml:mo></mml:math></disp-formula>where <inline-formula id="ieqn-104"><mml:math id="mml-ieqn-104"><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2208;</mml:mo><mml:mo fence="false" stretchy="false">{</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo fence="false" stretchy="false">}</mml:mo><mml:mo>,</mml:mo><mml:mi>&#x2113;</mml:mi></mml:math></inline-formula> is the number of errors. When <inline-formula id="ieqn-105"><mml:math id="mml-ieqn-105"><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:math></inline-formula>, the number of errors involved in the equation is even, the distribution <inline-formula id="ieqn-106"><mml:math id="mml-ieqn-106"><mml:msub><mml:mrow><mml:mi>&#x03C1;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is an odd multiple of the number of errors <inline-formula id="ieqn-107"><mml:math id="mml-ieqn-107"><mml:mi>&#x2113;</mml:mi></mml:math></inline-formula>, and when <inline-formula id="ieqn-108"><mml:math id="mml-ieqn-108"><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:math></inline-formula>, the distribution is an even multiple of the number of errors.</p>
<p>Testing the parameters for selecting 128-bit security, it can be observed from the <xref ref-type="table" rid="table-3">Table 3</xref> that the probability decreases with an increase of <inline-formula id="ieqn-109"><mml:math id="mml-ieqn-109"><mml:mi>&#x2113;</mml:mi></mml:math></inline-formula> and the average probability is generally lower for even multiples of the number of errors than for odd multiples. This is because when the number of errors is even, the number of counters correctly changed is <inline-formula id="ieqn-110"><mml:math id="mml-ieqn-110"><mml:mi>w</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>&#x2113;</mml:mi></mml:math></inline-formula>, and the number of errors changed is <inline-formula id="ieqn-111"><mml:math id="mml-ieqn-111"><mml:mi>&#x2113;</mml:mi></mml:math></inline-formula>. On the contrary, when the number of errors is odd, the number of counters correctly changed is <inline-formula id="ieqn-112"><mml:math id="mml-ieqn-112"><mml:mi>&#x2113;</mml:mi></mml:math></inline-formula>, and the number of errors changed is <inline-formula id="ieqn-113"><mml:math id="mml-ieqn-113"><mml:mi>w</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>&#x2113;</mml:mi></mml:math></inline-formula>. Thus, having an even number of counters helps in decoding, while having an odd number of counters <inline-formula id="ieqn-114"><mml:math id="mml-ieqn-114"><mml:mi>&#x2113;</mml:mi></mml:math></inline-formula> has a negative effect on decoding.</p>
<table-wrap id="table-3">
<label>Table 3</label>
<caption>
<title>Probability analysis of <inline-formula id="ieqn-115"><mml:math id="mml-ieqn-115"><mml:mi mathvariant="bold-italic">&#x2113;</mml:mi></mml:math></inline-formula></title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th><inline-formula id="ieqn-116"><mml:math id="mml-ieqn-116"><mml:mi mathvariant="bold-italic">&#x2113;</mml:mi></mml:math></inline-formula></th>
<th><inline-formula id="ieqn-117"><mml:math id="mml-ieqn-117"><mml:msub><mml:mrow><mml:mi mathvariant="bold">log</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mtext mathvariant="bold">2</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo mathvariant="bold" movablelimits="true" form="prefix">Pr</mml:mo><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">&#x03C1;</mml:mi><mml:mrow><mml:mi mathvariant="bold-italic">i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mi mathvariant="bold-italic">&#x2113;</mml:mi></mml:mrow><mml:mo mathvariant="bold">&#x2223;</mml:mo><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">s</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="bold-italic">i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mn mathvariant="bold">0</mml:mn></mml:mrow></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:math></inline-formula></th>
<th><inline-formula id="ieqn-118"><mml:math id="mml-ieqn-118"><mml:mi mathvariant="bold-italic">&#x2113;</mml:mi></mml:math></inline-formula></th>
<th><inline-formula id="ieqn-119"><mml:math id="mml-ieqn-119"><mml:msub><mml:mrow><mml:mi mathvariant="bold">log</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mtext mathvariant="bold">2</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mo mathvariant="bold" movablelimits="true" form="prefix">Pr</mml:mo><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">&#x03C1;</mml:mi><mml:mrow><mml:mi mathvariant="bold-italic">i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi mathvariant="bold-italic">&#x2113;</mml:mi><mml:mo mathvariant="bold">&#x2223;</mml:mo><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">s</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="bold-italic">i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mtext mathvariant="bold">0</mml:mtext></mml:mrow></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:math></inline-formula></th>
</tr>
</thead>
<tbody>
<tr>
<td>0</td>
<td>&#x2212;0.39</td>
<td>1</td>
<td>&#x2212;0.14</td>
</tr>
<tr>
<td>2</td>
<td>&#x2212;2.13</td>
<td>3</td>
<td>&#x2212;3.50</td>
</tr>
<tr>
<td>4</td>
<td>&#x2212;6.53</td>
<td>5</td>
<td>&#x2212;8.68</td>
</tr>
<tr>
<td>6</td>
<td>&#x2212;12.35</td>
<td>7</td>
<td>&#x2212;15.03</td>
</tr>
<tr>
<td>8</td>
<td>&#x2212;19.15</td>
<td>9</td>
<td>&#x2212;22.23</td>
</tr>
<tr>
<td>10</td>
<td>&#x2212;26.72</td>
<td>11</td>
<td>&#x2212;30.14</td>
</tr>
<tr>
<td>12</td>
<td>&#x2212;34.94</td>
<td>13</td>
<td>&#x2212;38.65</td>
</tr>
<tr>
<td>14</td>
<td>&#x2212;43.71</td>
<td>15</td>
<td>&#x2212;47.67</td>
</tr>
<tr>
<td>16</td>
<td>&#x2212;52.98</td>
<td>17</td>
<td>&#x2212;57.16</td>
</tr>
<tr>
<td>18</td>
<td>&#x2212;62.68</td>
<td>19</td>
<td>&#x2212;67.08</td>
</tr>
<tr>
<td>20</td>
<td>&#x2212;72.80</td>
<td>21</td>
<td>&#x2212;77.39</td>
</tr>
<tr>
<td>22</td>
<td>&#x2212;83.30</td>
<td>23</td>
<td>&#x2212;88.07</td>
</tr>
<tr>
<td>24</td>
<td>&#x2212;94.15</td>
<td>25</td>
<td>&#x2212;99.09</td>
</tr>
<tr>
<td>26</td>
<td>&#x2212;105.33</td>
<td>27</td>
<td>&#x2212;110.45</td>
</tr>
<tr>
<td>28</td>
<td>&#x2212;116.85</td>
<td>29</td>
<td>&#x2212;122.11</td>
</tr>
<tr>
<td>30</td>
<td>&#x2212;128.67</td>
<td>31</td>
<td>&#x2212;134.08</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
</sec>
<sec id="s4">
<label>4</label>
<title>Optimization of Weak-Key Attack</title>
<sec id="s4_1">
<label>4.1</label>
<title>Introduction</title>
<p>This scheme is based on the BGF decoding algorithm of the BIKE scheme. Building upon previous weak key attacks that only considered the multiplicity of the distance spectrum or the influence of error pattern near-codewords individually, it constructs a weak key that results from the combined effect of both the multiplicity of the key distance spectrum and the error pattern near-codewords.</p>
</sec>
<sec id="s4_2">
<label>4.2</label>
<title>Our Construction</title>
<p>The overall steps of the scheme are as follows:</p>
<p>1. (Constructing the key) Select the parameters <inline-formula id="ieqn-120"><mml:math id="mml-ieqn-120"><mml:mo stretchy="false">(</mml:mo><mml:mi>r</mml:mi><mml:mo>,</mml:mo><mml:mi>d</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula> and multiplicity <inline-formula id="ieqn-121"><mml:math id="mml-ieqn-121"><mml:mi>m</mml:mi></mml:math></inline-formula>, get the key <inline-formula id="ieqn-122"><mml:math id="mml-ieqn-122"><mml:mi>h</mml:mi><mml:mo>&#x2208;</mml:mo><mml:msub><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:mi>x</mml:mi><mml:mo>]</mml:mo></mml:mrow><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>r</mml:mi></mml:mrow></mml:msup><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mo>|</mml:mo><mml:mi>h</mml:mi><mml:mo>|</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>d</mml:mi><mml:mo>,</mml:mo><mml:mi>&#x03BC;</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>&#x03B4;</mml:mi><mml:mo>,</mml:mo><mml:mi>h</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>m</mml:mi></mml:math></inline-formula>, where <inline-formula id="ieqn-123"><mml:math id="mml-ieqn-123"><mml:mi>&#x03B4;</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mo fence="false" stretchy="false">{</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:mo fence="false" stretchy="false">&#x230A;</mml:mo><mml:mi>r</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mn>2</mml:mn><mml:mo fence="false" stretchy="false">&#x230B;</mml:mo><mml:mo fence="false" stretchy="false">}</mml:mo></mml:math></inline-formula>.</p>
<p>2. (Sampling error patterns) Select specific parameters <inline-formula id="ieqn-124"><mml:math id="mml-ieqn-124"><mml:mi>&#x2113;</mml:mi></mml:math></inline-formula> and collect the patterns of the near-codewords that satisfy the conditions <inline-formula id="ieqn-125"><mml:math id="mml-ieqn-125"><mml:mi>&#x2113;</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>|</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x2217;</mml:mo><mml:mi>e</mml:mi></mml:mrow><mml:mo>|</mml:mo></mml:mrow></mml:math></inline-formula> according to the key constructed <inline-formula id="ieqn-126"><mml:math id="mml-ieqn-126"><mml:mi>h</mml:mi></mml:math></inline-formula> in the first step (<inline-formula id="ieqn-127"><mml:math id="mml-ieqn-127"><mml:mi>&#x2113;</mml:mi></mml:math></inline-formula> denotes the number of keys and error vectors at the same position in the first check equation that are both 1).</p>
<p>3. (Measure the probability of decoding failure) Generate the ciphertext according to the BIKE encryption encapsulation, send the ciphertext to the target oracle predicate machine decoder decrypt the ciphertext, test the DFR under the small parameter block, and then use the model of the extrapolation method to test under the target parameter conditions.</p>
<p>4. (Analysis of search density) First calculate the search density of step 1, defined as the probability <inline-formula id="ieqn-128"><mml:math id="mml-ieqn-128"><mml:mi>&#x03B7;</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, then calculate the search density of step 2, defined as probability <inline-formula id="ieqn-129"><mml:math id="mml-ieqn-129"><mml:mi>&#x03B7;</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>&#x2113;</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, and finally calculate the density of the analysis as a whole, that is, the overall probability <inline-formula id="ieqn-130"><mml:math id="mml-ieqn-130"><mml:msub><mml:mrow><mml:mi>&#x03B7;</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mi mathvariant="normal">D</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>&#x03B7;</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>&#x2113;</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x22C5;</mml:mo><mml:mi>&#x03B7;</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>.</p>
<p>5. (Analysis of security) Calculate the product of the two based on the results of Step 3 and Step 4, and perform a comparative analysis to determine whether the results are below the minimum requirements for NIST standardization, and thus whether there is a negative impact on decoding.</p>
</sec>
<sec id="s4_3">
<label>4.3</label>
<title>Scheme Analysis</title>
<p>Based on the analysis in <xref ref-type="sec" rid="s3">Section 3</xref>, the multiplicity of the distance spectrum and the overlapping characteristics of the error vectors both impact decoding. The higher the multiplicity, the more complex the key structure, and the higher the decoding failure probability. Conversely, the higher the overlap of the error vectors, the poorer the error correction capability of the decoder [<xref ref-type="bibr" rid="ref-24">24</xref>].</p>
<p>The core advantage of this scheme lies in combining the key multiplicity with the overlapping characteristics of the near-codeword error vectors. These two factors work together on the decoder, significantly increasing the decoding failure probability without adding extra density. Theoretically, this combination can more effectively increase the DFR, thus enhancing the effectiveness of the attack.</p>
</sec>
<sec id="s4_4">
<label>4.4</label>
<title>Experimental Methodology</title>
<p>The scheme is based on BIKE&#x2019;s BGF decoding algorithm and simulates the DFR of QC-MDPC codes under IND-CCA security conditions in the <inline-formula id="ieqn-131"><mml:math id="mml-ieqn-131"><mml:mi>&#x03BB;</mml:mi><mml:mo>=</mml:mo><mml:mn>128</mml:mn></mml:math></inline-formula> case. Where the parameters of the BIKE scheme are <inline-formula id="ieqn-132"><mml:math id="mml-ieqn-132"><mml:mo stretchy="false">(</mml:mo><mml:mi>r</mml:mi><mml:mo>,</mml:mo><mml:mi>w</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:mn>12323</mml:mn><mml:mo>,</mml:mo><mml:mn>142</mml:mn><mml:mo>,</mml:mo><mml:mn>134</mml:mn><mml:mo stretchy="false">)</mml:mo><mml:mo>,</mml:mo><mml:mi>w</mml:mi><mml:mo>=</mml:mo><mml:mn>2</mml:mn><mml:mi>d</mml:mi></mml:math></inline-formula>. The parameter selection for the BGF implementation of the decoding algorithm is the same as in <xref ref-type="sec" rid="s3">Section 2</xref>.</p>
<p>To ensure the accuracy of evaluating the DFR, for the multiplicity <inline-formula id="ieqn-133"><mml:math id="mml-ieqn-133"><mml:mn>5</mml:mn><mml:mo>&#x2264;</mml:mo><mml:mi>m</mml:mi><mml:mo>&#x2264;</mml:mo><mml:mn>20</mml:mn></mml:math></inline-formula>, the test values of <inline-formula id="ieqn-134"><mml:math id="mml-ieqn-134"><mml:mi>r</mml:mi></mml:math></inline-formula> are <inline-formula id="ieqn-135"><mml:math id="mml-ieqn-135"><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>9717</mml:mn></mml:math></inline-formula> and <inline-formula id="ieqn-136"><mml:math id="mml-ieqn-136"><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>9811</mml:mn></mml:math></inline-formula>, while for the multiplicity <inline-formula id="ieqn-137"><mml:math id="mml-ieqn-137"><mml:mi>m</mml:mi><mml:mo>&gt;</mml:mo><mml:mn>20</mml:mn></mml:math></inline-formula>, the block parameters of <inline-formula id="ieqn-138"><mml:math id="mml-ieqn-138"><mml:mi>r</mml:mi></mml:math></inline-formula> are <inline-formula id="ieqn-139"><mml:math id="mml-ieqn-139"><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>10</mml:mn><mml:mo>,</mml:mo><mml:mspace width="negativethinmathspace" /><mml:mn>099</mml:mn></mml:math></inline-formula> and <inline-formula id="ieqn-140"><mml:math id="mml-ieqn-140"><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>10</mml:mn><mml:mo>,</mml:mo><mml:mspace width="negativethinmathspace" /><mml:mn>271</mml:mn></mml:math></inline-formula>, the simulated decoding samples for each point are <inline-formula id="ieqn-141"><mml:math id="mml-ieqn-141"><mml:msup><mml:mn>10</mml:mn><mml:mrow><mml:mn>6</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> times, the DFR with its iteration number of 7 is measured by distributing it under the condition of <inline-formula id="ieqn-142"><mml:math id="mml-ieqn-142"><mml:mi>&#x03B1;</mml:mi><mml:mo>=</mml:mo><mml:mn>0.05</mml:mn></mml:math></inline-formula>, and the confidence interval value is 95%. Then, the test values of the DFR with the small parameters of <inline-formula id="ieqn-143"><mml:math id="mml-ieqn-143"><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula id="ieqn-144"><mml:math id="mml-ieqn-144"><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula> are extrapolated to <inline-formula id="ieqn-145"><mml:math id="mml-ieqn-145"><mml:mi>r</mml:mi><mml:mo>=</mml:mo><mml:mn>12</mml:mn><mml:mo>,</mml:mo><mml:mn>323</mml:mn></mml:math></inline-formula>.</p>
<p>To test out the effect of key multiplicity and error pattern near-codewords on BIKE (i.e., BGF decoder), increase the weight of the constructed weak key multiplicity <inline-formula id="ieqn-146"><mml:math id="mml-ieqn-146"><mml:mi>m</mml:mi></mml:math></inline-formula> from 5 to 30, and increase the constructed error pattern parameter <inline-formula id="ieqn-147"><mml:math id="mml-ieqn-147"><mml:mi>&#x2113;</mml:mi></mml:math></inline-formula> from 5 to 25. The simulation results of the DFR tests are as follows [<xref ref-type="bibr" rid="ref-25">25</xref>].</p>
<p>According to the analysis in <xref ref-type="table" rid="table-4">Table 4</xref>, it can be observed that, without considering the error model parameters <inline-formula id="ieqn-148"><mml:math id="mml-ieqn-148"><mml:mi>&#x2113;</mml:mi></mml:math></inline-formula>, the DFR increases as the multiplicity of secret keys <inline-formula id="ieqn-149"><mml:math id="mml-ieqn-149"><mml:mi>m</mml:mi></mml:math></inline-formula> increases, indicating that the failure probability of the decoding increases. At the same time, when the key has greater multiplicity, the DFR increases with the number of error parameters <inline-formula id="ieqn-150"><mml:math id="mml-ieqn-150"><mml:mi>&#x2113;</mml:mi></mml:math></inline-formula>, showing that the error rate and the multiplicity of the secret key become more significant, and the probability of decoding failure increases.</p>
<table-wrap id="table-4">
<label>Table 4</label>
<caption>
<title>DFR at <inline-formula id="ieqn-151"><mml:math id="mml-ieqn-151"><mml:mi>r</mml:mi><mml:mo>=</mml:mo><mml:mn>12323</mml:mn></mml:math></inline-formula></title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th colspan="2"><inline-formula id="ieqn-152"><mml:math id="mml-ieqn-152"><mml:msub><mml:mi mathvariant="bold">log</mml:mi><mml:mrow><mml:mrow><mml:mn mathvariant="bold">2</mml:mn></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mrow><mml:mtext mathvariant="bold">DFR</mml:mtext></mml:mrow></mml:mrow></mml:math></inline-formula></th>
<th colspan="6"><inline-formula id="ieqn-153"><mml:math id="mml-ieqn-153"><mml:mi mathvariant="bold-italic">&#x2113;</mml:mi></mml:math></inline-formula></th>
</tr>
<tr>
<th colspan="2"></th>
<th>0</th>
<th>5</th>
<th>10</th>
<th>15</th>
<th>20</th>
<th>25</th>
</tr>
</thead>
<tbody>
<tr>
<td><inline-formula id="ieqn-154"><mml:math id="mml-ieqn-154"><mml:mi>m</mml:mi></mml:math></inline-formula></td>
<td>5</td>
<td><bold>&#x2212;96.83</bold></td>
<td>&#x2212;87.26</td>
<td>&#x2212;75.19</td>
<td>&#x2212;55.61</td>
<td>&#x2212;45.44</td>
<td>&#x2212;23.96</td>
</tr>
<tr>
<td></td>
<td>10</td>
<td><bold>&#x2212;93.45</bold></td>
<td>&#x2212;82.19</td>
<td>&#x2212;65.27</td>
<td>&#x2212;50.95</td>
<td>&#x2212;42.93</td>
<td>&#x2212;20.31</td>
</tr>
<tr>
<td></td>
<td>15</td>
<td><bold>&#x2212;80.36</bold></td>
<td>&#x2212;65.32</td>
<td>&#x2212;46.31</td>
<td>&#x2212;43.14</td>
<td>&#x2212;36.67</td>
<td>&#x2212;11.65</td>
</tr>
<tr>
<td></td>
<td>20</td>
<td><bold>&#x2212;72.62</bold></td>
<td>&#x2212;61.37</td>
<td>&#x2212;43.21</td>
<td>&#x2212;36.23</td>
<td>&#x2212;22.34</td>
<td>&#x2212;8.32</td>
</tr>
<tr>
<td></td>
<td>25</td>
<td><bold>&#x2212;60.19</bold></td>
<td>&#x2212;45.31</td>
<td>&#x2212;25.33</td>
<td>&#x2212;23.29</td>
<td>&#x2212;13.31</td>
<td>&#x2212;6.66</td>
</tr>
<tr>
<td></td>
<td>30</td>
<td><bold>&#x2212;19.63</bold></td>
<td>&#x2212;26.99</td>
<td>&#x2212;15.61</td>
<td>&#x2212;12.36</td>
<td>&#x2212;9.49</td>
<td>&#x2212;4.23</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>When considering multiple key multiplicities and error parameters, the increase in DFR is significant, and the impact of each factor is more prominent. This indicates that the key multiplicity and the near-codeword error vectors have a strong correlation with DFR, which has a major synergistic effect. By comparing the original data with <inline-formula id="ieqn-155"><mml:math id="mml-ieqn-155"><mml:mi>&#x2113;</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:math></inline-formula>, it can be seen that each row of DFR increases, explaining how the two factors interact to affect the decoding.</p>
<p>While DFR testing provides foundational insights, solely relying on this metric without assessing the attack method&#x2019;s efficacy through holistic cryptanalysis is inadequate. For rigorous security evaluation, we must examine the cryptographic systematically, as developed in subsequent analysis.</p>
</sec>
<sec id="s4_5">
<label>4.5</label>
<title>Scheme Security Analysis</title>
<p>In order to gain insight into the impact of weak keys on the IND-CCA security of the BIKE mechanism, introduce the concept of <inline-formula id="ieqn-156"><mml:math id="mml-ieqn-156"><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>&#x03B7;</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>&#x22C5;</mml:mo><mml:msub><mml:mrow><mml:mrow><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">F</mml:mi><mml:mi mathvariant="normal">R</mml:mi></mml:mrow></mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mi>&#x0210B;</mml:mi></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula>. For weak keys, a set of weak keys is considered weak if there exists a set of weak keys such that the average DFR of the keys in it is higher than the average DFR of the overall set of keys and the density of the keys <inline-formula id="ieqn-157"><mml:math id="mml-ieqn-157"><mml:mrow><mml:mi>&#x1D4B2;</mml:mi></mml:mrow></mml:math></inline-formula> is sufficiently high that it significantly affects the average DFR of the overall set of keys for the security parameter <inline-formula id="ieqn-158"><mml:math id="mml-ieqn-158"><mml:mi>&#x03BB;</mml:mi></mml:math></inline-formula>, i.e.,
<disp-formula id="eqn-14"><label>(14)</label><mml:math id="mml-eqn-14" display="block"><mml:mfrac><mml:mrow><mml:mo>|</mml:mo><mml:mrow><mml:mi>&#x1D4B2;</mml:mi></mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mrow><mml:mo>|</mml:mo><mml:mrow><mml:mi>&#x0210B;</mml:mi></mml:mrow><mml:mo>|</mml:mo></mml:mrow></mml:mfrac><mml:msub><mml:mrow><mml:mrow><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">F</mml:mi><mml:mi mathvariant="normal">R</mml:mi></mml:mrow></mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mi>&#x0210B;</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>&gt;</mml:mo><mml:msup><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mi>&#x03BB;</mml:mi></mml:mrow></mml:msup></mml:math></disp-formula></p>
<p>Therefore, the following inequality must be satisfied, otherwise the IND-CCA security of BIKE is considered to be potentially problematic as it is affected by weak keys.
<disp-formula id="eqn-15"><label>(15)</label><mml:math id="mml-eqn-15" display="block"><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mo>|</mml:mo><mml:mrow><mml:mi>&#x1D4B2;</mml:mi></mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mrow><mml:mo>|</mml:mo><mml:mrow><mml:mi>&#x0210B;</mml:mi></mml:mrow><mml:mo>|</mml:mo></mml:mrow></mml:mfrac><mml:msub><mml:mrow><mml:mrow><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">F</mml:mi><mml:mi mathvariant="normal">R</mml:mi></mml:mrow></mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mi>&#x0210B;</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>&#x03B7;</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>&#x22C5;</mml:mo><mml:msub><mml:mrow><mml:mrow><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">F</mml:mi><mml:mi mathvariant="normal">R</mml:mi></mml:mrow></mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mi>&#x0210B;</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>&#x003C;</mml:mo><mml:msup><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mi>&#x03BB;</mml:mi></mml:mrow></mml:msup></mml:math></disp-formula></p>
<p>Under the IND-CCA language security condition, the attack collects the key of <inline-formula id="ieqn-159"><mml:math id="mml-ieqn-159"><mml:mi>&#x03BC;</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>&#x03B4;</mml:mi><mml:mo>,</mml:mo><mml:mi>h</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>m</mml:mi><mml:mspace width="thinmathspace" /><mml:mo>,</mml:mo><mml:mspace width="thinmathspace" /><mml:mn>0</mml:mn><mml:mo>&#x2264;</mml:mo><mml:mi>m</mml:mi><mml:mo>&#x003C;</mml:mo><mml:mi>d</mml:mi></mml:math></inline-formula>. The multiplicity <inline-formula id="ieqn-160"><mml:math id="mml-ieqn-160"><mml:mi>m</mml:mi></mml:math></inline-formula> of the distance spectrum of <inline-formula id="ieqn-161"><mml:math id="mml-ieqn-161"><mml:mo stretchy="false">(</mml:mo><mml:mi>r</mml:mi><mml:mo>,</mml:mo><mml:mi>d</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula>, and the upper bound of the weak key set of the decoder <inline-formula id="ieqn-162"><mml:math id="mml-ieqn-162"><mml:mrow><mml:mi>&#x1D4B2;</mml:mi></mml:mrow></mml:math></inline-formula> can be expressed as:
<disp-formula id="eqn-16"><label>(16)</label><mml:math id="mml-eqn-16" display="block"><mml:mrow><mml:mo>|</mml:mo><mml:mrow><mml:mrow><mml:mi>&#x1D4B2;</mml:mi></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mo>&#x2264;</mml:mo><mml:mn>2</mml:mn><mml:mrow><mml:mo>&#x230A;</mml:mo><mml:mfrac><mml:mi>r</mml:mi><mml:mn>2</mml:mn></mml:mfrac><mml:mo>&#x230B;</mml:mo></mml:mrow><mml:mfrac><mml:mi>r</mml:mi><mml:mrow><mml:mi>d</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:mfrac><mml:mrow><mml:mo>(</mml:mo><mml:mtable rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>d</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>d</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>m</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mtd></mml:mtr></mml:mtable><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mtable rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>r</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>d</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>d</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>m</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mtd></mml:mtr></mml:mtable><mml:mo>)</mml:mo></mml:mrow></mml:math></disp-formula></p>
<p>In particularly, when <inline-formula id="ieqn-163"><mml:math id="mml-ieqn-163"><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mi>d</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:math></inline-formula> then the upper bound for the weak key set is <inline-formula id="ieqn-164"><mml:math id="mml-ieqn-164"><mml:mrow><mml:mo>|</mml:mo><mml:mrow><mml:mrow><mml:mi>&#x1D4B2;</mml:mi></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mrow><mml:mn>2</mml:mn><mml:mi>r</mml:mi></mml:mrow><mml:mo fence="false" stretchy="false">&#x230A;</mml:mo><mml:mi>r</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mn>2</mml:mn><mml:mo fence="false" stretchy="false">&#x230B;</mml:mo></mml:math></inline-formula>, however, for when <inline-formula id="ieqn-165"><mml:math id="mml-ieqn-165"><mml:mi>m</mml:mi><mml:mo>&#x003C;</mml:mo><mml:mi>d</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:math></inline-formula>, then the upper bound is detailed in the distance spectral analysis 2.2. Thus, the overall upper <inline-formula id="ieqn-166"><mml:math id="mml-ieqn-166"><mml:mi>&#x03B7;</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> bound on the density is:
<disp-formula id="eqn-17"><label>(17)</label><mml:math id="mml-eqn-17" display="block"><mml:mi>&#x03B7;</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mo>|</mml:mo><mml:mrow><mml:mi>&#x1D4B2;</mml:mi></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mrow><mml:mo>|</mml:mo><mml:mrow><mml:mi>&#x0210B;</mml:mi></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>|</mml:mo></mml:mrow></mml:mfrac><mml:mo>&#x2264;</mml:mo><mml:mfrac><mml:mrow><mml:mn>2</mml:mn><mml:mo>&#x22C5;</mml:mo><mml:mi>r</mml:mi><mml:mrow><mml:mo>&#x230A;</mml:mo><mml:mfrac><mml:mi>r</mml:mi><mml:mn>2</mml:mn></mml:mfrac><mml:mo>&#x230B;</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mtable rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>d</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>d</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>m</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mtd></mml:mtr></mml:mtable><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mtable rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>r</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>d</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>d</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>m</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mtd></mml:mtr></mml:mtable><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>d</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>m</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mtable columnalign="left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>r</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>d</mml:mi></mml:mtd></mml:mtr></mml:mtable><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mfrac></mml:math></disp-formula></p>
<p>For the near-codewords in <inline-formula id="ieqn-167"><mml:math id="mml-ieqn-167"><mml:mrow><mml:mi>&#x1D4A9;</mml:mi></mml:mrow></mml:math></inline-formula>, assume that there exist weights <inline-formula id="ieqn-168"><mml:math id="mml-ieqn-168"><mml:mi>&#x03C9;</mml:mi></mml:math></inline-formula> such that <inline-formula id="ieqn-169"><mml:math id="mml-ieqn-169"><mml:mi mathvariant="normal">&#x2200;</mml:mi><mml:mi>u</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mrow><mml:mi>&#x1D4A9;</mml:mi></mml:mrow></mml:math></inline-formula>, then <inline-formula id="ieqn-170"><mml:math id="mml-ieqn-170"><mml:mi mathvariant="normal">&#x2200;</mml:mi><mml:mi>v</mml:mi><mml:mo>&#x2208;</mml:mo><mml:msub><mml:mrow><mml:mrow><mml:mi>&#x1D49C;</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mo>,</mml:mo><mml:mi>&#x2113;</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>&#x1D4A9;</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mo>|</mml:mo><mml:mrow><mml:mi>v</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>u</mml:mi></mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>w</mml:mi><mml:mo>+</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>2</mml:mn><mml:mi>&#x2113;</mml:mi></mml:math></inline-formula>, giving an upper bound on the density <inline-formula id="ieqn-171"><mml:math id="mml-ieqn-171"><mml:mi>&#x03B7;</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>&#x1D4A9;</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> as [<xref ref-type="bibr" rid="ref-26">26</xref>]:
<disp-formula id="eqn-18"><label>(18)</label><mml:math id="mml-eqn-18" display="block"><mml:mi>&#x03B7;</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>&#x2113;</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D4A9;</mml:mi></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mtext>t</mml:mtext></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>&#x2113;</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2264;</mml:mo><mml:mrow><mml:mo>|</mml:mo><mml:mrow><mml:mi>&#x1D4A9;</mml:mi></mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mfrac><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mtable columnalign="left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>d</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>&#x2113;</mml:mi></mml:mtd></mml:mtr></mml:mtable><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mtable columnalign="left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>r</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>d</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>t</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>&#x2113;</mml:mi></mml:mtd></mml:mtr></mml:mtable><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mtable columnalign="left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>r</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>t</mml:mi></mml:mtd></mml:mtr></mml:mtable><mml:mo>)</mml:mo></mml:mrow></mml:mfrac></mml:math></disp-formula></p>
<p>The search complexity of this scheme is the product of the densities of the two, <inline-formula id="ieqn-172"><mml:math id="mml-ieqn-172"><mml:msub><mml:mrow><mml:mi>&#x03B7;</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>&#x03B7;</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x22C5;</mml:mo><mml:mi>&#x03B7;</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>&#x2113;</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. Therefore, the search density is upper bounded:
<disp-formula id="eqn-19"><label>(19)</label><mml:math id="mml-eqn-19" display="block"><mml:msub><mml:mrow><mml:mi>&#x03B7;</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>&#x03B7;</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x22C5;</mml:mo><mml:mi>&#x03B7;</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>&#x2113;</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2264;</mml:mo><mml:mrow><mml:mo>|</mml:mo><mml:mrow><mml:mi>&#x1D4A9;</mml:mi></mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mfrac><mml:mrow><mml:mn>2</mml:mn><mml:mo>&#x22C5;</mml:mo><mml:mi>r</mml:mi><mml:mrow><mml:mo>&#x230A;</mml:mo><mml:mfrac><mml:mi>r</mml:mi><mml:mn>2</mml:mn></mml:mfrac><mml:mo>&#x230B;</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mtable rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>d</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>d</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>m</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mtd></mml:mtr></mml:mtable><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mtable rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>r</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>d</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>d</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>m</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mtd></mml:mtr></mml:mtable><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mtable columnalign="left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>d</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>&#x2113;</mml:mi></mml:mtd></mml:mtr></mml:mtable><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mtable rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>r</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>d</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>t</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>&#x2113;</mml:mi></mml:mtd></mml:mtr></mml:mtable><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>d</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>m</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mtable columnalign="left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>r</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>d</mml:mi></mml:mtd></mml:mtr></mml:mtable><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mtable columnalign="left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>r</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>t</mml:mi></mml:mtd></mml:mtr></mml:mtable><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mfrac></mml:math></disp-formula></p>
<p>To facilitate the analysis, the overall complexity of the scheme can be calculated according to the above formula, and the data are shown in <xref ref-type="table" rid="table-5">Table 5</xref>.</p>
<table-wrap id="table-5">
<label>Table 5</label>
<caption>
<title>Density analysis</title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th colspan="2"><inline-formula id="ieqn-177"><mml:math id="mml-ieqn-177"><mml:msub><mml:mrow><mml:mi mathvariant="bold">log</mml:mi></mml:mrow><mml:mrow><mml:mn mathvariant="bold">2</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mrow><mml:mi>&#x03B7;</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula></th>
<th colspan="6"><inline-formula id="ieqn-178"><mml:math id="mml-ieqn-178"><mml:mi mathvariant="bold-italic">&#x2113;</mml:mi></mml:math></inline-formula></th>
</tr>
<tr>
<th colspan="2"></th>
<th>0</th>
<th>5</th>
<th>10</th>
<th>15</th>
<th>20</th>
<th>25</th>
</tr>
</thead>
<tbody>
<tr>
<td><inline-formula id="ieqn-179"><mml:math id="mml-ieqn-179"><mml:mi>m</mml:mi></mml:math></inline-formula></td>
<td>5</td>
<td><bold>&#x2212;10.22</bold></td>
<td>&#x2212;16.87</td>
<td>&#x2212;28.64</td>
<td>&#x2212;50.87</td>
<td>&#x2212;76.41</td>
<td>&#x2212;122.97</td>
</tr>
<tr>
<td></td>
<td>10</td>
<td><bold>&#x2212;48.16</bold></td>
<td>&#x2212;51.74</td>
<td>&#x2212;62.16</td>
<td>&#x2212;73.74</td>
<td>&#x2212;99.28</td>
<td>&#x2212;145.84</td>
</tr>
<tr>
<td></td>
<td>15</td>
<td><bold>&#x2212;86.69</bold></td>
<td>&#x2212;90.37</td>
<td>&#x2212;96.14</td>
<td>&#x2212;101.37</td>
<td>&#x2212;126.91</td>
<td>&#x2212;173.47</td>
</tr>
<tr>
<td></td>
<td>20</td>
<td><bold>&#x2212;125.86</bold></td>
<td>&#x2212;131.66</td>
<td>&#x2212;141.43</td>
<td>&#x2212;152.66</td>
<td>&#x2212;158.20</td>
<td>&#x2212;204.76</td>
</tr>
<tr>
<td></td>
<td>25</td>
<td><bold>&#x2212;165.72</bold></td>
<td>&#x2212;170.15</td>
<td>&#x2212;175.92</td>
<td>&#x2212;181.15</td>
<td>&#x2212;192.69</td>
<td>&#x2212;239.25</td>
</tr>
<tr>
<td></td>
<td>30</td>
<td><bold>&#x2212;206.55</bold></td>
<td>&#x2212;215.64</td>
<td>&#x2212;237.41</td>
<td>&#x2212;250.64</td>
<td>&#x2212;262.18</td>
<td>&#x2212;276.74</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Without considering the error pattern parameter <inline-formula id="ieqn-173"><mml:math id="mml-ieqn-173"><mml:mi>&#x2113;</mml:mi></mml:math></inline-formula>, the density gradually decreases as the multiplicity <inline-formula id="ieqn-174"><mml:math id="mml-ieqn-174"><mml:mi>m</mml:mi></mml:math></inline-formula> increases. This is because the structure of high-multiplicity keys is more complex, making it more difficult to find keys with the same multiplicity. Similarly, without considering the multiplicity <inline-formula id="ieqn-175"><mml:math id="mml-ieqn-175"><mml:mi>m</mml:mi></mml:math></inline-formula>, the density gradually decreases as the parameter <inline-formula id="ieqn-176"><mml:math id="mml-ieqn-176"><mml:mi>&#x2113;</mml:mi></mml:math></inline-formula> increases. This indicates that the higher the overlap between the error vector and the key, the more difficult it is to find such an error vector.</p>
<p>When both the key multiplicity <inline-formula id="ieqn-180"><mml:math id="mml-ieqn-180"><mml:mi>m</mml:mi></mml:math></inline-formula> and the error pattern parameter <inline-formula id="ieqn-181"><mml:math id="mml-ieqn-181"><mml:mi>&#x2113;</mml:mi></mml:math></inline-formula> are considered simultaneously, the density is smaller than when only a single factor is considered. This is because meeting the conditions for both factors is more stringent. For example, when <inline-formula id="ieqn-182"><mml:math id="mml-ieqn-182"><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mn>30</mml:mn></mml:math></inline-formula> and <inline-formula id="ieqn-183"><mml:math id="mml-ieqn-183"><mml:mi>&#x2113;</mml:mi><mml:mo>=</mml:mo><mml:mn>25</mml:mn></mml:math></inline-formula>, there are fewer keys that meet the requirements, and their density in the <xref ref-type="table" rid="table-5">Table 5</xref> is necessarily the smallest. However, the higher the search complexity, the more difficult it is for an attacker to find keys and error patterns that meet specific conditions.</p>

<p>To comprehensively analyze the variation of the upper bound of density under the influence of dual factors, a visualization of the density <inline-formula id="ieqn-184"><mml:math id="mml-ieqn-184"><mml:msub><mml:mi>&#x03B7;</mml:mi><mml:mrow><mml:mi>D</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> as a function of <inline-formula id="ieqn-185"><mml:math id="mml-ieqn-185"><mml:mi>m</mml:mi></mml:math></inline-formula> and <inline-formula id="ieqn-186"><mml:math id="mml-ieqn-186"><mml:mi>&#x2113;</mml:mi></mml:math></inline-formula> was plotted based on formula 20. From the <xref ref-type="fig" rid="fig-3">Fig. 3</xref>, it can be observed that high-density regions (such as the yellow areas) correspond to lower search complexity, indicating that attackers can more easily find weak keys or error patterns. Conversely, low-density regions (such as the deep purple areas) correspond to higher search complexity, meaning that attackers find it difficult to locate keys and error patterns that meet the specified conditions. Therefore, searching for keys and error vectors that satisfy both conditions simultaneously is extremely challenging, with a very low numerical density, as seen in the low-density deep purple regions, where the magnitude can be as low as <inline-formula id="ieqn-187"><mml:math id="mml-ieqn-187"><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>276.74</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>. Compared to the total number of weak keys, this is negligible. However, more attention should be paid to the yellow regions at the front, where the density is extremely high. The average DFR in these regions may not meet security standards, and this part is highly likely to enhance the effectiveness of attacks. For an in-depth analysis to evaluate the IND-CCA security of the BIKE scheme in the presence of weak keys, after evaluating the overall density of the weak keys, it is also necessary to compute the value of <inline-formula id="ieqn-188"><mml:math id="mml-ieqn-188"><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> (the product of the density and the DFR), which must satisfy the following inequality [<xref ref-type="bibr" rid="ref-27">27</xref>].
<disp-formula id="eqn-20"><label>(20)</label><mml:math id="mml-eqn-20" display="block"><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>&#x03B7;</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>&#x22C5;</mml:mo><mml:msub><mml:mrow><mml:mrow><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">F</mml:mi><mml:mi mathvariant="normal">R</mml:mi></mml:mrow></mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mi>&#x0210B;</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>&gt;</mml:mo><mml:msup><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mi>&#x03BB;</mml:mi></mml:mrow></mml:msup></mml:math></disp-formula></p>
<fig id="fig-3">
<label>Figure 3</label>
<caption>
<title>Bivariate density analysis plot</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_65296-fig-3.tif"/>
</fig>
<p>To explore the specific negative impact of the key on the security of the scheme, it is necessary to quantify the test results. <xref ref-type="table" rid="table-6">Table 6</xref> shows the quantized values of <inline-formula id="ieqn-189"><mml:math id="mml-ieqn-189"><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> the product of <inline-formula id="ieqn-190"><mml:math id="mml-ieqn-190"><mml:msub><mml:mrow><mml:mi>&#x03B7;</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> and the DFR in <xref ref-type="table" rid="table-4">Tables 4</xref> and <xref ref-type="table" rid="table-5">5</xref>, which calculates the overall security of the scheme with the changes of the parameters variables and the values denoted by <inline-formula id="ieqn-191"><mml:math id="mml-ieqn-191"><mml:msub><mml:mrow><mml:mi>log</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula>.</p>
<table-wrap id="table-6">
<label>Table 6</label>
<caption>
<title>Overall security</title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th colspan="2"><inline-formula id="ieqn-204"><mml:math id="mml-ieqn-204"><mml:msub><mml:mrow><mml:mi mathvariant="bold">log</mml:mi></mml:mrow><mml:mrow><mml:mn mathvariant="bold">2</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">P</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mi mathvariant="bold-script">D</mml:mi></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula></th>
<th colspan="6"><inline-formula id="ieqn-205"><mml:math id="mml-ieqn-205"><mml:mi mathvariant="bold-italic">&#x2113;</mml:mi></mml:math></inline-formula></th>
</tr>
<tr>
<th colspan="2"></th>
<th>0</th>
<th>5</th>
<th>10</th>
<th>15</th>
<th>20</th>
<th>25</th>
</tr>
</thead>
<tbody>
<tr>
<td><inline-formula id="ieqn-206"><mml:math id="mml-ieqn-206"><mml:mi>m</mml:mi></mml:math></inline-formula></td>
<td>5</td>
<td><bold>&#x2212;107.05</bold></td>
<td>&#x2212;104.13</td>
<td>&#x2212;103.83</td>
<td>&#x2212;106.48</td>
<td>&#x2212;121.85</td>
<td>&#x2212;146.93</td>
</tr>
<tr>
<td></td>
<td>10</td>
<td><bold>&#x2212;141.61</bold></td>
<td>&#x2212;133.93</td>
<td>&#x2212;127.43</td>
<td>&#x2212;124.69</td>
<td>&#x2212;142.21</td>
<td>&#x2212;166.15</td>
</tr>
<tr>
<td></td>
<td>15</td>
<td><bold>&#x2212;167.06</bold></td>
<td>&#x2212;155.69</td>
<td>&#x2212;142.45</td>
<td>&#x2212;144.51</td>
<td>&#x2212;163.58</td>
<td>&#x2212;185.12</td>
</tr>
<tr>
<td></td>
<td>20</td>
<td><bold>&#x2212;198.48</bold></td>
<td>&#x2212;193.03</td>
<td>&#x2212;184.64</td>
<td>&#x2212;188.89</td>
<td>&#x2212;180.54</td>
<td>&#x2212;213.08</td>
</tr>
<tr>
<td></td>
<td>25</td>
<td><bold>&#x2212;225.91</bold></td>
<td>&#x2212;215.46</td>
<td>&#x2212;201.25</td>
<td>&#x2212;204.44</td>
<td>&#x2212;206.00</td>
<td>&#x2212;245.91</td>
</tr>
<tr>
<td></td>
<td>30</td>
<td><bold>&#x2212;226.18</bold></td>
<td>&#x2212;242.63</td>
<td>&#x2212;253.02</td>
<td>&#x2212;217.00</td>
<td>&#x2212;271.67</td>
<td>&#x2212;280.97</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>In <xref ref-type="table" rid="table-6">Table 6</xref>, the value of <inline-formula id="ieqn-192"><mml:math id="mml-ieqn-192"><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> reflects the effectiveness of the attacker&#x2019;s. The lower the <inline-formula id="ieqn-193"><mml:math id="mml-ieqn-193"><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> value, the worse the attacker&#x2019;s effectiveness. For example, <inline-formula id="ieqn-194"><mml:math id="mml-ieqn-194"><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mn>30</mml:mn></mml:mrow></mml:math></inline-formula> and <inline-formula id="ieqn-195"><mml:math id="mml-ieqn-195"><mml:mi>&#x2113;</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mn>25</mml:mn></mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mrow><mml:mn>280.97</mml:mn></mml:mrow></mml:mrow></mml:msup></mml:math></inline-formula>, which means that the attacker can hardly find a key and error pattern that meet the conditions in this case. However, the higher the <inline-formula id="ieqn-196"><mml:math id="mml-ieqn-196"><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> value, the better the attack effectiveness. For instance, when <inline-formula id="ieqn-197"><mml:math id="mml-ieqn-197"><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mn>5</mml:mn></mml:math></inline-formula> and <inline-formula id="ieqn-198"><mml:math id="mml-ieqn-198"><mml:mi>&#x2113;</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mn>10</mml:mn></mml:mrow></mml:math></inline-formula>, the <inline-formula id="ieqn-199"><mml:math id="mml-ieqn-199"><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> value can reach up to <inline-formula id="ieqn-200"><mml:math id="mml-ieqn-200"><mml:msup><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mrow><mml:mn>103.83</mml:mn></mml:mrow></mml:mrow></mml:msup></mml:math></inline-formula>, which is higher than <inline-formula id="ieqn-201"><mml:math id="mml-ieqn-201"><mml:msup><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mrow><mml:mn>107.05</mml:mn></mml:mrow></mml:mrow></mml:msup></mml:math></inline-formula>, when <inline-formula id="ieqn-202"><mml:math id="mml-ieqn-202"><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mn>5</mml:mn></mml:math></inline-formula> and <inline-formula id="ieqn-203"><mml:math id="mml-ieqn-203"><mml:mi>&#x2113;</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:math></inline-formula>, improving the attack effectiveness by three percentage points.</p>

<p>To more intuitively demonstrate the improvement in attack effectiveness, <xref ref-type="fig" rid="fig-4">Fig. 4</xref> illustrates the enhancement within the region <inline-formula id="ieqn-207"><mml:math id="mml-ieqn-207"><mml:mn>5</mml:mn><mml:mo>&#x2264;</mml:mo><mml:mi>m</mml:mi><mml:mo>&#x2264;</mml:mo><mml:mn>25</mml:mn></mml:math></inline-formula>, <inline-formula id="ieqn-208"><mml:math id="mml-ieqn-208"><mml:mn>0</mml:mn><mml:mo>&#x003C;</mml:mo><mml:mi>&#x2113;</mml:mi><mml:mo>&#x2264;</mml:mo><mml:mrow><mml:mn>10</mml:mn></mml:mrow></mml:math></inline-formula> (hereinafter referred to as the effective region). In the effective region, for each <inline-formula id="ieqn-209"><mml:math id="mml-ieqn-209"><mml:mi>m</mml:mi></mml:math></inline-formula> value, the three bar graphs from bottom to top represent <inline-formula id="ieqn-210"><mml:math id="mml-ieqn-210"><mml:mi>&#x2113;</mml:mi></mml:math></inline-formula> values of 0, 5, and 10, respectively. By comparing the original data marked on the white background, it can be observed that the attack effectiveness is improved by an average of 5 to 6 percentage points, especially when <inline-formula id="ieqn-211"><mml:math id="mml-ieqn-211"><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mn>15</mml:mn></mml:math></inline-formula> and <inline-formula id="ieqn-212"><mml:math id="mml-ieqn-212"><mml:mi>&#x2113;</mml:mi><mml:mo>=</mml:mo><mml:mn>15</mml:mn></mml:math></inline-formula>, where the maximum improvement can reach 14.7 percentage points.</p>
<fig id="fig-4">
<label>Figure 4</label>
<caption>
<title>Effectiveness of scheme upgrading</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_65296-fig-4.tif"/>
</fig>
<p>Additionally, when <inline-formula id="ieqn-213"><mml:math id="mml-ieqn-213"><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mn>10</mml:mn></mml:mrow></mml:math></inline-formula>, by selecting an appropriate <inline-formula id="ieqn-214"><mml:math id="mml-ieqn-214"><mml:mi>&#x2113;</mml:mi></mml:math></inline-formula> parameter (<inline-formula id="ieqn-215"><mml:math id="mml-ieqn-215"><mml:mi>&#x2113;</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mn>10</mml:mn></mml:mrow></mml:math></inline-formula>), the <inline-formula id="ieqn-216"><mml:math id="mml-ieqn-216"><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> value can be increased to <inline-formula id="ieqn-217"><mml:math id="mml-ieqn-217"><mml:msup><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mrow><mml:mn>127.43</mml:mn></mml:mrow></mml:mrow></mml:msup></mml:math></inline-formula>, which fails to meet the minimum NIST security standard of 128-bit. This indicates that attackers can effectively enhance their attack effectiveness by the <inline-formula id="ieqn-218"><mml:math id="mml-ieqn-218"><mml:mi>&#x2113;</mml:mi></mml:math></inline-formula> parameter within the effective region. The bar graphs in <xref ref-type="fig" rid="fig-4">Fig. 4</xref> show the improvement in attack effectiveness under different combinations of <inline-formula id="ieqn-219"><mml:math id="mml-ieqn-219"><mml:mi>m</mml:mi></mml:math></inline-formula> and <inline-formula id="ieqn-220"><mml:math id="mml-ieqn-220"><mml:mi>&#x2113;</mml:mi></mml:math></inline-formula>, providing a more comprehensive understanding of the impact of key multiplicity and error vector parameters on the security of the BIKE scheme. This optimized attack scheme significantly enhances the effectiveness of the attack. By selecting appropriate parameters <inline-formula id="ieqn-221"><mml:math id="mml-ieqn-221"><mml:mi>m</mml:mi></mml:math></inline-formula> and <inline-formula id="ieqn-222"><mml:math id="mml-ieqn-222"><mml:mi>&#x2113;</mml:mi></mml:math></inline-formula>, the attack scheme achieves notable improvements within the effective region, with an average enhancement of 5 to 6 percentage points and a maximum improvement of up to 14.7 percentage points. The optimized scheme brings keys that originally met security standards close to or slightly below the NIST security threshold (for example, when <inline-formula id="ieqn-223"><mml:math id="mml-ieqn-223"><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mn>10</mml:mn></mml:math></inline-formula> and <inline-formula id="ieqn-224"><mml:math id="mml-ieqn-224"><mml:mi>&#x2113;</mml:mi><mml:mo>=</mml:mo><mml:mn>10</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mi>&#x1D49F;</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>127.43</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>). The best attack effectiveness can reach <inline-formula id="ieqn-225"><mml:math id="mml-ieqn-225"><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>103.83</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>, significantly increasing the efficiency of the attack and posing a potential threat to the existing BIKE algorithm.</p>

</sec>
<sec id="s4_6">
<label>4.6</label>
<title>Comparative Analysis</title>
<p>Wang et al. [<xref ref-type="bibr" rid="ref-8">8</xref>] re-evaluated the DFR of the QC-MDPC code-based scheme by introducing a new concept called the &#x201C;gathering property&#x201D;. The aggregation property is defined as follows: <inline-formula id="ieqn-226"><mml:math id="mml-ieqn-226"><mml:mtext>For</mml:mtext><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2208;</mml:mo><mml:msup><mml:mrow><mml:mrow><mml:mi mathvariant="normal">R</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo>,</mml:mo><mml:mrow><mml:mi mathvariant="normal">R</mml:mi></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:mi>X</mml:mi><mml:mo>]</mml:mo></mml:mrow><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mrow><mml:mi>r</mml:mi></mml:mrow></mml:msup><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, if there exists a consecutive sequence of <inline-formula id="ieqn-227"><mml:math id="mml-ieqn-227"><mml:mi>m</mml:mi></mml:math></inline-formula> positions in <inline-formula id="ieqn-228"><mml:math id="mml-ieqn-228"><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula> containing at least <inline-formula id="ieqn-229"><mml:math id="mml-ieqn-229"><mml:msub><mml:mrow><mml:mi>&#x03C9;</mml:mi></mml:mrow><mml:mrow><mml:mi>H</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mo>&#x003F5;</mml:mo></mml:math></inline-formula> instances of the element 1, then it is said to satisfy the gathering property. Research has shown a strong correlation between the gathering property and the DFR of QC-MDPC codes. Experimental results indicate that when both the key and the error satisfy the gathering property, the DFR is significantly higher than the average level. Based on the gathering property, the following important theoretical results regarding the DFR of the QC-MDPC scheme were derived.
<disp-formula id="eqn-21"><label>(21)</label><mml:math id="mml-eqn-21" display="block"><mml:msub><mml:mrow><mml:mrow><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">F</mml:mi><mml:mi mathvariant="normal">R</mml:mi></mml:mrow></mml:mrow></mml:mrow><mml:mrow><mml:mi>a</mml:mi><mml:mi>v</mml:mi><mml:mi>g</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2265;</mml:mo><mml:msup><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mrow><mml:mn>116.61</mml:mn></mml:mrow></mml:mrow></mml:msup></mml:math></disp-formula></p>
<p>Reference [<xref ref-type="bibr" rid="ref-26">26</xref>] proposed a weak-key model construction method based on the multiplicity analysis of a single-variable distance spectrum (detailed analysis is provided in <xref ref-type="sec" rid="s4">Section 3.1</xref>). The weak-key model structure is defined as <inline-formula id="ieqn-230"><mml:math id="mml-ieqn-230"><mml:mi>h</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, where each <inline-formula id="ieqn-231"><mml:math id="mml-ieqn-231"><mml:msub><mml:mrow><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is generated via a mapping function <inline-formula id="ieqn-232"><mml:math id="mml-ieqn-232"><mml:msub><mml:mrow><mml:mi>&#x03D5;</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x03B4;</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>. The specific expression is:
<disp-formula id="eqn-22"><label>(22)</label><mml:math id="mml-eqn-22" display="block"><mml:msub><mml:mrow><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>&#x03D5;</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x03B4;</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msup><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mi>x</mml:mi><mml:mo>+</mml:mo><mml:msup><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo>+</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>+</mml:mo><mml:msup><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:msubsup><mml:mrow><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">&#x2032;</mml:mi></mml:mrow></mml:msubsup></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:mtext>&#x00A0;</mml:mtext><mml:mi>i</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mo fence="false" stretchy="false">{</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo fence="false" stretchy="false">}</mml:mo></mml:math></disp-formula></p>
<p>In this model, <inline-formula id="ieqn-233"><mml:math id="mml-ieqn-233"><mml:mi>&#x03B4;</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mo fence="false" stretchy="false">{</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mn>3</mml:mn><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mi>r</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo fence="false" stretchy="false">}</mml:mo></mml:math></inline-formula> represents the distance between non-zero bits in the weak key, while the parameter <inline-formula id="ieqn-234"><mml:math id="mml-ieqn-234"><mml:mi>l</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mo fence="false" stretchy="false">{</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:mi>r</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn><mml:mo fence="false" stretchy="false">}</mml:mo></mml:math></inline-formula> determines the starting position of the non-zero pattern. The mapping function <inline-formula id="ieqn-235"><mml:math id="mml-ieqn-235"><mml:msub><mml:mrow><mml:mi>&#x03D5;</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x03B4;</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> operates by replacing the variable <inline-formula id="ieqn-236"><mml:math id="mml-ieqn-236"><mml:mi>x</mml:mi></mml:math></inline-formula> with <inline-formula id="ieqn-237"><mml:math id="mml-ieqn-237"><mml:msup><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x03B4;</mml:mi></mml:mrow></mml:msup></mml:math></inline-formula>, ensuring that the distance between any two consecutive non-zero bits in the polynomial <inline-formula id="ieqn-238"><mml:math id="mml-ieqn-238"><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mi>x</mml:mi><mml:mo>+</mml:mo><mml:msup><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo>+</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>+</mml:mo><mml:msup><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> remains constant at <inline-formula id="ieqn-239"><mml:math id="mml-ieqn-239"><mml:mi>&#x03B4;</mml:mi></mml:math></inline-formula>. The study further analyzed the impact of this weak-key model on the security of the BIKE scheme. For the BIKE scheme with parameters <inline-formula id="ieqn-240"><mml:math id="mml-ieqn-240"><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>r</mml:mi><mml:mo>,</mml:mo><mml:mi>&#x03C9;</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mrow><mml:mn>12323</mml:mn></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mn>142</mml:mn></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mn>134</mml:mn></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> and <inline-formula id="ieqn-241"><mml:math id="mml-ieqn-241"><mml:mi>&#x03BB;</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mn>128</mml:mn></mml:mrow></mml:math></inline-formula>, the authors experimentally evaluated the performance of weak keys under IND-CCA. The relevant data is presented in <xref ref-type="table" rid="table-7">Table 7</xref>.</p>
<table-wrap id="table-7">
<label>Table 7</label>
<caption>
<title>Average Decoding Failure Rate (DFR) Table for the Distance Spectrum Attack Scheme</title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th><inline-formula id="ieqn-242"><mml:math id="mml-ieqn-242"><mml:mi mathvariant="bold-italic">f</mml:mi></mml:math></inline-formula></th>
<th><inline-formula id="ieqn-243"><mml:math id="mml-ieqn-243"><mml:msub><mml:mrow><mml:mi mathvariant="bold">log</mml:mi></mml:mrow><mml:mrow><mml:mn mathvariant="bold">2</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">D</mml:mi><mml:mi mathvariant="bold-italic">F</mml:mi><mml:mi mathvariant="bold-italic">R</mml:mi></mml:mrow></mml:math></inline-formula></th>
<th><inline-formula id="ieqn-244"><mml:math id="mml-ieqn-244"><mml:msub><mml:mrow><mml:mi mathvariant="bold">log</mml:mi></mml:mrow><mml:mrow><mml:mn mathvariant="bold">2</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">&#x03B7;</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mi mathvariant="bold-script">D</mml:mi></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula></th>
<th><inline-formula id="ieqn-245"><mml:math id="mml-ieqn-245"><mml:mrow><mml:mi mathvariant="bold-italic">D</mml:mi><mml:mi mathvariant="bold-italic">F</mml:mi><mml:mi mathvariant="bold-italic">R</mml:mi></mml:mrow><mml:mo>&#x22C5;</mml:mo><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">&#x03B7;</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mi mathvariant="bold-script">D</mml:mi></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula></th>
</tr>
</thead>
<tbody>
<tr>
<td>5</td>
<td>&#x2212;96.83</td>
<td>&#x2212;10.22</td>
<td><inline-formula id="ieqn-246"><mml:math id="mml-ieqn-246"><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>107.05</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></td>
</tr>
<tr>
<td>10</td>
<td>&#x2212;93.45</td>
<td>&#x2212;48.16</td>
<td><inline-formula id="ieqn-247"><mml:math id="mml-ieqn-247"><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>141.61</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></td>
</tr>
<tr>
<td>15</td>
<td>&#x2212;80.36</td>
<td>&#x2212;86.69</td>
<td><inline-formula id="ieqn-248"><mml:math id="mml-ieqn-248"><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>167.06</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></td>
</tr>
<tr>
<td>20</td>
<td>&#x2212;72.62</td>
<td>&#x2212;125.86</td>
<td><inline-formula id="ieqn-249"><mml:math id="mml-ieqn-249"><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>198.48</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></td>
</tr>
<tr>
<td>25</td>
<td>&#x2212;60.19</td>
<td>&#x2212;165.72</td>
<td><inline-formula id="ieqn-250"><mml:math id="mml-ieqn-250"><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>225.91</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></td>
</tr>
<tr>
<td>30</td>
<td>&#x2212;41.63</td>
<td>&#x2212;194.55</td>
<td><inline-formula id="ieqn-251"><mml:math id="mml-ieqn-251"><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>236.18</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Compared to the aggregation degree scheme proposed by Wang et al. and the distance spectrum scheme in Reference [<xref ref-type="bibr" rid="ref-8">8</xref>], our proposed scheme demonstrates superior attack performance. In Wang et al.&#x2019;s scheme, the lower bound of the average DFR is <inline-formula id="ieqn-252"><mml:math id="mml-ieqn-252"><mml:msub><mml:mrow><mml:mrow><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">F</mml:mi><mml:mi mathvariant="normal">R</mml:mi></mml:mrow></mml:mrow></mml:mrow><mml:mrow><mml:mi>a</mml:mi><mml:mi>v</mml:mi><mml:mi>g</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2265;</mml:mo><mml:msup><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mrow><mml:mn>116.61</mml:mn></mml:mrow></mml:mrow></mml:msup></mml:math></inline-formula>, while in Reference [<xref ref-type="bibr" rid="ref-23">23</xref>], the lower bound is <inline-formula id="ieqn-253"><mml:math id="mml-ieqn-253"><mml:msup><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mrow><mml:mn>107.05</mml:mn></mml:mrow></mml:mrow></mml:msup></mml:math></inline-formula>. By optimizing the attack strategy, our scheme successfully increases the average DFR to <inline-formula id="ieqn-254"><mml:math id="mml-ieqn-254"><mml:msub><mml:mrow><mml:mrow><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi mathvariant="normal">F</mml:mi><mml:mi mathvariant="normal">R</mml:mi></mml:mrow></mml:mrow></mml:mrow><mml:mrow><mml:mtext>avg</mml:mtext></mml:mrow></mml:msub><mml:mo>&#x2265;</mml:mo><mml:msup><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mrow><mml:mn>103.83</mml:mn></mml:mrow></mml:mrow></mml:msup></mml:math></inline-formula>. This improvement means attackers can trigger decoding failures with higher probability, thereby more easily extracting key-related information. A comparative analysis of the schemes is presented in <xref ref-type="table" rid="table-8">Table 8</xref>.</p>
<table-wrap id="table-8">
<label>Table 8</label>
<caption>
<title>Comparative analysis</title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th></th>
<th><inline-formula id="ieqn-255"><mml:math id="mml-ieqn-255"><mml:msub><mml:mrow><mml:mi mathvariant="bold">log</mml:mi></mml:mrow><mml:mrow><mml:mn mathvariant="bold">2</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">D</mml:mi><mml:mi mathvariant="bold-italic">F</mml:mi><mml:mi mathvariant="bold-italic">R</mml:mi></mml:mrow></mml:math></inline-formula></th>
<th><inline-formula id="ieqn-256"><mml:math id="mml-ieqn-256"><mml:msub><mml:mrow><mml:mi mathvariant="bold">log</mml:mi></mml:mrow><mml:mrow><mml:mn mathvariant="bold">2</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">&#x03B7;</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mi mathvariant="bold-script">D</mml:mi></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula></th>
<th><inline-formula id="ieqn-257"><mml:math id="mml-ieqn-257"><mml:msub><mml:mrow><mml:mi mathvariant="bold">log</mml:mi></mml:mrow><mml:mrow><mml:mn mathvariant="bold">2</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi mathvariant="bold-italic">P</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mi mathvariant="bold-script">D</mml:mi></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula></th>
</tr>
</thead>
<tbody>
<tr>
<td>Optimized scheme</td>
<td><inline-formula id="ieqn-258"><mml:math id="mml-ieqn-258"><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>75.19</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></td>
<td><inline-formula id="ieqn-259"><mml:math id="mml-ieqn-259"><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>28.64</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></td>
<td><inline-formula id="ieqn-260"><mml:math id="mml-ieqn-260"><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>103.83</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></td>
</tr>
<tr>
<td>Reference [<xref ref-type="bibr" rid="ref-8">8</xref>]</td>
<td><inline-formula id="ieqn-261"><mml:math id="mml-ieqn-261"><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>87.28</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></td>
<td><inline-formula id="ieqn-262"><mml:math id="mml-ieqn-262"><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>29.33</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></td>
<td><inline-formula id="ieqn-263"><mml:math id="mml-ieqn-263"><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>116.61</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></td>
</tr>
<tr>
<td>Reference [<xref ref-type="bibr" rid="ref-23">23</xref>]</td>
<td><inline-formula id="ieqn-264"><mml:math id="mml-ieqn-264"><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>96.83</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></td>
<td><inline-formula id="ieqn-265"><mml:math id="mml-ieqn-265"><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>10.22</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></td>
<td><inline-formula id="ieqn-266"><mml:math id="mml-ieqn-266"><mml:msup><mml:mn>2</mml:mn><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>107.05</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></td>
</tr>
</tbody>
</table>
</table-wrap>
<p>The key innovation of our scheme lies in its ability to increase the decoding failure probability without introducing additional search density. This characteristic allows attackers to significantly enhance the success rate of key recovery while maintaining low computational resource consumption. Specifically, by refining the attack model and algorithms, our scheme enables attackers to more efficiently leverage decoding failure information for key recovery under the same computational complexity.</p>
</sec>
<sec id="s4_7">
<label>4.7</label>
<title>Weak-Key Detection</title>
<p>The general methods for dealing with weak keys primarily include three dimensions: static analysis, dynamic testing, and algorithm-specific detection. In terms of static analysis, the evaluation mainly relies on the following technical approaches: key space size analysis, repetition and predictable pattern recognition, known weak key dictionary comparison, and information entropy calculation. Dynamic testing employs practical attack validation techniques, including brute-force attempts, differential analysis, and linear analysis, to empirically assess the key&#x2019;s resistance to attacks.</p>
<p>For algorithm-specific detection, the sample autocorrelation function test stands out due to its exceptional capability in detecting key periodicity. The principle of this method involves calculating the autocorrelation coefficient between the initial sequence and its left-shifted sequence by k positions, thereby quantifying the degree of internal correlation within the sequence. In practical implementation, by analyzing the distribution of autocorrelation coefficients at different lag orders, a significant peak at a specific lag order indicates the presence of correlation at that period. This method not only effectively identifies internal sequence variation characteristics but also accurately detects periodic properties of the sequence, making it particularly suitable for weak key periodicity detection based on distance spectrum analysis.</p>
<p>In summary, by integrating the technical approaches of static analysis, dynamic testing, and algorithm-specific detection, a comprehensive weak key detection system can be constructed. Among these, the autocorrelation function test, as a critical method in algorithm-specific detection, provides effective technical support for the periodic analysis of weak keys.</p>
</sec>
</sec>
<sec id="s5">
<label>5</label>
<title>Conclusion</title>
<p>This study delves into the BGF decoding algorithm of the BIKE scheme and addressing its potential weak key issue, proposes an innovative optimized attack strategy. Through experiments, the specific impact of weak keys on the BGF decoder&#x2019;s DFR is assessed. The analysis indicates that these weak keys pose a potential threat to the IND-CCA security of the BIKE scheme. Therefore, before claiming the IND-CCA security of the BIKE scheme, the security issues caused by weak keys must be addressed. In the future, this research will be extended to algorithms with higher security levels to further validate its universality and effectiveness. This study not only provides new insights into the security of the BIKE scheme but also offers a reference for the future security evaluation of post-quantum cryptography.</p>
</sec>
</body>
<back>
<ack>
<p>Not applicable.</p>
</ack>
<sec>
<title>Funding Statement</title>
<p>This research was funded by Beijing Institute of Electronic Science and Technology Postgraduate Excellence Demonstration Course Project (20230002Z0452).</p>
</sec>
<sec>
<title>Author Contributions</title>
<p>The authors confirm contribution to the paper as follows: Conceptualization, Bing Liu; methodology, Bing Liu; software, Ting Nie; validation, Yansong Liu; formal analysis, Yansong Liu; investigation, Weibo Hu; resources, Ting Nie; data curation, Yansong Liu; writing&#x2014;original draft preparation, Ting Nie; writing&#x2014;review and editing, Bing Liu; visualization, Ting Nie; supervision, Bing Liu; project administration, Ting Nie; funding acquisition, Bing Liu. All authors reviewed the results and approved the final version of the manuscript.</p>
</sec>
<sec sec-type="data-availability">
<title>Availability of Data and Materials</title>
<p>The data that support the findings of this study are available from the corresponding author, Bing Liu, upon reasonable request.</p>
</sec>
<sec>
<title>Ethics Approval</title>
<p>Not applicable.</p>
</sec>
<sec sec-type="COI-statement">
<title>Conflicts of Interest</title>
<p>The authors declare no conflicts of interest to report regarding the present study.</p>
</sec>
<ref-list content-type="authoryear">
<title>References</title>
<ref id="ref-1"><label>[1]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Li</surname> <given-names>S</given-names></string-name>, <string-name><surname>Chen</surname> <given-names>Y</given-names></string-name>, <string-name><surname>Chen</surname> <given-names>L</given-names></string-name>, <string-name><surname>Liao</surname> <given-names>J</given-names></string-name>, <string-name><surname>Kuang</surname> <given-names>C</given-names></string-name>, <string-name><surname>Li</surname> <given-names>K</given-names></string-name>, <etal>et al</etal></person-group>. <article-title>Post-quantum security: opportunities and challenges</article-title>. <source>Sensors</source>. <year>2023</year>;<volume>23</volume>(<issue>21</issue>):<fpage>8744</fpage>. doi:<pub-id pub-id-type="doi">10.3390/s23218744</pub-id>; <pub-id pub-id-type="pmid">37960442</pub-id></mixed-citation></ref>
<ref id="ref-2"><label>[2]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Shor</surname> <given-names>PW</given-names></string-name></person-group>. <article-title>Algorithms for quantum computation: discrete logarithms and factoring</article-title>. In: <conf-name>Proceedings 35th Annual Symposium on Foundations of Computer Science</conf-name>. <publisher-loc>Santa Fe, NM, USA</publisher-loc>: <publisher-name>IEEE; 1994</publisher-name>. p. <fpage>124</fpage>&#x2013;<lpage>34</lpage>.</mixed-citation></ref>
<ref id="ref-3"><label>[3]</label><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Alagic</surname> <given-names>G</given-names></string-name>, <string-name><surname>Alagic</surname> <given-names>G</given-names></string-name>, <string-name><surname>Apon</surname> <given-names>D</given-names></string-name>, <string-name><surname>Cooper</surname> <given-names>D</given-names></string-name>, <string-name><surname>Dang</surname> <given-names>Q</given-names></string-name>, <string-name><surname>Dang</surname> <given-names>T</given-names></string-name>, <etal>et al</etal></person-group>. <source>Status report on the third round of the NIST post-quantum cryptography standardization process</source>. <publisher-loc>Gaithersburg, MD, USA</publisher-loc>: <publisher-name>National Institute of Standards and Technology</publisher-name>; <year>2022</year>.</mixed-citation></ref>
<ref id="ref-4"><label>[4]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Sendrier</surname> <given-names>N</given-names></string-name></person-group>. <article-title>Code-based cryptography: state of the art and perspectives</article-title>. <source>IEEE Secur Priv</source>. <year>2017</year>;<volume>15</volume>(<issue>4</issue>):<fpage>44</fpage>&#x2013;<lpage>50</lpage>.</mixed-citation></ref>
<ref id="ref-5"><label>[5]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Drucker</surname> <given-names>N</given-names></string-name>, <string-name><surname>Gueron</surname> <given-names>S</given-names></string-name>, <string-name><surname>Kostic</surname> <given-names>D</given-names></string-name></person-group>. <article-title>QC-MDPC decoders with several shades of gray</article-title>. In: <conf-name>International Conference on Post-Quantum Cryptography</conf-name>. <publisher-loc>Cham</publisher-loc>: <publisher-name>Springer International Publishing; 2020</publisher-name>. p. <fpage>35</fpage>&#x2013;<lpage>50</lpage>.</mixed-citation></ref>
<ref id="ref-6"><label>[6]</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name><surname>Aragon</surname> <given-names>N</given-names></string-name>, <string-name><surname>Barreto</surname> <given-names>P</given-names></string-name>, <string-name><surname>Bettaieb</surname> <given-names>S</given-names></string-name>, <string-name><surname>Bidoux</surname> <given-names>L</given-names></string-name>, <string-name><surname>Blazy</surname> <given-names>O</given-names></string-name>, <string-name><surname>Deneuville</surname> <given-names>JC</given-names></string-name>, <etal>et al</etal></person-group>. <article-title>BIKE: bit flipping key encapsulation</article-title>; <year>2022</year> [cited 2025 Apr 15]. Available from: <ext-link ext-link-type="uri" xlink:href="https://bikesuite.org/files/v4.2/BIKE_Spec.2021.09.29.1.pdf">https://bikesuite.org/files/v4.2/BIKE_Spec.2021.09.29.1.pdf</ext-link>.</mixed-citation></ref>
<ref id="ref-7"><label>[7]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Guo</surname> <given-names>Q</given-names></string-name>, <string-name><surname>Johansson</surname> <given-names>T</given-names></string-name>, <string-name><surname>Stankovski</surname> <given-names>P</given-names></string-name></person-group>. <article-title>A key recovery attack on MDPC with CCA security using decoding errors</article-title>. In: <conf-name>Advances in Cryptology&#x2013;ASIACRYPT 2016: 22nd International Conference on the Theory and Application of Cryptology and Information Security; 2016 Dec 4&#x2013;8; Hanoi, Vietnam</conf-name>. <publisher-loc>Berlin/Heidelberg, Germany</publisher-loc>: <publisher-name>Springer; 2016</publisher-name>. p. <fpage>789</fpage>&#x2013;<lpage>815</lpage>.</mixed-citation></ref>
<ref id="ref-8"><label>[8]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Wang</surname> <given-names>T</given-names></string-name>, <string-name><surname>Wang</surname> <given-names>A</given-names></string-name>, <string-name><surname>Wang</surname> <given-names>X</given-names></string-name></person-group>. <article-title>Exploring decryption failures of BIKE: new class of weak keys and key recovery attacks</article-title>. In: <conf-name>Annual International Cryptology Conference</conf-name>. <publisher-loc>Cham</publisher-loc>: <publisher-name>Springer Nature Switzerland; 2023</publisher-name>. p. <fpage>70</fpage>&#x2013;<lpage>100</lpage>.</mixed-citation></ref>
<ref id="ref-9"><label>[9]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Eaton</surname> <given-names>E</given-names></string-name>, <string-name><surname>Lequesne</surname> <given-names>M</given-names></string-name>, <string-name><surname>Parent</surname> <given-names>A</given-names></string-name>, <string-name><surname>Sendrier</surname> <given-names>N</given-names></string-name></person-group>. <article-title>QC-MDPC: a timing attack and a CCA2 KEM</article-title>. In: <conf-name>International Conference on Post-Quantum Cryptography</conf-name>. <publisher-loc>Cham</publisher-loc>: <publisher-name>Springer International Publishing; 2018</publisher-name>. p. <fpage>47</fpage>&#x2013;<lpage>76</lpage>.</mixed-citation></ref>
<ref id="ref-10"><label>[10]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Guo</surname> <given-names>Q</given-names></string-name>, <string-name><surname>Johansson</surname> <given-names>T</given-names></string-name>, <string-name><surname>Wagner</surname> <given-names>PS</given-names></string-name></person-group>. <article-title>A key recovery reaction attack on QC-MDPC</article-title>. <source>IEEE Trans Inf Theory</source>. <year>2018</year>;<volume>65</volume>(<issue>3</issue>):<fpage>1845</fpage>&#x2013;<lpage>61</lpage>. doi:<pub-id pub-id-type="doi">10.1109/tit.2018.2877458</pub-id>.</mixed-citation></ref>
<ref id="ref-11"><label>[11]</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name><surname>Nilsson</surname> <given-names>A</given-names></string-name>, <string-name><surname>Johansson</surname> <given-names>T</given-names></string-name>, <string-name><surname>Wagner</surname> <given-names>PS</given-names></string-name></person-group>. <article-title>Error amplification in code-based cryptography. Cryptology ePrint Archive</article-title>; <year>2018</year>. doi:<pub-id pub-id-type="doi">10.13154/tches.v2019.i1.238-258</pub-id>.</mixed-citation></ref>
<ref id="ref-12"><label>[12]</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name><surname>Drucker</surname> <given-names>N</given-names></string-name>, <string-name><surname>Gueron</surname> <given-names>S</given-names></string-name>, <string-name><surname>Kostic</surname> <given-names>D</given-names></string-name></person-group>. <article-title>On constant-time QC-MDPC decoding with negligible failure rate. Cryptology ePrint Archive</article-title>; <year>2019</year> [cited 2025 Apr 15]. Available from: <ext-link ext-link-type="uri" xlink:href="https://eprint.iacr.org/2017/604">https://eprint.iacr.org/2017/604</ext-link>.</mixed-citation></ref>
<ref id="ref-13"><label>[13]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Niederreiter</surname> <given-names>H</given-names></string-name></person-group>. <article-title>Knapsack-type cryptosystems and algebraic coding theory</article-title>. <source>Prob Control Inform Theory</source>. <year>1986</year>;<volume>15</volume>(<issue>2</issue>):<fpage>157</fpage>&#x2013;<lpage>66</lpage>.</mixed-citation></ref>
<ref id="ref-14"><label>[14]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Fujisaki</surname> <given-names>E</given-names></string-name>, <string-name><surname>Okamoto</surname> <given-names>T</given-names></string-name></person-group>. <article-title>Secure integration of asymmetric and symmetric encryption schemes</article-title>. In: <conf-name>Annual International Cryptology Conference</conf-name>. <publisher-loc>Berlin/Heidelberg, Germany</publisher-loc>: <publisher-name>Springer Berlin Heidelberg; 1999</publisher-name>. p. <fpage>537</fpage>&#x2013;<lpage>54</lpage>.</mixed-citation></ref>
<ref id="ref-15"><label>[15]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Dent</surname> <given-names>AW</given-names></string-name></person-group>. <article-title>A designer&#x2019;s guide to KEMs</article-title>. In: <conf-name>IMA International Conference on Cryptography and Coding</conf-name>. <publisher-loc>Berlin/ Heidelberg, Germany</publisher-loc>: <publisher-name>Springer Berlin Heidelberg</publisher-name>; <year>2003</year>. p. <fpage>133</fpage>&#x2013;<lpage>51</lpage>.</mixed-citation></ref>
<ref id="ref-16"><label>[16]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Hofheinz</surname> <given-names>D</given-names></string-name>, <string-name><surname>H&#x00F6;velmanns</surname> <given-names>K</given-names></string-name>, <string-name><surname>Kiltz</surname> <given-names>E</given-names></string-name></person-group>. <article-title>A modular analysis of the Fujisaki-Okamoto transformation</article-title>. In: <conf-name>Theory of Cryptography Conference</conf-name>. <publisher-loc>Cham</publisher-loc>: <publisher-name>Springer International Publishing; 2017</publisher-name>. p. <fpage>341</fpage>&#x2013;<lpage>71</lpage>.</mixed-citation></ref>
<ref id="ref-17"><label>[17]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Gallager</surname> <given-names>R</given-names></string-name></person-group>. <article-title>Low-density parity-check codes</article-title>. <source>IRE Trans Inf Theory</source>. <year>1962</year>;<volume>8</volume>(<issue>1</issue>):<fpage>21</fpage>&#x2013;<lpage>8</lpage>. doi:<pub-id pub-id-type="doi">10.1109/tit.1962.1057683</pub-id>.</mixed-citation></ref>
<ref id="ref-18"><label>[18]</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name><surname>Vasseur</surname> <given-names>V</given-names></string-name></person-group>. <article-title>QC-MDPC codes DFR and the IND-CCA security of bike</article-title>; <year>2022</year> [cited 2025 Apr 15]. Available from: <ext-link ext-link-type="uri" xlink:href="https://ia.cr/2021/1458">https://ia.cr/2021/1458</ext-link>.</mixed-citation></ref>
<ref id="ref-19"><label>[19]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Sendrier</surname> <given-names>N</given-names></string-name>, <string-name><surname>Vasseur</surname> <given-names>V</given-names></string-name></person-group>. <article-title>On the decoding failure rate of QC-MDPC bit-flipping decoders</article-title>. <comment>In: Ding J, Steinwandt R, editors. Post-quantum cryptography. Cham: Springer</comment>; <year>2019</year>. Vol. <volume>11505</volume>. p. <fpage>404</fpage>&#x2013;<lpage>16</lpage>.</mixed-citation></ref>
<ref id="ref-20"><label>[20]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Sendrier</surname> <given-names>N</given-names></string-name>, <string-name><surname>Vasseur</surname> <given-names>V</given-names></string-name></person-group>. <article-title>About low DFR for QC-MDPC decoding</article-title>. In: <conf-name>International Conference on Post-Quantum Cryptography</conf-name>. <publisher-loc>Cham</publisher-loc>: <publisher-name>Springer International Publishing; 2020</publisher-name>. p. <fpage>20</fpage>&#x2013;<lpage>34</lpage>.</mixed-citation></ref>
<ref id="ref-21"><label>[21]</label><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Vasseur</surname> <given-names>V</given-names></string-name></person-group>. <source>Post-quantum cryptography: a study of the decoding of QC-MDPC codes</source>. <publisher-name>France: Universit&#x00E9; de Paris</publisher-name>; <year>2021</year>.</mixed-citation></ref>
<ref id="ref-22"><label>[22]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Chou</surname> <given-names>T</given-names></string-name>, <string-name><surname>Maezawa</surname> <given-names>Y</given-names></string-name>, <string-name><surname>Miyaji</surname> <given-names>A</given-names></string-name></person-group>. <article-title>A closer look at the Guo-Johansson&#x2013;Stankovski attack against QC-MDPC codes</article-title>. In: <conf-name>International Conference on Information Security and Cryptology</conf-name>. <publisher-loc>Cham</publisher-loc>: <publisher-name>Springer International Publishing; 2018</publisher-name>. p. <fpage>341</fpage>&#x2013;<lpage>53</lpage>.</mixed-citation></ref>
<ref id="ref-23"><label>[23]</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name><surname>Sendrier</surname> <given-names>N</given-names></string-name>, <string-name><surname>Vasseur</surname> <given-names>V</given-names></string-name></person-group>. <article-title>On the existence of weak keys for QC-MDPC decoding</article-title>; <year>2020</year> [cited 2025 Apr 15]. Available from: <ext-link ext-link-type="uri" xlink:href="https://ia.cr/2020/1232">https://ia.cr/2020/1232</ext-link>.</mixed-citation></ref>
<ref id="ref-24"><label>[24]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Nosouhi</surname> <given-names>MR</given-names></string-name>, <string-name><surname>Shah</surname> <given-names>SW</given-names></string-name>, <string-name><surname>Pan</surname> <given-names>L</given-names></string-name>, <string-name><surname>Zolotavkin</surname> <given-names>Y</given-names></string-name>, <string-name><surname>Nanda</surname> <given-names>A</given-names></string-name>, <string-name><surname>Gauravaram</surname> <given-names>P</given-names></string-name>, <etal>et al</etal></person-group>. <article-title>Weak-key analysis for bike post-quantum key encapsulation mechanism</article-title>. <source>IEEE Trans Inf Forensics Secur</source>. <year>2023</year>;<volume>18</volume>(<issue>3</issue>):<fpage>2160</fpage>&#x2013;<lpage>74</lpage>. doi:<pub-id pub-id-type="doi">10.1109/tifs.2023.3264153</pub-id>.</mixed-citation></ref>
<ref id="ref-25"><label>[25]</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name><surname>Sendrier</surname> <given-names>N</given-names></string-name></person-group>. <article-title>Secure sampling of constant-weight words&#x2013;application to bike. Cryptology ePrint Archive</article-title>; <year>2021</year> [cited 2025 Apr 15]. Available from: <ext-link ext-link-type="uri" xlink:href="https://ia.cr/2021/1631">https://ia.cr/2021/1631</ext-link>.</mixed-citation></ref>
<ref id="ref-26"><label>[26]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Arpin</surname> <given-names>S</given-names></string-name>, <string-name><surname>Billingsley</surname> <given-names>TR</given-names></string-name>, <string-name><surname>Hast</surname> <given-names>DR</given-names></string-name>, <string-name><surname>Lau</surname> <given-names>JB</given-names></string-name>, <string-name><surname>Perlner</surname> <given-names>R</given-names></string-name>, <string-name><surname>Robinson</surname> <given-names>A</given-names></string-name></person-group>. <article-title>A study of error floor behavior in QC-MDPC codes</article-title>. In: <conf-name>International Conference on Post-Quantum Cryptography</conf-name>. <publisher-loc>Cham</publisher-loc>: <publisher-name>Springer International Publishing; 2022</publisher-name>. p. <fpage>89</fpage>&#x2013;<lpage>103</lpage>.</mixed-citation></ref>
<ref id="ref-27"><label>[27]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Bardet</surname> <given-names>M</given-names></string-name>, <string-name><surname>Dragoi</surname> <given-names>V</given-names></string-name>, <string-name><surname>Luque</surname> <given-names>JG</given-names></string-name>, <string-name><surname>Otmani</surname> <given-names>A</given-names></string-name></person-group>. <article-title>Weak keys for the quasi-cyclic MDPC public key encryption scheme</article-title>. In: <conf-name>Progress in Cryptology&#x2013;AFRICACRYPT 2016: 8th International Conference on Cryptology in Africa; 2016 Apr 13&#x2013;15; Fes, Morocco</conf-name>: <publisher-name>Springer International Publishing; 2016</publisher-name>. p. <fpage>346</fpage>&#x2013;<lpage>67</lpage>.</mixed-citation></ref>
</ref-list>
</back></article>