{
  "id": "2022/1321",
  "url": "https://opencryptology.org/2022/1321",
  "original_url": "https://eprint.iacr.org/2022/1321",
  "title": "cuZK: Accelerating Zero-Knowledge Proof with A Faster Parallel Multi-Scalar Multiplication Algorithm on GPUs",
  "authors": [
    "Tao Lu",
    "Chengkun Wei",
    "Ruijing Yu",
    "Chaochao Chen",
    "Wenjing Fang",
    "Lei Wang",
    "Zeke Wang",
    "Wenzhi Chen"
  ],
  "affiliations": null,
  "abstract": "Zero-knowledge proof is a critical cryptographic primitive. Its most practical type, called zero-knowledge Succinct Non-interactive ARgument of Knowledge (zkSNARK), has been deployed in various privacy-preserving applications such as cryptocurrencies and verifiable machine learning. Unfortunately, zkSNARK like Groth16 has a high overhead on its proof generation step, which consists of several time-consuming operations, including large-scale matrix-vector multiplication (MUL), number-theoretic transform (NTT), and multi-scalar multiplication (MSM). Therefore, this paper presents cuZK, an efficient GPU implementation of zkSNARK with the following three techniques to achieve high performance. First, we propose a new parallel MSM algorithm. This MSM algorithm achieves nearly perfect linear speedup over the Pippenger algorithm, a well-known serial MSM algorithm. Second, we parallelize the MUL operation. Along with our self-designed MSM scheme and well-studied NTT scheme, cuZK achieves the parallelization of all operations in the proof generation step. Third, cuZK reduces the latency overhead caused by CPU-GPU data transfer by 1) reducing redundant data transfer and 2) overlapping data transfer and device computation. The evaluation results show that our MSM module provides over 2.08× (up to 2.94×) speedup versus the state-of-the-art GPU implementation. cuZK achieves over 2.65× (up to 4.86×) speedup on standard benchmarks and 2.18× speedup on a GPU-accelerated cryptocurrency application, Filecoin.",
  "category": "Implementation",
  "license": {
    "code": "CC BY-SA",
    "url": "https://creativecommons.org/licenses/by-sa/4.0/",
    "label": "CC BY-SA 4.0",
    "attribution": "“cuZK: Accelerating Zero-Knowledge Proof with A Faster Parallel Multi-Scalar Multiplication Algorithm on GPUs” by Tao Lu, Chengkun Wei, Ruijing Yu, Chaochao Chen, Wenjing Fang, Lei Wang, Zeke Wang, Wenzhi Chen, Cryptology ePrint Archive, Paper 2022/1321, https://eprint.iacr.org/2022/1321. Licensed under CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2022-10-05T02:41:14Z",
    "updated": "2023-04-15T15:33:37Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/1321.pdf",
    "sha256": "56a434b07309f33ea8f709918fe761c8d2b8987603737b39c1117bb29839f849",
    "size": 1105647,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:34Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/1321/versions/20240114T061334Z.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1321.pdf",
      "size": 1105647,
      "sha256": "56a434b07309f33ea8f709918fe761c8d2b8987603737b39c1117bb29839f849",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2022/1321/versions/20221019T074541Z.pdf",
      "captured_at": "2022-10-19T07:45:41Z",
      "label": "copy captured 2022-10-19",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20221019074541id_/https://eprint.iacr.org/2022/1321.pdf",
      "size": 955401,
      "sha256": "c3adc2b525864070708518a4787d2e9bf92e067b0ca56be54ed97027a5009c2f",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251104124429id_/https://eprint.iacr.org/2022/1321.pdf",
      "captured_at": "2025-11-04T12:44:29Z",
      "size": 1095144
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1321.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 1105647
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/1321,\n      author = {Tao Lu and Chengkun Wei and Ruijing Yu and Chaochao Chen and Wenjing Fang and Lei Wang and Zeke Wang and Wenzhi Chen},\n      title = {cuZK: Accelerating Zero-Knowledge Proof with A Faster Parallel Multi-Scalar Multiplication Algorithm on GPUs},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/1321},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/1321}\n}"
}
