Metraipolis › archive › dc_d4838b9c6355

Scaling Verification of Cryptographic Software with Aeneas, Rust, and Lean — arXiv:2609.15648

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.15648
License (as archived)
CC0-1.0
Archived
2026-10-15T23:54:07.951Z
SHA-256 of the archived text
a71613b78dc66814a3325d7bf9c385696b8ff6ca4844975dbdce58d54ae32bab
Stable URL of this page
https://metraipolis.com/documento/dc_d4838b9c6355

How to cite

Scaling Verification of Cryptographic Software with Aeneas, Rust, and Lean — arXiv:2609.15648 — arXiv (en), https://arxiv.org/abs/2609.15648 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_d4838b9c6355 (Metraipolis archive dc_d4838b9c6355, sha256 a71613b78dc66814a3325d7bf9c385696b8ff6ca4844975dbdce58d54ae32bab)
BibTeX
@misc{dcd4838b9c6355,
  title = {Scaling Verification of Cryptographic Software with Aeneas, Rust, and Lean — arXiv:2609.15648},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.15648},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_d4838b9c6355; sha256 a71613b78dc66814a3325d7bf9c385696b8ff6ca4844975dbdce58d54ae32bab},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.15648. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

We develop a new methodology for verifying cryptographic software. We target production code written in Rust for performance and system integration, rather than verification convenience. Rust's ownership discipline enables Aeneas to extract a pure model of this code in Lean, relieving us from low-level reasoning about pointer liveness and aliasing. Lean's extensibility lets us develop tactics and libraries that greatly simplify reasoning about extracted Rust code. We design and tune our toolchain to facilitate the use of AI. Agents autonomously write formal proofs, which are independently verified by the Lean kernel. Agents also assist in the formalization of cryptographic standards and platform-specific intrinsics, which still requires expert design and review. We apply our methodology to SymCrypt, Microsoft's cryptographic provider. We verify its implementations of algorithms such as SHA-3 and ML-KEM, which were ported from C to Rust. We also extend SymCrypt with experimental optimizations and implementations of algorithms such as FrodoKEM, ML-DSA, and HPKE to explore the scalability of writing, adapting, and verifying cryptographic code. Our 237~KLOC Lean development establishes safety, panic-freedom, and functional correctness of 16.7~KLOC of Rust code supporting post-quantum cipher suites for x86-64 and ARM platforms. Our evaluation shows that verified Rust can meet SymCrypt's performance, portability, deployment, and maintainability requirements.

Tema degli esploratori: fiducia digitale e crittografia (retro-catalogo arXiv: annunci del 2026-09-15 in cs.CR).
Categorie arXiv: Cryptography and Security (cs.CR).
Pagina del lavoro: https://arxiv.org/abs/2609.15648 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-15T23:20:42.714Z dalla pagina https://arxiv.org/catchup/cs.CR/2026-09-15?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).