{
  "id": "2022/607",
  "url": "https://opencryptology.org/2022/607",
  "original_url": "https://eprint.iacr.org/2022/607",
  "title": "Noise*: A Library of Verified High-Performance Secure Channel Protocol Implementations (Long Version)",
  "authors": [
    "Son Ho",
    "Jonathan Protzenko",
    "Abhishek Bichhawat",
    "Karthikeyan Bhargavan"
  ],
  "affiliations": null,
  "abstract": "The Noise protocol framework defines a succinct notation and execution\nframework for a large class of 59+ secure channel protocols, some of\nwhich are used in popular applications such as WhatsApp and WireGuard.\nWe present a verified implementation of a Noise\nprotocol compiler that takes any Noise protocol, and produces\nan optimized C implementation with extensive correctness and security\nguarantees.  To this end, we formalize the complete Noise stack in\nF*, from the low-level cryptographic library to a high-level API.\nWe write our compiler also in F*, prove that it meets our formal\nspecification once and for all, and then specialize it on-demand for\nany given Noise protocol, relying on a novel technique called\nhybrid embedding. We thusa establish functional correctness,\nmemory safety and a form of side-channel resistance for the generated\nC code for each Noise protocol. We propagate these guarantees to the\nhigh-level API, using defensive dynamic checks to prevent incorrect\nuses of the protocol.  Finally, we formally state and prove the\nsecurity of our Noise code, by building on a symbolic model of\ncryptography in F*, and formally link high-level API\nsecurity goals stated in terms of security levels to\nlow-level cryptographic guarantees.\nOurs are the first comprehensive verification results for a\nprotocol compiler that targets C code and the first verified\nimplementations of any Noise protocol.  We evaluate our framework by\ngenerating implementations for all 59 Noise protocols and by comparing\nthe size, performance, and security of our verified code against other\n(unverified) implementations and prior security analyses of Noise.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Noise*: A Library of Verified High-Performance Secure Channel Protocol Implementations (Long Version)” by Son Ho, Jonathan Protzenko, Abhishek Bichhawat, Karthikeyan Bhargavan, Cryptology ePrint Archive, Paper 2022/607, https://eprint.iacr.org/2022/607. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2022-05-23T08:20:12Z",
    "updated": "2022-05-23T08:20:12Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/607.pdf",
    "sha256": "d8941c9f36f0c1bd90d9d03aad1cb75de48e434361b8972c243fc2c88a5eb000",
    "size": 780326,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:34Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/607/versions/20240114T061334Z.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/607.pdf",
      "size": 780326,
      "sha256": "d8941c9f36f0c1bd90d9d03aad1cb75de48e434361b8972c243fc2c88a5eb000",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260213145150id_/https://eprint.iacr.org/2022/607.pdf",
      "captured_at": "2026-02-13T14:51:50Z",
      "size": 765066
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/607.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 780326
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/607,\n      author = {Son Ho and Jonathan Protzenko and Abhishek Bichhawat and Karthikeyan Bhargavan},\n      title = {Noise*: A Library of Verified High-Performance Secure Channel Protocol Implementations (Long Version)},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/607},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/607}\n}"
}
