{
  "id": "2022/1343",
  "url": "https://opencryptology.org/2022/1343",
  "original_url": "https://eprint.iacr.org/2022/1343",
  "title": "Optimizing Two-Step Primal LWE Attacks with PnJBKZ Simulation",
  "authors": [
    "Wenwen Xia",
    "Leizhang Wang",
    "GengWang",
    "Dawu Gu",
    "Baocang Wang"
  ],
  "affiliations": null,
  "abstract": "Learning with Errors (LWE) and its variants underlie many lattice-based cryptosystems, making accurate concrete attack-cost estimates important for parameter selection. Practical primal attacks combine lattice-basis reduction with a final shortest-vector search, and their performance depends strongly on how these components are scheduled. We formalize the two-step strategy space considered in this work and propose PSSearch, a pruning-based method that selects a minimum estimated cost strategy under a specified reduction simulator and cost model. We instantiate the framework with a Pump-and-Jump BKZ (PnJBKZ) simulator supporting jump parameters \\(J>1\\), practical dimension-for-free settings, and LLL effects, together with a refined estimator for the dimension of the final SVP call. We integrate these components into a practical solver in\nG6K-GPU-Tensor and compare the PSSearch-selected strategies with its\ndefault heuristic strategy under comparable settings. On six TU Darmstadt LWE Challenge instances, the selected strategies\nachieve speedups of \\(7.2\\times\\)--\\(23.4\\times\\). Under the stated primal-attack and classical gate-count assumptions, the optimized two-step primal estimates for selected ML-KEM and ML-DSA parameter sets are \\(3.4\\)–\\(4.6\\) bits below the corresponding previous estimates; relative to the prescribed two-step baseline \\(\\mathsf{S}_0\\), PSSearch provides an additional \\(1.2\\)–\\(1.3\\)-bit reduction. Along the tested relation \\(\\log_2 q=0.198n^{0.832}\\), the empirically fitted advantage satisfies \\(\\Delta(\\log_2T)=0.01887n-0.98\\), where \\(T\\) denotes the estimated attack cost. These figures concern the primal-attack branch; the overall attack-cost estimate is determined by the minimum cost among all applicable attack families.",
  "category": "Public-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Optimizing Two-Step Primal LWE Attacks with PnJBKZ Simulation” by Wenwen Xia, Leizhang Wang, GengWang, Dawu Gu, Baocang Wang, Cryptology ePrint Archive, Paper 2022/1343, https://eprint.iacr.org/2022/1343. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2022-10-08T03:38:05Z",
    "updated": "2026-11-03T11:56:01Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/1343.pdf",
    "sha256": "519742ea80e6238e2ccfa7a7e46d517ef45ae01afc12bb80fcb28f8a41484e2b",
    "size": 9638651,
    "source": "upload",
    "source_date": "2026-11-14T04:00:18.674Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/1343/versions/20261114T040018Z.pdf",
      "captured_at": "2026-11-14T04:00:18.674Z",
      "label": "copy captured 2026-11-14",
      "source": "upload",
      "source_url": null,
      "size": 9638651,
      "sha256": "519742ea80e6238e2ccfa7a7e46d517ef45ae01afc12bb80fcb28f8a41484e2b",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2022/1343/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/2022/1343.pdf",
      "size": 16278193,
      "sha256": "1902350a141c4353ee4d75bdda84d60b7d4c53be361e26705fb0bebfc465f1c4",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2022/1343/versions/20241126T175730Z.pdf",
      "captured_at": "2024-11-26T17:57:30Z",
      "label": "copy captured 2024-11-26",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20241126175730id_/https://eprint.iacr.org/2022/1343.pdf",
      "size": 16161532,
      "sha256": "e8863da4a31a3b1c2961202171981a81b13e0d541827734068eca2b76cebe355",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2022/1343/versions/20221019T055810Z.pdf",
      "captured_at": "2022-10-19T05:58:10Z",
      "label": "copy captured 2022-10-19",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20221019055810id_/https://eprint.iacr.org/2022/1343.pdf",
      "size": 1506728,
      "sha256": "dc07dea2d01907fd72dfe9d90ca2df4bc83be133f8f6d636928d3d9c619d84e1",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2022/1343/versions/20221010T121850Z.pdf",
      "captured_at": "2022-10-10T12:18:50Z",
      "label": "copy captured 2022-10-10",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20221010121850id_/https://eprint.iacr.org/2022/1343.pdf",
      "size": 1503559,
      "sha256": "919fa124a0ac13e92ea7114359ce84fcebc920113f42360438355cfffd1cc099",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1343.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 16278193
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20241126175730id_/https://eprint.iacr.org/2022/1343.pdf",
      "captured_at": "2024-11-26T17:57:30Z",
      "size": 15215295
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/1343,\n      author = {Wenwen Xia and Leizhang Wang and GengWang and Dawu Gu and Baocang Wang},\n      title = {Optimizing Two-Step Primal LWE Attacks with PnJBKZ Simulation},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/1343},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/1343}\n}"
}
