{
  "id": "2022/868",
  "url": "https://opencryptology.org/2022/868",
  "original_url": "https://eprint.iacr.org/2022/868",
  "title": "Maximizing the Potential of Custom RISC-V Vector Extensions for Speeding up SHA-3 Hash Functions",
  "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×5×64-bit matrix. While software 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.\n%Such a structure is suitable to work under vector instructions in data-parallel operation mode. This paper uses the RISC-V vector extensions to explore its performance in 64-bit and 32-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 hardware/software co-design to a software-only implementation on the one hand and to existing architectures based on (vectorized) hardware/software co-design on the other hand. We show that our design outperforms all related work thanks to our carefully selected custom vector instructions.",
  "category": "Applications",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Maximizing the Potential of Custom RISC-V Vector Extensions for Speeding up SHA-3 Hash Functions” by Huimin Li, Nele Mentens, Stjepan Picek, Cryptology ePrint Archive, Paper 2022/868, https://eprint.iacr.org/2022/868. 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-07-03T08:37:35Z",
    "updated": "2022-07-19T08:51:58Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/868.pdf",
    "sha256": "1af32e358ae0c733b4f40cfa6fa1f469ed1ec08a5f76a9b56a4ee8179112cf11",
    "size": 844254,
    "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/868/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/868.pdf",
      "size": 844254,
      "sha256": "1af32e358ae0c733b4f40cfa6fa1f469ed1ec08a5f76a9b56a4ee8179112cf11",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2022/868/versions/20220704T122107Z.pdf",
      "captured_at": "2022-07-04T12:21:07Z",
      "label": "copy captured 2022-07-04",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20220704122107id_/https://eprint.iacr.org/2022/868.pdf",
      "size": 988453,
      "sha256": "8b177aa4ff43c21324cdc1498848655bffcdb04f1648fa496f8ae39ac10a6a73",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20250518231728id_/https://eprint.iacr.org/2022/868.pdf",
      "captured_at": "2025-05-18T23:17:28Z",
      "size": 722143
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/868.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 844254
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/868,\n      author = {Huimin Li and Nele Mentens and Stjepan Picek},\n      title = {Maximizing the Potential of Custom RISC-V Vector Extensions for Speeding up SHA-3 Hash Functions},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/868},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/868}\n}"
}
