{
  "id": "2026/2223",
  "url": "https://opencryptology.org/2026/2223",
  "original_url": "https://eprint.iacr.org/2026/2223",
  "title": "Linear Key Recovery in the BAG-Loong Reference Implementation",
  "authors": [
    "Zihan Liu"
  ],
  "affiliations": null,
  "abstract": "The BAG-Loong reference implementation samples its secret matrices X and Y from\nfixed, publicly known subspaces, although the specification calls for secret random supports.\nThis makes the public-key relation S = HX + Y , with public H, amenable to Gaussian\nelimination. Expanding the relation over F2 and projecting away the support of Y leaves a\nlinear system for X. We prove an exact recovery criterion based on its column rank. All\n40 supplied known-answer-test records, covering four parameter sets, satisfy this criterion:\ntwo independent solvers recover each X exactly, and the unmodified decapsulation code\nreproduces the corresponding session keys. For the largest parameter set, the reduced system\nhas 9360 equations in 728 unknowns per column; one elimination solves all 15 columns.",
  "category": "Public-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Linear Key Recovery in the BAG-Loong Reference Implementation” by Zihan Liu, Cryptology ePrint Archive, Paper 2026/2223, https://eprint.iacr.org/2026/2223. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2026-09-26T06:30:08Z",
    "updated": "2026-09-26T06:30:08Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/2223.pdf",
    "sha256": "790532a95e5c262b1c289f0d8d8a20afecfdf34f8d4635d46494d6690e24c42e",
    "size": 104971,
    "source": "wayback",
    "source_date": "2026-10-02T08:25:44Z",
    "maybe_stale": false,
    "newer_on_eprint": false,
    "eprint_size": 104971,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/2223/versions/20261002T082544Z.pdf",
      "captured_at": "2026-10-02T08:25:44Z",
      "label": "copy captured 2026-10-02",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20261002082544id_/https://eprint.iacr.org/2026/2223.pdf",
      "size": 104971,
      "sha256": "790532a95e5c262b1c289f0d8d8a20afecfdf34f8d4635d46494d6690e24c42e",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20261002082544id_/https://eprint.iacr.org/2026/2223.pdf",
      "captured_at": "2026-10-02T08:25:44Z",
      "size": 106276
    }
  ],
  "bibtex": "@misc{cryptoeprint:2026/2223,\n      author = {Zihan Liu},\n      title = {Linear Key Recovery in the BAG-Loong Reference Implementation},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/2223},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/2223}\n}"
}
