{
  "id": "2024/135",
  "url": "https://opencryptology.org/2024/135",
  "original_url": "https://eprint.iacr.org/2024/135",
  "title": "A Closer Look at the Belief Propagation Algorithm in Side-Channel-Assisted Chosen-Ciphertext Attacks",
  "authors": [
    "Kexin Qiao",
    "Zhaoyang Wang",
    "Heng Chang",
    "Siwei Sun",
    "Zehan Wu",
    "Junjie Cheng",
    "Changhai Ou",
    "An Wang",
    "Liehuang Zhu"
  ],
  "affiliations": null,
  "abstract": "The implementation security of post-quantum cryptography (PQC) algorithms has emerged as a critical concern with the PQC standardization process reaching its end. In a side-channel-assisted chosen-ciphertext attack, the attacker builds linear inequalities on secret key components and uses the belief propagation (BP) algorithm to solve. The number of inequalities leverages the query complexity of the attack, so the fewer the better. In this paper, we use the PQC standard algorithm CRYSTALS-Kyber as a study case to construct bilateral inequalities on key variables with substantially narrower intervals using a side-channel-assisted oracle. For Kyber512, Kyber768, and Kyber 1024, the average Shannon entropy carried by such inequality is improved from the previous 0.6094, 0.4734, and 0.8544 to 0.6418, 0.4777, and 1.2007. The number of such inequalities required to recover the key utilizing the BP algorithm for Kyber512 and Kyber1024 is reduced by 5.32% and 40.53% in theory and experimentally the reduction is even better. The query complexity is reduced by 43%, 37%, and 48% for Kyber512, 768, and 1024 assuming reasonably perfect reliability. \n\nFurthermore, we introduce a strategy aimed at further refining the interval of inequalities. Diving into the BP algorithm, we discover a measure metric named JSD (Jensen-Shannon distance)-metric that can gauge the tightness of an inequality. We then develop a machine learning-based strategy to utilize the JSD-metrics to contract boundaries of inequalities even with fewer inequalities given, thus improving the entropy carried by the system of linear inequalities. This contraction strategy is at the algorithmic level and has the potential to be employed in all attacks endeavoring to establish a system of inequalities concerning key variables.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“A Closer Look at the Belief Propagation Algorithm in Side-Channel-Assisted Chosen-Ciphertext Attacks” by Kexin Qiao, Zhaoyang Wang, Heng Chang, Siwei Sun, Zehan Wu, Junjie Cheng, Changhai Ou, An Wang, Liehuang Zhu, Cryptology ePrint Archive, Paper 2024/135, https://eprint.iacr.org/2024/135. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2024-01-31T05:11:31Z",
    "updated": "2024-11-19T01:37:36Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/135.pdf",
    "sha256": "49268a1e706934863de6d7d3f5e940542527ad2ead989d8046a9831dafc602d5",
    "size": 2391614,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2024/135/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/135.pdf",
      "size": 2391614,
      "sha256": "49268a1e706934863de6d7d3f5e940542527ad2ead989d8046a9831dafc602d5",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2024/135/versions/20240131T133204Z.pdf",
      "captured_at": "2024-01-31T13:32:04Z",
      "label": "copy captured 2024-01-31",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240131133204id_/https://eprint.iacr.org/2024/135.pdf",
      "size": 1627646,
      "sha256": "4b412551c6399d0bf52d5a864873c5049bc1757f110c1b5843b99cc075119049",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/135.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 2391614
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260104043933id_/https://eprint.iacr.org/2024/135.pdf",
      "captured_at": "2026-01-04T04:39:33Z",
      "size": 2257416
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/135,\n      author = {Kexin Qiao and Zhaoyang Wang and Heng Chang and Siwei Sun and Zehan Wu and Junjie Cheng and Changhai Ou and An Wang and Liehuang Zhu},\n      title = {A Closer Look at the Belief Propagation Algorithm in Side-Channel-Assisted Chosen-Ciphertext Attacks},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/135},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/135}\n}"
}
