{
  "id": "2015/818",
  "url": "https://opencryptology.org/2015/818",
  "original_url": "https://eprint.iacr.org/2015/818",
  "title": "cuHE: A Homomorphic Encryption Accelerator Library",
  "authors": [
    "Wei Dai",
    "Berk Sunar"
  ],
  "affiliations": null,
  "abstract": "We introduce a CUDA GPU library to accelerate evaluations with homomorphic schemes defined over polynomial rings enabled with a number of optimizations including algebraic techniques for efficient evaluation, memory minimization techniques, memory and thread scheduling and low level CUDA hand-tuned assembly optimizations to take full advantage of the mass parallelism and high memory bandwidth GPUs offer. The arithmetic functions constructed to handle very large polynomial operands using number-theoretic transform (NTT) and Chinese remainder theorem (CRT) based methods are then extended to implement the primitives of the leveled homomorphic encryption scheme proposed by Löpez-Alt, Tromer and Vaikuntanathan. To compare the performance of the proposed CUDA library we implemented two applications: the Prince block cipher and homomorphic sorting algorithms on two GPU platforms in single GPU and multiple GPU configurations. We observed a speedup of 25 times and 51 times over the best previous GPU implementation for Prince with single and triple GPUs, respectively. Similarly for homomorphic sorting we obtained 12-41 times speedup depending on the number and size of the sorted elements.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“cuHE: A Homomorphic Encryption Accelerator Library” by Wei Dai, Berk Sunar, Cryptology ePrint Archive, Paper 2015/818, https://eprint.iacr.org/2015/818. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2015-08-18T16:35:07Z",
    "updated": "2015-08-18T16:35:07Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2015/818.pdf",
    "sha256": "147c2bd3a6bdfb88901587fbbb9360c8d264c9e840da74ba264d5f1a4c458286",
    "size": 606404,
    "source": "github-mirror",
    "source_date": "2019-02-25T17:07:53Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2015/818/versions/20190225T170753Z.pdf",
      "captured_at": "2019-02-25T17:07:53Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2015/818.pdf",
      "size": 606404,
      "sha256": "147c2bd3a6bdfb88901587fbbb9360c8d264c9e840da74ba264d5f1a4c458286",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260825183204id_/https://eprint.iacr.org/2015/818.pdf",
      "captured_at": "2026-08-25T18:32:04Z",
      "size": 591901
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2015/818.pdf",
      "captured_at": "2019-02-25T17:07:53Z",
      "size": 606404
    }
  ],
  "bibtex": "@misc{cryptoeprint:2015/818,\n      author = {Wei Dai and Berk Sunar},\n      title = {cuHE: A Homomorphic Encryption Accelerator Library},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2015/818},\n      year = {2015},\n      url = {https://eprint.iacr.org/2015/818}\n}"
}
