{
  "id": "2025/869",
  "url": "https://opencryptology.org/2025/869",
  "original_url": "https://eprint.iacr.org/2025/869",
  "title": "One for All, All for One: Universal semi-agnostic quantum circuit for solving (Standard) Abelian Hidden Subgroup Problems",
  "authors": [
    "Michał Wroński",
    "Łukasz Dzierzkowski",
    "Mateusz Leśniak",
    "Ewa Syta"
  ],
  "affiliations": null,
  "abstract": "Quantum algorithms for factoring, finite-field discrete logarithms (DLP), and elliptic-curve discrete logarithms (ECDLP) are usually presented as three separate attack pipelines, even though all three are instances of the Abelian Hidden Subgroup Problem (AHSP).\n\nWe prove that the semi-agnostic elliptic-curve discrete logarithm problem (semi-agnostic ECDLP), defined on smooth elliptic curves, singular nodal cubics, and over rings such as $\\mathbb{Z}_N$, is complete for all standard abelian hidden subgroup problems (SAHSPs). In other words, factoring, finite-field DLP, and ECDLP all reduce to semi-agnostic ECDLP. This gives the first completeness theorem for the cryptographic subclass of HSP.  \n\n\nTo argue minimality from the practical point of view (for example, the minimal size of Shor's circuit implementation), we formalize the No Efficient Injective Homomorphism (NEIH) hypothesis: no generic polynomial-time injective homomorphism exists from elliptic curve subgroups into small cyclic groups. NEIH is strongly supported by three provable limitations:\n(i) the embedding-degree barrier,\n(ii) an algebraic rigidity lemma, and\n(iii) a generic-group model barrier, ruling out non-algebraic embeddings without already solving the ECDLP.\n\nThe completeness result has practical implications, as it identifies a minimal universal Shor engine: a single, programmable Weierstrass circuit that implements reversible field arithmetic and point addition on a smooth or nodal Weierstrass model. This one circuit instance suffices to execute Shor's algorithm for factoring, finite-field DLP, and ECDLP without recompilation and with the same asymptotic resources as specialized designs.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“One for All, All for One: Universal semi-agnostic quantum circuit for solving (Standard) Abelian Hidden Subgroup Problems” by Michał Wroński, Łukasz Dzierzkowski, Mateusz Leśniak, Ewa Syta, Cryptology ePrint Archive, Paper 2025/869, https://eprint.iacr.org/2025/869. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-05-16T10:52:18Z",
    "updated": "2025-10-03T11:16:14Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/869.pdf",
    "sha256": "ad8a8b995469343ce56fe5c233784d417a40ec802c3f226b51c3235cc8ac51a2",
    "size": 619124,
    "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/869/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/869.pdf",
      "size": 619124,
      "sha256": "ad8a8b995469343ce56fe5c233784d417a40ec802c3f226b51c3235cc8ac51a2",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2025/869/versions/20250526T211949Z.pdf",
      "captured_at": "2025-05-26T21:19:49Z",
      "label": "copy captured 2025-05-26",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20250526211949id_/https://eprint.iacr.org/2025/869.pdf",
      "size": 658359,
      "sha256": "4873e7374d6a735e573e6b4035fd8802f1a80fbf94bcce41f5fb8e433853a8eb",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/869.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 619124
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251010101606id_/https://eprint.iacr.org/2025/869.pdf",
      "captured_at": "2025-10-10T10:16:06Z",
      "size": 619449
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/869,\n      author = {Michał Wroński and Łukasz Dzierzkowski and Mateusz Leśniak and Ewa Syta},\n      title = {One for All, All for One: Universal semi-agnostic quantum circuit for solving (Standard) Abelian Hidden Subgroup Problems},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/869},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/869}\n}"
}
