{
  "id": "2013/059",
  "url": "https://opencryptology.org/2013/059",
  "original_url": "https://eprint.iacr.org/2013/059",
  "title": "Optimized GPU Implementation and Performance Analysis of HC Series of Stream Ciphers",
  "authors": [
    "Ayesha Khalid",
    "Deblin Bagchi",
    "Goutam Paul",
    "Anupam Chattopadhyay"
  ],
  "affiliations": null,
  "abstract": "The ease of programming offered by the CUDA programming model attracted a lot of programmers to try the platform for acceleration of many non-graphics applications. Cryptography, being no exception, also found its share of exploration efforts, especially block ciphers. In this contribution we present a detailed walk-through of effective mapping of HC-128 and HC-256 stream ciphers on GPUs. Due to inherent inter-S-Box dependencies, intra-S-Box dependencies and a high number of memory accesses per keystream word generation, parallelization of HC series of stream ciphers remains challenging. For the first time, we present various optimization strategies for HC-128 and HC-256 speedup in tune with CUDA device architecture. The peak performance achieved with a single data-stream for HC-128 and HC-256 is 0.95 Gbps and 0.41 Gbps respectively. Although these throughput figures do not beat the CPU performance (10.9 Gbps for HC-128 and 7.5 Gbps for HC-256), our multiple parallel data-stream implementation is benchmarked to reach approximately 31 Gbps for HC-128 and 14 Gbps for HC-256 (with 32768 parallel data-streams). To the best of our knowledge, this is the first reported effort of mapping HC-Series of stream ciphers on GPUs.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Optimized GPU Implementation and Performance Analysis of HC Series of Stream Ciphers” by Ayesha Khalid, Deblin Bagchi, Goutam Paul, Anupam Chattopadhyay, Cryptology ePrint Archive, Paper 2013/059, https://eprint.iacr.org/2013/059. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2013-02-06T16:11:27Z",
    "updated": "2013-02-06T16:11:27Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2013/059.pdf",
    "sha256": "836bdbe6f578af45a5f3731baccfdcd24013af53e63c0aa4ceb78ae8dba21845",
    "size": 523827,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:45:55Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2013/059/versions/20190225T164555Z.pdf",
      "captured_at": "2019-02-25T16:45:55Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2013/059.pdf",
      "size": 523827,
      "sha256": "836bdbe6f578af45a5f3731baccfdcd24013af53e63c0aa4ceb78ae8dba21845",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260310120029id_/https://eprint.iacr.org/2013/059.pdf",
      "captured_at": "2026-03-10T12:00:29Z",
      "size": 515300
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2013/059.pdf",
      "captured_at": "2019-02-25T16:45:55Z",
      "size": 523827
    }
  ],
  "bibtex": "@misc{cryptoeprint:2013/059,\n      author = {Ayesha Khalid and Deblin Bagchi and Goutam Paul and Anupam Chattopadhyay},\n      title = {Optimized GPU Implementation and Performance Analysis of HC Series of Stream Ciphers},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2013/059},\n      year = {2013},\n      url = {https://eprint.iacr.org/2013/059}\n}"
}
