{
  "id": "2026/2371",
  "url": "https://opencryptology.org/2026/2371",
  "original_url": "https://eprint.iacr.org/2026/2371",
  "title": "DP-Guided Schedule Selection for $\\mathbb{F}_2[x]$ Multiplication across ISAs",
  "authors": [
    "Junyu Zhou",
    "Xiao Lan",
    "Jing Wang",
    "Hao Ren",
    "Weiran Liu",
    "Si Gao"
  ],
  "affiliations": null,
  "abstract": "Efficient multiplication over $\\mathbb{F}_2[x]$ is a core primitive in classical and post-quantum cryptographic software. As ARM and RISC-V become increasingly relevant for open-source cryptographic libraries such as OpenSSL and liboqs, arithmetic kernels must be retuned across a wider range of Instruction Set Architectures (ISAs). High-performance arithmetic libraries recursively apply Karatsuba- and Toom-style decomposition rules, each splitting the operands into smaller subproblems and recombining the resulting products. The resulting decomposition schedule is the recursive tree of rule choices from the top-level multiplication down to the base kernels. However, hand-tuned schedules can miss better decompositions at large operand sizes, while ISA-specific primitive costs complicate cross-platform retuning.\n\nIn this paper, we formulate recursive $\\mathbb{F}_2[x]$ multiplication as a schedule-selection problem. The recursive rule space has optimal substructure, allowing dynamic programming (DP) over a compact ISA profile that accounts for base multiplication, XORs, memory traffic, and recursive overhead. The resulting schedules are materialized as dispatch tables or fixed-size kernels. Across x86-64, ARM64, RISC-V64, and RP2040, DP costs track runtime trends across input sizes, and the full rule set achieves $1.04$–$1.18\\times$ geomean speedup over gf2x. HQC and BIKE integrations on the three 64-bit platforms yield $1.06$–$1.21\\times$ and $1.01$–$1.70\\times$ end-to-end speedups, respectively, against their platform baselines. We also evaluate Classic McEliece on these platforms. With prepared profiles, HQC/BIKE schedule selection takes 0.075–0.762 seconds, avoiding candidate compilation and benchmarking during search. The scheme provides a systematic alternative to hand tuning and measurement-driven per-size empirical search, reducing the effort required to port and retune carry-less multiplication kernels.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“DP-Guided Schedule Selection for $\\mathbb{F}_2[x]$ Multiplication across ISAs” by Junyu Zhou, Xiao Lan, Jing Wang, Hao Ren, Weiran Liu, Si Gao, Cryptology ePrint Archive, Paper 2026/2371, https://eprint.iacr.org/2026/2371. 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-10-06T04:33:46Z",
    "updated": "2026-10-06T04:33:46Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/2371.pdf",
    "sha256": "520eea52211fda6231c6f4efb7b53ce8e279ebd618cb05b060e971b5c90cd1cb",
    "size": 1903035,
    "source": "upload",
    "source_date": "2026-11-12T00:07:27.358Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/2371/versions/20261112T000727Z.pdf",
      "captured_at": "2026-11-12T00:07:27.358Z",
      "label": "copy captured 2026-11-12",
      "source": "upload",
      "source_url": null,
      "size": 1903035,
      "sha256": "520eea52211fda6231c6f4efb7b53ce8e279ebd618cb05b060e971b5c90cd1cb",
      "is_default_pdf": true
    }
  ],
  "other_sources": [],
  "bibtex": "@misc{cryptoeprint:2026/2371,\n      author = {Junyu Zhou and Xiao Lan and Jing Wang and Hao Ren and Weiran Liu and Si Gao},\n      title = {DP-Guided Schedule Selection for $\\mathbb{F}_2[x]$ Multiplication across ISAs},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/2371},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/2371}\n}"
}
