{
  "id": "2022/633",
  "url": "https://opencryptology.org/2022/633",
  "original_url": "https://eprint.iacr.org/2022/633",
  "title": "CUDA-Accelerated RNS Multiplication in Word-Wise Homomorphic Encryption Schemes",
  "authors": [
    "Shiyu Shen",
    "Hao Yang",
    "Yu Liu",
    "Zhe Liu",
    "Yunlei Zhao"
  ],
  "affiliations": null,
  "abstract": "Homomorphic encryption (HE), which allows computation over encrypted data, has often been used to preserve privacy. However, the computationally heavy nature and complexity of network topologies make the deployment of HE schemes in the Internet of Things (IoT) scenario difficult. In this work, we propose CARM, the first optimized GPU implementation that covers BGV, BFV and CKKS, targeting for accelerating homomorphic multiplication using GPU in heterogeneous IoT systems. We offer constant-time low-level arithmetic with minimum instructions and memory usage, as well as performance- and memory-prior configurations, and exploit a parametric and generic design, and offer various trade-offs between resource and efficiency, yielding a solution suitable for accelerating RNS homomorphic multiplication on both high-performance and embedded GPUs. Through this, we can offer more real-time evaluation results and relieve the computational pressure on cloud devices. We deploy our implementations on two GPUs and achieve up to 378.4×, 234.5×, and 287.2× speedup for homomorphic multiplication of BGV, BFV, and CKKS on Tesla V100S, and 8.8×, 9.2×, and 10.3× on Jetson AGX Xavier, respectively.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“CUDA-Accelerated RNS Multiplication in Word-Wise Homomorphic Encryption Schemes” by Shiyu Shen, Hao Yang, Yu Liu, Zhe Liu, Yunlei Zhao, Cryptology ePrint Archive, Paper 2022/633, https://eprint.iacr.org/2022/633. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2022-05-23T09:48:02Z",
    "updated": "2022-05-23T09:48:02Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/633.pdf",
    "sha256": "a716120d6e89cc3ad7470a8276680894c4b622d88b07a3c11d951cfff1cf8892",
    "size": 616500,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:34Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/633/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/633.pdf",
      "size": 616500,
      "sha256": "a716120d6e89cc3ad7470a8276680894c4b622d88b07a3c11d951cfff1cf8892",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260107215549id_/https://eprint.iacr.org/2022/633.pdf",
      "captured_at": "2026-01-07T21:55:49Z",
      "size": 616235
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/633.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 616500
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/633,\n      author = {Shiyu Shen and Hao Yang and Yu Liu and Zhe Liu and Yunlei Zhao},\n      title = {CUDA-Accelerated RNS Multiplication in Word-Wise Homomorphic Encryption Schemes},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/633},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/633}\n}"
}
