{
  "id": "2020/1083",
  "url": "https://opencryptology.org/2020/1083",
  "original_url": "https://eprint.iacr.org/2020/1083",
  "title": "A Fast and Compact RISC-V Accelerator for Ascon and Friends",
  "authors": [
    "Stefan Steinegger",
    "Robert Primas"
  ],
  "affiliations": null,
  "abstract": "Ascon-p is the core building block of Ascon, the winner in the lightweight category\nof the CAESAR competition. With ISAP, another Ascon-p-based AEAD scheme is currently competing\nin the 2nd round of the NIST lightweight cryptography standardization project.\nIn contrast to Ascon, ISAP focuses on providing hardening/protection against a large\nclass of implementation attacks, such as DPA, DFA, SFA, and SIFA, entirely on mode-level.\nConsequently, Ascon-p can be used to realize a wide range of cryptographic computations such\nas authenticated encryption, hashing, pseudorandom number generation, with or\nwithout the need for implementation security, which makes it the perfect choice\nfor lightweight cryptography on embedded devices.\n\nIn this paper, we implement Ascon-p as an instruction extension for RISC-V\nthat is tightly coupled to the processors register file and thus does not\nrequire any dedicated registers.\nThis single instruction allows us to realize all cryptographic computations\nthat typically occur on embedded devices with high performance.\nMore concretely, with ISAP and Ascon's family of modes for AEAD and hashing, we can perform\ncryptographic computations with a performance of about 2 cycles/byte,\nor about 4 cycles/byte if protection against fault attacks and power analysis is desired.\n\nAs we show, our instruction extension requires only 4.7 kGE, or about half the area of dedicated\nAscon co-processor designs, and is easy to integrate into low-end\nembedded devices like 32-bit ARM Cortex-M or RISC-V microprocessors. Finally, we\nanalyze the provided implementation security of ISAP, when implemented using\nour instruction extension.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“A Fast and Compact RISC-V Accelerator for Ascon and Friends” by Stefan Steinegger, Robert Primas, Cryptology ePrint Archive, Paper 2020/1083, https://eprint.iacr.org/2020/1083. 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-09-09T06:48:41Z",
    "updated": "2020-10-02T09:07:22Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2020/1083.pdf",
    "sha256": "2856604e947203bb356ff7cb394ec0f1e6768b703ba04db56475f8148f159298",
    "size": 589017,
    "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/1083/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/1083.pdf",
      "size": 589017,
      "sha256": "2856604e947203bb356ff7cb394ec0f1e6768b703ba04db56475f8148f159298",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2020/1083/versions/20200924T125511Z.pdf",
      "captured_at": "2020-09-24T12:55:11Z",
      "label": "copy captured 2020-09-24",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20200924125511id_/https://eprint.iacr.org/2020/1083.pdf",
      "size": 583030,
      "sha256": "88122a415d209d59ca652358ceae021b3ba6267fada6807ca0418b62ccec5733",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20240915111746id_/https://eprint.iacr.org/2020/1083.pdf",
      "captured_at": "2024-09-15T11:17:46Z",
      "size": 577329
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/1083.pdf",
      "captured_at": "2024-01-14T06:13:14Z",
      "size": 589017
    }
  ],
  "bibtex": "@misc{cryptoeprint:2020/1083,\n      author = {Stefan Steinegger and Robert Primas},\n      title = {A Fast and Compact RISC-V Accelerator for Ascon and Friends},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2020/1083},\n      year = {2020},\n      url = {https://eprint.iacr.org/2020/1083}\n}"
}
