{
  "id": "2026/1624",
  "url": "https://opencryptology.org/2026/1624",
  "original_url": "https://eprint.iacr.org/2026/1624",
  "title": "Code Generation of Faster Formally Verified NTT with Plantard Reduction",
  "authors": [
    "Donnie Y. Xu",
    "Rajeev Gore",
    "Amin Sakzad",
    "Ron Steinfeld",
    "Raymond K. Zhao"
  ],
  "affiliations": null,
  "abstract": "We present a formally verified implementation of the ML-KEM Number-Theoretic Transform (NTT) based on Plantard arithmetic, produced via a code generator that targets ML-KEM, ML-DSA, and FN-DSA from a single parameter triple. The generator embeds a static bound analyzer that places modular reductions at code-generation time without runtime branching, eliminating per-scheme manual tuning while preserving constant-time guarantees. Each generation produces structurally identical implementations in two backends: portable C, and Jasmin for formal verification. To establish end-to-end correctness, we contribute a parametric formalization of Plantard arithmetic in \\textsc{EasyCrypt} and a layer-by-layer program-equivalence proof connecting the extracted Jasmin ML-KEM NTT to the abstract specification of formosa-mlkem; the existing algebraic chain is reused unchanged to extend correctness down to the mathematical NTT definition. Benchmarks across three schemes show that the generated code outperforms reference C by $1.5\\times$--$1.8\\times$ on the forward NTT and $1.7\\times$--$2.5\\times$ on the inverse, and outperforms the formally verified formosa-mlkem Jasmin baseline by $1.26\\times$ and $2.19\\times$ on ML-KEM. We believe our techniques generalize to other lattice-arithmetic primitives requiring both performance and formal verification.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Code Generation of Faster Formally Verified NTT with Plantard Reduction” by Donnie Y. Xu, Rajeev Gore, Amin Sakzad, Ron Steinfeld, Raymond K. Zhao, Cryptology ePrint Archive, Paper 2026/1624, https://eprint.iacr.org/2026/1624. 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-08-06T05:37:52Z",
    "updated": "2026-08-27T06:01:00Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/1624.pdf",
    "sha256": "81e8fcb09173a786ebfbf4ced885ae9f7eddab84aabad964445247e19cf28bfd",
    "size": 788904,
    "source": "wayback",
    "source_date": "2026-10-02T08:26:02Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/1624/versions/20261002T082602Z.pdf",
      "captured_at": "2026-10-02T08:26:02Z",
      "label": "copy captured 2026-10-02",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20261002082602id_/https://eprint.iacr.org/2026/1624.pdf",
      "size": 788904,
      "sha256": "81e8fcb09173a786ebfbf4ced885ae9f7eddab84aabad964445247e19cf28bfd",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2026/1624/versions/20260814T054321Z.pdf",
      "captured_at": "2026-08-14T05:43:21Z",
      "label": "copy captured 2026-08-14",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20260814054321id_/https://eprint.iacr.org/2026/1624.pdf",
      "size": 782884,
      "sha256": "da0de7b9d169d8b3aa0b75568d810257972e2247ed3fd087ff5185a76d05432e",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20261002082602id_/https://eprint.iacr.org/2026/1624.pdf",
      "captured_at": "2026-10-02T08:26:02Z",
      "size": 786790
    }
  ],
  "bibtex": "@misc{cryptoeprint:2026/1624,\n      author = {Donnie Y. Xu and Rajeev Gore and Amin Sakzad and Ron Steinfeld and Raymond K. Zhao},\n      title = {Code Generation of Faster Formally Verified NTT with Plantard Reduction},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/1624},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/1624}\n}"
}
