Paper 2025/1092 Original: eprint.iacr.org/2025/1092 ↗

OwlC: Compiling Security Protocols to Verified, Secure, High-Performance Libraries

Pratap Singh
Joshua Gancher
Bryan Parno
Abstract

Cryptographic security protocols, such as TLS or WireGuard, form the foundation of a secure Internet; hence, a long line of research has shown how to formally verify their high-level designs. Unfortunately, these formal guarantees have not yet reached real-world implementations of these protocols, which still rely on testing and ad-hoc manual audits for security and correctness. This gap may be explained, in part, by the substantial performance and/or development overhead imposed by prior efforts to verify implementations. To make it more practical to deploy verified implementations of security protocols, we present OwlC, the first fully automated, security-preserving compiler for verified, high-performance implementations of security protocols. From a high-level protocol specification proven computationally secure in the Owl language, OwlC emits an efficient, interoperable, side-channel resistant Rust library that is automatically formally verified to be correct. We produce verified libraries for all previously written Owl protocols, and we also evaluate OwlC on two new verified case studies: WireGuard and Hybrid Public-Key Encryption (HPKE). Our verified implementations interoperate with existing implementations, and their performance matches unverified industrial baselines on end-to-end benchmarks.

Metadata
Available format(s)
PDF
Category
Cryptographic protocols
Publication info
Preprint.
History
2025-06-11: last updated
2025-06-11: published
Short URL
https://ia.cr/2025/1092
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@misc{cryptoeprint:2025/1092,
      author = {Pratap Singh and Joshua Gancher and Bryan Parno},
      title = {OwlC: Compiling Security Protocols to Verified, Secure, High-Performance Libraries},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1092},
      year = {2025},
      url = {https://eprint.iacr.org/2025/1092}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.