{
  "id": "2021/1648",
  "url": "https://opencryptology.org/2021/1648",
  "original_url": "https://eprint.iacr.org/2021/1648",
  "title": "A Scalable SIMD RISC-V based Processor with Customized Vector Extensions for CRYSTALS-Kyber",
  "authors": [
    "Huimin Li",
    "Nele Mentens",
    "Stjepan Picek"
  ],
  "affiliations": null,
  "abstract": "SHA-3 is considered to be one of the most secure standardized hash functions. It relies on the Keccak-f[1,600] permutation, which operates on an internal state of 1,600 bits, mostly represented as a $5\\times5\\times64{-}bit$ matrix. While existing implementations process the state sequentially in chunks of typically 32 or 64 bits, the Keccak-f[1,600] permutation can benefit a lot from speedup through parallelization. This paper is the first to explore the full potential of parallelization of Keccak-f[1,600] in RISC-V based processors through custom vector extensions on 32-bit and 64-bit architectures.\nWe analyze the Keccak-f[1,600] permutation, composed of five different step mappings, and propose ten custom vector instructions to speed up the computation. We realize these extensions in a SIMD processor described in SystemVerilog. We compare the performance of our designs to existing architectures based on vectorized application-specific instruction set processors (ASIP). We show that our designs outperform all related work thanks to our carefully selected custom vector instructions.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“A Scalable SIMD RISC-V based Processor with Customized Vector Extensions for CRYSTALS-Kyber” by Huimin Li, Nele Mentens, Stjepan Picek, Cryptology ePrint Archive, Paper 2021/1648, https://eprint.iacr.org/2021/1648. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2021-12-17T14:29:47Z",
    "updated": "2022-09-28T08:35:24Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2021/1648.pdf",
    "sha256": "a8ac8e5560091a67900dc435b31ad3f521a1911485e7e4532994aed39c8b240e",
    "size": 636306,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:28Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2021/1648/versions/20240114T061328Z.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/1648.pdf",
      "size": 636306,
      "sha256": "a8ac8e5560091a67900dc435b31ad3f521a1911485e7e4532994aed39c8b240e",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2021/1648/versions/20211218T154211Z.pdf",
      "captured_at": "2021-12-18T15:42:11Z",
      "label": "copy captured 2021-12-18",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20211218154211id_/https://eprint.iacr.org/2021/1648.pdf",
      "size": 655944,
      "sha256": "ab8f625fbae75b77cf900947c8ddc5187812de335b4000954cd8f45bf57c3875",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260219142346id_/https://eprint.iacr.org/2021/1648.pdf",
      "captured_at": "2026-02-19T14:23:46Z",
      "size": 585956
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/1648.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "size": 636306
    }
  ],
  "bibtex": "@misc{cryptoeprint:2021/1648,\n      author = {Huimin Li and Nele Mentens and Stjepan Picek},\n      title = {A Scalable SIMD RISC-V based Processor with Customized Vector Extensions for CRYSTALS-Kyber},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2021/1648},\n      year = {2021},\n      url = {https://eprint.iacr.org/2021/1648}\n}"
}
