{
  "id": "2025/227",
  "url": "https://opencryptology.org/2025/227",
  "original_url": "https://eprint.iacr.org/2025/227",
  "title": "Two Is All It Takes: Asymptotic and Concrete Improvements for Solving Code Equivalence",
  "authors": [
    "Alessandro Budroni",
    "Andre Esser",
    "Ermes Franch",
    "Andrea Natale"
  ],
  "affiliations": null,
  "abstract": "The Linear Code Equivalence ($\\mathsf{LCE}$) problem asks, for two given linear codes $\\mathcal{C}, \\mathcal{C}'$, to find a monomial $\\mathbf{Q}$ mapping $\\mathcal{C}$ into $\\mathcal{C}'$. Algorithms solving $\\mathsf{LCE}$ crucially rely on a (heuristic) subroutine, which recovers the secret monomial from $\\Omega(\\log n)$ pairs of codewords $(\\mathbf{v}_i, \\mathbf{w}_i)\\in \\mathcal{C} \\times \\mathcal{C}'$ satisfying $\\mathbf{w}_i = \\mathbf{v}_i\\mathbf{Q}$. We greatly improve on this known bound by giving a constructive algorithm that provably recovers the secret monomial from any \\emph{two} pairs of such codewords for fields of sufficiently large prime order $q$. Furthermore, we demonstrate that in practice this algorithm remains effective even for small prime fields. We then show that this reduction in the number of required pairs enables the design of a more efficient algorithm for solving the $\\mathsf{LCE}$ problem. Our asymptotic analysis shows that this algorithm outperforms previous approaches for a wide range of parameters. Our concrete analysis reveals significant improvements as well. Most notably, in the context of the LESS signature scheme, a second-round contender in the ongoing NIST standardization effort, we achieve bit security reductions of up to 24 bits.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY-NC",
    "url": "https://creativecommons.org/licenses/by-nc/4.0/",
    "label": "CC BY-NC 4.0",
    "attribution": "“Two Is All It Takes: Asymptotic and Concrete Improvements for Solving Code Equivalence” by Alessandro Budroni, Andre Esser, Ermes Franch, Andrea Natale, Cryptology ePrint Archive, Paper 2025/227, https://eprint.iacr.org/2025/227. Licensed under CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": true
  },
  "dates": {
    "submitted": "2025-02-14T12:44:51Z",
    "updated": "2025-10-06T15:27:33Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/227.pdf",
    "sha256": "81be8e76b34344d4b6f9108ab21b08043c60c54143e4d77bf148951ea96a5045",
    "size": 862922,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/227/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/2025/227.pdf",
      "size": 862922,
      "sha256": "81be8e76b34344d4b6f9108ab21b08043c60c54143e4d77bf148951ea96a5045",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2025/227/versions/20250219T074904Z.pdf",
      "captured_at": "2025-02-19T07:49:04Z",
      "label": "copy captured 2025-02-19",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20250219074904id_/https://eprint.iacr.org/2025/227.pdf",
      "size": 918418,
      "sha256": "4a16411129c87ca1019d111af2ab903ba4154090c55486487ed35eef18925075",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/227.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 862922
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260420030856id_/https://eprint.iacr.org/2025/227.pdf",
      "captured_at": "2026-04-20T03:08:56Z",
      "size": 859056
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/227,\n      author = {Alessandro Budroni and Andre Esser and Ermes Franch and Andrea Natale},\n      title = {Two Is All It Takes: Asymptotic and Concrete Improvements for Solving Code Equivalence},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/227},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/227}\n}"
}
