{
  "id": "2020/836",
  "url": "https://opencryptology.org/2020/836",
  "original_url": "https://eprint.iacr.org/2020/836",
  "title": "Assembly or Optimized C for Lightweight Cryptography on RISC-V?",
  "authors": [
    "Fabio Campos",
    "Lars Jellema",
    "Mauk Lemmen",
    "Lars Müller",
    "Amber Sprenkels",
    "Benoit Viguier"
  ],
  "affiliations": null,
  "abstract": "A major challenge when applying cryptography on constrained environments is the trade-off between performance and security. In this work, we analyzed different strategies for the optimization of several candidates of NIST's lightweight cryptography standardization project on a RISC-V architecture. In particular, we studied the general impact of optimizing symmetric-key algorithms in assembly and in plain C. Furthermore, we present optimized implementations, achieving a speed-up of up to 81% over available implementations, and discuss general implementation strategies.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Assembly or Optimized C for Lightweight Cryptography on RISC-V?” by Fabio Campos, Lars Jellema, Mauk Lemmen, Lars Müller, Amber Sprenkels, Benoit Viguier, Cryptology ePrint Archive, Paper 2020/836, https://eprint.iacr.org/2020/836. 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-12T12:28:09Z",
    "updated": "2022-12-16T15:40:20Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2020/836.pdf",
    "sha256": "8249ab258d73004396c539027cdcc3c9aa3e4298435282b8bc0cacd0ca4fcfb7",
    "size": 543654,
    "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/836/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/836.pdf",
      "size": 543654,
      "sha256": "8249ab258d73004396c539027cdcc3c9aa3e4298435282b8bc0cacd0ca4fcfb7",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2020/836/versions/20200927T010001Z.pdf",
      "captured_at": "2020-09-27T01:00:01Z",
      "label": "copy captured 2020-09-27",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20200927010001id_/https://eprint.iacr.org/2020/836.pdf",
      "size": 360241,
      "sha256": "3a7ac5fcd612e7db2015498240d31264eb69adcd0a030a9406de4ea9dc66b1a3",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260108044926id_/https://eprint.iacr.org/2020/836.pdf",
      "captured_at": "2026-01-08T04:49:26Z",
      "size": 540226
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/836.pdf",
      "captured_at": "2024-01-14T06:13:14Z",
      "size": 543654
    }
  ],
  "bibtex": "@misc{cryptoeprint:2020/836,\n      author = {Fabio Campos and Lars Jellema and Mauk Lemmen and Lars Müller and Amber Sprenkels and Benoit Viguier},\n      title = {Assembly or Optimized C for Lightweight Cryptography on RISC-V?},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2020/836},\n      year = {2020},\n      url = {https://eprint.iacr.org/2020/836}\n}"
}
