{
  "id": "2025/980",
  "url": "https://opencryptology.org/2025/980",
  "original_url": "https://eprint.iacr.org/2025/980",
  "title": "Formal Security and Functional Verification of Cryptographic Protocol Implementations in Rust",
  "authors": [
    "Karthikeyan Bhargavan",
    "Lasse Letager Hansen",
    "Franziskus Kiefer",
    "Jonas Schneider-Bensch",
    "Bas Spitters"
  ],
  "affiliations": null,
  "abstract": "We present an effective methodology for the formal verification of\n  practical cryptographic protocol implementations written in\n  Rust. Within a single proof framework, we show how to develop\n  machine-checked proofs of diverse properties like runtime safety,\n  parsing correctness, and cryptographic protocol security. All\n  analysis tasks are driven by the software developer who writes\n  annotations in the Rust source code and chooses a backend prover for\n  each task, ranging from a generic proof assistant like F$\\star$ to\n  dedicated crypto-oriented provers like ProVerif and SSProve Our\n  main contribution is a demonstration of this methodology on Bert13,\n  a portable, post-quantum implementation of TLS 1.3 written in Rust\n  and verified both for security and functional correctness.  To our\n  knowledge, this is the first security verification result for a\n  protocol implementation written in Rust, and the first verified\n  post-quantum TLS 1.3 library.",
  "category": "Implementation",
  "license": {
    "code": "CC BY-SA",
    "url": "https://creativecommons.org/licenses/by-sa/4.0/",
    "label": "CC BY-SA 4.0",
    "attribution": "“Formal Security and Functional Verification of Cryptographic Protocol Implementations in Rust” by Karthikeyan Bhargavan, Lasse Letager Hansen, Franziskus Kiefer, Jonas Schneider-Bensch, Bas Spitters, Cryptology ePrint Archive, Paper 2025/980, https://eprint.iacr.org/2025/980. Licensed under CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-05-28T11:54:39Z",
    "updated": "2025-10-10T08:40:46Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/980.pdf",
    "sha256": "2e047b1a890091c31852dec85022bc8f8758f88b364a6f2d867f9f308ee9358e",
    "size": 705172,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/980/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/2025/980.pdf",
      "size": 705172,
      "sha256": "2e047b1a890091c31852dec85022bc8f8758f88b364a6f2d867f9f308ee9358e",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2025/980/versions/20250617T094002Z.pdf",
      "captured_at": "2025-06-17T09:40:02Z",
      "label": "copy captured 2025-06-17",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20250617094002id_/https://eprint.iacr.org/2025/980.pdf",
      "size": 502250,
      "sha256": "9b28ebc537333a144c12132da774f3c29a1245af7b4c8bc5b5824a006f15eab1",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20261003094942id_/https://eprint.iacr.org/2025/980.pdf",
      "captured_at": "2026-10-03T09:49:42Z",
      "size": 698821
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/980.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 705172
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/980,\n      author = {Karthikeyan Bhargavan and Lasse Letager Hansen and Franziskus Kiefer and Jonas Schneider-Bensch and Bas Spitters},\n      title = {Formal Security and Functional Verification of Cryptographic Protocol Implementations in Rust},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/980},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/980}\n}"
}
