{
  "id": "2024/1918",
  "url": "https://opencryptology.org/2024/1918",
  "original_url": "https://eprint.iacr.org/2024/1918",
  "title": "Accelerating Hash-Based Polynomial Commitment Schemes with Linear Prover Time",
  "authors": [
    "Florian Hirner",
    "Florian Krieger",
    "Constantin Piber",
    "Sujoy Sinha Roy"
  ],
  "affiliations": null,
  "abstract": "Zero-knowledge proofs (ZKPs) are cryptographic protocols that enable one party to prove the validity of a statement without revealing any information beyond its truth. Central building blocks in many ZKPs are polynomial commitment schemes (PCS) where constructions with \\textit{linear-time provers} are especially attractive. Two such examples are Brakedown and its extension Orion, which enable linear-time and quantum-resistant proving by leveraging linear-time encodable Spielman codes. However, these PCS operate over large datasets, creating significant computational bottlenecks. For example, committing to and proving a degree $2^{28}$ polynomial requires around 1.1 GB of data while taking 463 seconds on a high-end server CPU. \n\nThis work addresses the performance bottleneck in Orion-like PCS by optimizing their most critical operations: Spielman encoding and Merkle commitments. These operations involve Gigabytes of data and suffer from random off-chip memory access patterns that drastically reduce off-chip bandwidth. We resolve this issue and introduce \\textit{inverted expander graphs} to eliminate random writes and reduce off-chip memory accesses by over 50\\%. Additionally, we propose an on-the-fly graph sampling method that avoids streaming large auxiliary data by generating expander graphs dynamically on-chip. We also provide a formal security proof for our proposed graph transformation. Beyond encoding, we accelerate Merkle Tree construction over large data sets through a scalable multi-pass SHA3 pipeline. Finally, we reutilize existing hardware components used in commitment to accelerate the so-called proximity and consistency checks during proof generation. \n\nBuilding upon these concepts, we present the first hardware architecture for PCS - with linear prover time - on an Xilinx Alveo U280 FPGA. In addition, we discuss the practical challenges of manually partitioning, placing, and routing our large-scale architecture to efficiently map it to the multi-SLR and HBM-equipped FPGA. The final implementation achieves a speedup of two orders of magnitude for full proof generation, covering commitment and proving steps. When combined with Virgo as an outer CP-SNARK protocol, our accelerator reduces end-to-end latency by up to 3.85$\\times$ - close to the theoretical maximum of 3.9$\\times$.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Accelerating Hash-Based Polynomial Commitment Schemes with Linear Prover Time” by Florian Hirner, Florian Krieger, Constantin Piber, Sujoy Sinha Roy, Cryptology ePrint Archive, Paper 2024/1918, https://eprint.iacr.org/2024/1918. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2024-11-26T11:02:32Z",
    "updated": "2025-07-26T22:13:55Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/1918.pdf",
    "sha256": "38c080b73bf4605f8ccfb550e9c44e00f860f9f895ad376f4f50f80f94f23e9a",
    "size": 1276754,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2024/1918/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/2024/1918.pdf",
      "size": 1276754,
      "sha256": "38c080b73bf4605f8ccfb550e9c44e00f860f9f895ad376f4f50f80f94f23e9a",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2024/1918/versions/20250709T145346Z.pdf",
      "captured_at": "2025-07-09T14:53:46Z",
      "label": "copy captured 2025-07-09",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20250709145346id_/https://eprint.iacr.org/2024/1918.pdf",
      "size": 1382696,
      "sha256": "f4319654f4a830288ef0d9f7ff2f7fa8bd0dc36624c964e55e6c539089f7b910",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2024/1918/versions/20241129T042526Z.pdf",
      "captured_at": "2024-11-29T04:25:26Z",
      "label": "copy captured 2024-11-29",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20241129042526id_/https://eprint.iacr.org/2024/1918.pdf",
      "size": 1377268,
      "sha256": "ee67e4af3c91ad34b7be3f4e508733db89e1dcdeb1749a38099d71330309a500",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/1918.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 1276754
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260110095059id_/https://eprint.iacr.org/2024/1918.pdf",
      "captured_at": "2026-01-10T09:50:59Z",
      "size": 1256655
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/1918,\n      author = {Florian Hirner and Florian Krieger and Constantin Piber and Sujoy Sinha Roy},\n      title = {Accelerating Hash-Based Polynomial Commitment Schemes with Linear Prover Time},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1918},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/1918}\n}"
}
