{
  "id": "2020/930",
  "url": "https://opencryptology.org/2020/930",
  "original_url": "https://eprint.iacr.org/2020/930",
  "title": "The design of scalar AES Instruction Set Extensions for RISC-V",
  "authors": [
    "Ben Marshall",
    "G. Richard Newell",
    "Dan Page",
    "Markku-Juhani O. Saarinen",
    "Claire Wolf"
  ],
  "affiliations": null,
  "abstract": "Secure, efficient execution of AES is an essential requirement on most computing platforms. Dedicated Instruction Set Extensions (ISEs) are often included for this purpose. RISC-V is a (relatively) new ISA that lacks such a standardised ISE. We survey the state-of-the-art industrial and academic ISEs for AES, implement and evaluate five different ISEs, one of which is novel. We recommend separate ISEs for 32 and 64-bit base architectures, with measured performance improvements for an AES-128 block encryption of 4× and 10× with a hardware cost of 1.1K and 8.2K gates respectivley, when compared to a software-only implementation based on use of T-tables. We also explore how the proposed standard bit-manipulation extension to RISC-V can be harnessed for efficient implementation of AES-GCM. Our work supports the ongoing RISC-V cryptography extension standardisation process.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“The design of scalar AES Instruction Set Extensions for RISC-V” by Ben Marshall, G. Richard Newell, Dan Page, Markku-Juhani O. Saarinen, Claire Wolf, Cryptology ePrint Archive, Paper 2020/930, https://eprint.iacr.org/2020/930. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2020-07-29T19:04:07Z",
    "updated": "2020-10-02T11:17:19Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2020/930.pdf",
    "sha256": "c342391520407d533451074ed64fada743a4be2307d0958a93f831be735f6e1e",
    "size": 729914,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:14Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2020/930/versions/20240114T061314Z.pdf",
      "captured_at": "2024-01-14T06:13:14Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/930.pdf",
      "size": 729914,
      "sha256": "c342391520407d533451074ed64fada743a4be2307d0958a93f831be735f6e1e",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2020/930/versions/20200731T052509Z.pdf",
      "captured_at": "2020-07-31T05:25:09Z",
      "label": "copy captured 2020-07-31",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20200731052509id_/https://eprint.iacr.org/2020/930.pdf",
      "size": 1397288,
      "sha256": "0c13e6d698d7b4d024b8d53f8054ae2816de3361a2e2421d70327d18905538a0",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260219142344id_/https://eprint.iacr.org/2020/930.pdf",
      "captured_at": "2026-02-19T14:23:44Z",
      "size": 729994
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/930.pdf",
      "captured_at": "2024-01-14T06:13:14Z",
      "size": 729914
    }
  ],
  "bibtex": "@misc{cryptoeprint:2020/930,\n      author = {Ben Marshall and G. Richard Newell and Dan Page and Markku-Juhani O. Saarinen and Claire Wolf},\n      title = {The design of scalar AES Instruction Set Extensions for RISC-V},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2020/930},\n      year = {2020},\n      url = {https://eprint.iacr.org/2020/930}\n}"
}
