{
  "id": "2026/134",
  "url": "https://opencryptology.org/2026/134",
  "original_url": "https://eprint.iacr.org/2026/134",
  "title": "Completing the Chain: Verified Implementations of Hash-Based Signatures and Their Security",
  "authors": [
    "Manuel Barbosa",
    "François Dupressoir",
    "Rui Fernandes",
    "Andreas Hülsing",
    "Matthias Meijers",
    "Pierre-Yves Strub"
  ],
  "affiliations": null,
  "abstract": "We present the first formally verified implementation of a hash-based signature scheme that is linked to a machine-checked proof of security. Specifically, we provide reference implementations of XMSS and XMSS$^{\\textrm{MT}}$ written in Jasmin, targeting the AMD64 architecture. Beyond the implementations, we provide formal EasyCrypt specifications of XMSS and XMSS$^{\\textrm{MT}}$, transcribed from RFC~8391, and prove that our implementations adhere to these specifications. Furthermore, for XMSS, we give a machine-checked proof that our specification of RFC~8391 refines the abstract specification proven secure in EasyCrypt by Barbosa, Dupressoir, Grégoire, Hülsing, Meijers and Strub [CRYPTO'23]. In particular, we prove the security of our specification via a reduction, demonstrating that breaking our specification contradicts the [CRYPTO'23] result for our instantiation. Consequently, our implementation is not only functionally correct, but also adheres to a specification that is proven secure. The core technical challenge in our work resides in bridging low-level implementations of TreeHash algorithms with high-level functional specifications used in the pre-existing formalization.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Completing the Chain: Verified Implementations of Hash-Based Signatures and Their Security” by Manuel Barbosa, François Dupressoir, Rui Fernandes, Andreas Hülsing, Matthias Meijers, Pierre-Yves Strub, Cryptology ePrint Archive, Paper 2026/134, https://eprint.iacr.org/2026/134. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2026-01-27T21:14:50Z",
    "updated": "2026-01-27T21:14:50Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/134.pdf",
    "sha256": "38c341437a520540678fa6b5cf15805dceb03e4f63c177cf8f0d2d00a2f1adb2",
    "size": 803148,
    "source": "github-mirror",
    "source_date": "2026-05-12T11:28:48Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/134/versions/20260512T112848Z.pdf",
      "captured_at": "2026-05-12T11:28:48Z",
      "label": "copy captured 2026-05-12",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2026/134.pdf",
      "size": 803148,
      "sha256": "38c341437a520540678fa6b5cf15805dceb03e4f63c177cf8f0d2d00a2f1adb2",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2026/134.pdf",
      "captured_at": "2026-05-12T11:28:48Z",
      "size": 803148
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260421162132id_/https://eprint.iacr.org/2026/134.pdf",
      "captured_at": "2026-04-21T16:21:32Z",
      "size": 787347
    }
  ],
  "bibtex": "@misc{cryptoeprint:2026/134,\n      author = {Manuel Barbosa and François Dupressoir and Rui Fernandes and Andreas Hülsing and Matthias Meijers and Pierre-Yves Strub},\n      title = {Completing the Chain: Verified Implementations of Hash-Based Signatures and Their Security},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/134},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/134}\n}"
}
