{
  "id": "2024/1192",
  "url": "https://opencryptology.org/2024/1192",
  "original_url": "https://eprint.iacr.org/2024/1192",
  "title": "Towards ML-KEM & ML-DSA on OpenTitan",
  "authors": [
    "Amin Abdulrahman",
    "Felix Oberhansl",
    "Hoang Nguyen Hien Pham",
    "Jade Philipoom",
    "Peter Schwabe",
    "Tobias Stelzer",
    "Andreas Zankl"
  ],
  "affiliations": null,
  "abstract": "This paper presents extensions to the OpenTitan hardware root of trust that aim at enabling high-performance lattice-based cryptography.\nWe start by carefully optimizing ML-KEM and ML-DSA --- the two algorithms primarily recommended and standardized by NIST --- in software targeting the OTBN accelerator.\nBased on profiling results of these implementations, we propose tightly integrated extensions to OTBN, specifically an interface from OTBN to OpenTitan's Keccak accelerator (KMAC core) and extensions to the OTBN ISA to support operations on 256-bit vectors.\nWe implement these extensions in hardware and show that we achieve a speedup by a factor between 6 and 9 for different operations and parameter sets of ML-KEM and ML-DSA compared to our baseline implementation on unmodified OTBN.\nThis speedup is achieved with an increase in cell count of less than 17% in OTBN, which corresponds to an increase of less than 3% for the full Earl Grey OpenTitan core.",
  "category": "Implementation",
  "license": {
    "code": "CC0",
    "url": "https://creativecommons.org/publicdomain/zero/1.0/",
    "label": "CC0 1.0",
    "attribution": "“Towards ML-KEM & ML-DSA on OpenTitan” by Amin Abdulrahman, Felix Oberhansl, Hoang Nguyen Hien Pham, Jade Philipoom, Peter Schwabe, Tobias Stelzer, Andreas Zankl, Cryptology ePrint Archive, Paper 2024/1192, https://eprint.iacr.org/2024/1192. Licensed under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2024-07-24T06:13:13Z",
    "updated": "2025-05-14T17:46:25Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/1192.pdf",
    "sha256": "11dab6e62eeec90c2ae467b58996797e0f5ff24b2e96914b632995d0169d1187",
    "size": 678878,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2024/1192/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/1192.pdf",
      "size": 678878,
      "sha256": "11dab6e62eeec90c2ae467b58996797e0f5ff24b2e96914b632995d0169d1187",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2024/1192/versions/20240725T173121Z.pdf",
      "captured_at": "2024-07-25T17:31:21Z",
      "label": "copy captured 2024-07-25",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240725173121id_/https://eprint.iacr.org/2024/1192.pdf",
      "size": 942072,
      "sha256": "876e3332a576c81c4924d5fa68fab00893eef21db8e188aaeb6618e3fa3caeb8",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/1192.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 678878
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260212014126id_/https://eprint.iacr.org/2024/1192.pdf",
      "captured_at": "2026-02-12T01:41:26Z",
      "size": 677078
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/1192,\n      author = {Amin Abdulrahman and Felix Oberhansl and Hoang Nguyen Hien Pham and Jade Philipoom and Peter Schwabe and Tobias Stelzer and Andreas Zankl},\n      title = {Towards ML-KEM & ML-DSA on OpenTitan},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1192},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/1192}\n}"
}
