{
  "id": "2024/095",
  "url": "https://opencryptology.org/2024/095",
  "original_url": "https://eprint.iacr.org/2024/095",
  "title": "ConvKyber: Unleashing the Power of AI Accelerators for Faster Kyber with Novel Iteration-based Approaches",
  "authors": [
    "Tian Zhou",
    "Fangyu Zheng",
    "Guang Fan",
    "Lipeng Wan",
    "Wenxu Tang",
    "Yixuan Song",
    "Yi Bian",
    "Jingqiang Lin"
  ],
  "affiliations": null,
  "abstract": "The remarkable performance capabilities of AI accelerators offer promising opportunities for accelerating cryptographic algorithms, particularly in the context of lattice-based cryptography. However, current approaches to leveraging AI accelerators often remain at a rudimentary level of implementation, overlooking the intricate internal mechanisms of these devices. Consequently, a significant number of computational resources is underutilized.\n\nIn this paper, we present a comprehensive exploration of NVIDIA Tensor Cores and introduce a novel framework tailored specifically for Kyber. Firstly, we propose two innovative approaches that efficiently break down Kyber's NTT into iterative matrix multiplications, resulting in approximately a 75% reduction in costs compared to the state-of-the-art scanning-based methods.Secondly, by reversing the internal mechanisms, we precisely manipulate the internal resources of Tensor Cores using assembly-level code instead of inefficient standard interfaces, eliminating memory accesses and redundant function calls. Finally, building upon our highly optimized NTT, we provide a complete implementation for all parameter sets of Kyber. Our implementation surpasses the state-of-the-art Tensor Core based work, achieving remarkable speed-ups of 1.93x, 1.65x, 1.22x and 3.55x for polyvec_ntt, KeyGen, Enc and Dec in Kyber-1024, respectively. Even when considering execution latency, our throughput-oriented full Kyber implementation maintains an acceptable execution latency. For instance, the execution latency ranges from 1.02 to 5.68 milliseconds for Kyber-1024 on R3080 when achieving the peak throughput.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“ConvKyber: Unleashing the Power of AI Accelerators for Faster Kyber with Novel Iteration-based Approaches” by Tian Zhou, Fangyu Zheng, Guang Fan, Lipeng Wan, Wenxu Tang, Yixuan Song, Yi Bian, Jingqiang Lin, Cryptology ePrint Archive, Paper 2024/095, https://eprint.iacr.org/2024/095. 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-01-22T04:59:28Z",
    "updated": "2024-01-22T04:59:28Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/095.pdf",
    "sha256": "4f50ae428ca63e74bcfbb25ce8553bb89da9b0b48411b4d591b43def5b192551",
    "size": 9360847,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2024/095/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/095.pdf",
      "size": 9360847,
      "sha256": "4f50ae428ca63e74bcfbb25ce8553bb89da9b0b48411b4d591b43def5b192551",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2024/095/versions/20250423T135407Z.pdf",
      "captured_at": "2025-04-23T13:54:07Z",
      "label": "copy captured 2025-04-23",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20250423135407id_/https://eprint.iacr.org/2024/095.pdf",
      "size": 5242880,
      "sha256": "bc38df247a7771222f19bd340b3533317b7cdd6a3cbcbd39b91236f55ffb0c40",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/095.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 9360847
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20250423135407id_/https://eprint.iacr.org/2024/095.pdf",
      "captured_at": "2025-04-23T13:54:07Z",
      "size": 4108038
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/095,\n      author = {Tian Zhou and Fangyu Zheng and Guang Fan and Lipeng Wan and Wenxu Tang and Yixuan Song and Yi Bian and Jingqiang Lin},\n      title = {ConvKyber: Unleashing the Power of AI Accelerators for Faster Kyber with Novel Iteration-based Approaches},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/095},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/095}\n}"
}
