{
  "id": "2020/866",
  "url": "https://opencryptology.org/2020/866",
  "original_url": "https://eprint.iacr.org/2020/866",
  "title": "Development of The RISC-V Entropy Source Interface",
  "authors": [
    "Markku-Juhani O. Saarinen",
    "G. Richard Newell",
    "Ben Marshall"
  ],
  "affiliations": null,
  "abstract": "The RISC-V True Random Number Generator (TRNG) architecture breaks with previous ISA TRNG practice by splitting the Entropy Source (ES) component away from cryptographic DRBGs into a separate privileged interface, and in its use of polling. The modular approach is suitable for the RISC-V hardware IP ecosystem, allows a significantly smaller implementation footprint on platforms that need it, while directly supporting current standards compliance testing methods. We describe the interface, its use in cryptography, and offer additional discussion, background, and rationale for various aspects of it. The design was informed by lessons learned from earlier mainstream ISAs, recently introduced SP 800-90B and FIPS 140-3 entropy audit requirements, AIS 31 and Common Criteria, current and emerging cryptographic needs such as post-quantum cryptography, and the goal of supporting a wide variety of RISC-V implementations and applications. Many of the architectural choices result from quantitative observations about random number generators in secure microcontrollers, the Linux kernel, and cryptographic libraries.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Development of The RISC-V Entropy Source Interface” by Markku-Juhani O. Saarinen, G. Richard Newell, Ben Marshall, Cryptology ePrint Archive, Paper 2020/866, https://eprint.iacr.org/2020/866. 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:54:50Z",
    "updated": "2021-11-11T13:26:51Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2020/866.pdf",
    "sha256": "2c4f1be6d0869b126eb5e23b3df6e1782695bccb2e17bc316a7a84959a20e15d",
    "size": 353898,
    "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/866/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/866.pdf",
      "size": 353898,
      "sha256": "2c4f1be6d0869b126eb5e23b3df6e1782695bccb2e17bc316a7a84959a20e15d",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2020/866/versions/20211106T232031Z.pdf",
      "captured_at": "2021-11-06T23:20:31Z",
      "label": "copy captured 2021-11-06",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20211106232031id_/https://eprint.iacr.org/2020/866.pdf",
      "size": 354309,
      "sha256": "42884a99654da8fa5755b331c3322b8cdff9bca61ab8d7e9e935f9309d09c092",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2020/866/versions/20200917T124157Z.pdf",
      "captured_at": "2020-09-17T12:41:57Z",
      "label": "copy captured 2020-09-17",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20200917124157id_/https://eprint.iacr.org/2020/866.pdf",
      "size": 533372,
      "sha256": "0c3d10ca39647697c5aa2b75e2cb926b777612685cd2fcf8828a4827ecedab72",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20261002203512id_/https://eprint.iacr.org/2020/866.pdf",
      "captured_at": "2026-10-02T20:35:12Z",
      "size": 355215
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/866.pdf",
      "captured_at": "2024-01-14T06:13:14Z",
      "size": 353898
    }
  ],
  "bibtex": "@misc{cryptoeprint:2020/866,\n      author = {Markku-Juhani O. Saarinen and G. Richard Newell and Ben Marshall},\n      title = {Development of The RISC-V Entropy Source Interface},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2020/866},\n      year = {2020},\n      url = {https://eprint.iacr.org/2020/866}\n}"
}
