Lune

PLDI2024顶会

Foundational Integration Verification of a Cryptographic Server

Andres Erbsen, Jade Philipoom, Dustin Jamner, Ashley Lin, Samuel Gruetter, Clément Pit-Claudel, Adam Chlipala

摘要

We present verification of a bare-metal server built using diverse implementation techniques and languages against a whole-system input-output specification in terms of machine code, network packets, and mathematical specifications of elliptic-curve cryptography. We used very different formal-reasoning techniques throughout the stack, ranging from computer algebra, symbolic execution, and verification-condition generation to interactive verification of functional programs including compilers for C-like and functional languages. All these component specifications and domain-specific reasoning techniques are defined and justified against common foundations in the Coq proof assistant. Connecting these components is a minimalistic specification style based on functional programs and assertions over simple objects, omnisemantics for program execution, and basic separation logic for memory layout. This design enables us to bring the components together in a top-level correctness theorem that can be audited without understanding or trusting the internal interfaces and tools. Our case study is a simple cryptographic server for flipping of a bit of state through public-key authenticated network messages, and its proof shows total functional correctness including static bounds on memory usage. This paper also describes our experiences with the specific verification tools we build upon, along with detailed analysis of reasons behind the widely varying levels of productivity we experienced between combinations of tools and tasks.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Smooth, Integrated Proofs of Cryptographic Constant Time for Nondeterministic Programs and Compilers 引用了 Integration verification across software and hardware for a simple embedded system
  • Smooth, Integrated Proofs of Cryptographic Constant Time for Nondeterministic Programs and Compilers 引用了 EverCrypt: A Fast, Verified, Cross-Platform Cryptographic Provider
  • Smooth, Integrated Proofs of Cryptographic Constant Time for Nondeterministic Programs and Compilers 引用了 Simple High-Level Code for Cryptographic Arithmetic - With Proofs, Without Compromises
  • Smooth, Integrated Proofs of Cryptographic Constant Time for Nondeterministic Programs and Compilers 引用了 Jasmin: High-Assurance and High-Speed Cryptography
  • EverCrypt: A Fast, Verified, Cross-Platform Cryptographic Provider 引用了 Verified Correctness and Security of mbedTLS HMAC-DRBG
  • EverCrypt: A Fast, Verified, Cross-Platform Cryptographic Provider 引用了 Simple High-Level Code for Cryptographic Arithmetic - With Proofs, Without Compromises
  • EverCrypt: A Fast, Verified, Cross-Platform Cryptographic Provider 引用了 Jasmin: High-Assurance and High-Speed Cryptography
  • KEM-IND-CCA-Preserving Compilation of Jasmin's ML-KEM 引用了 Integration verification across software and hardware for a simple embedded system
  • KEM-IND-CCA-Preserving Compilation of Jasmin's ML-KEM 引用了 Smooth, Integrated Proofs of Cryptographic Constant Time for Nondeterministic Programs and Compilers
  • KEM-IND-CCA-Preserving Compilation of Jasmin's ML-KEM 引用了 EverCrypt: A Fast, Verified, Cross-Platform Cryptographic Provider
  • KEM-IND-CCA-Preserving Compilation of Jasmin's ML-KEM 引用了 Simple High-Level Code for Cryptographic Arithmetic - With Proofs, Without Compromises
  • KEM-IND-CCA-Preserving Compilation of Jasmin's ML-KEM 引用了 Jasmin: High-Assurance and High-Speed Cryptography
  • Modular Verification of Secure and Leakage-Free Systems: From Application Specification to Circuit-Level Implementation 引用了 Integration verification across software and hardware for a simple embedded system
  • Modular Verification of Secure and Leakage-Free Systems: From Application Specification to Circuit-Level Implementation 引用了 EverCrypt: A Fast, Verified, Cross-Platform Cryptographic Provider
  • Modular Verification of Secure and Leakage-Free Systems: From Application Specification to Circuit-Level Implementation 引用了 Simple High-Level Code for Cryptographic Arithmetic - With Proofs, Without Compromises
  • Simple High-Level Code for Cryptographic Arithmetic - With Proofs, Without Compromises 引用了 Jasmin: High-Assurance and High-Speed Cryptography
  • Jasmin: High-Assurance and High-Speed Cryptography 引用了 Verified Correctness and Security of mbedTLS HMAC-DRBG
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. Unifying Compositional Verification and Certified Compilation with a Three-Dimensional Refinement AlgebraYu Zhang, Jérémie Koenig, Zhong Shao, Yuting WangPOPL 2025 · 2 次引用
  2. Modular Verification of Secure and Leakage-Free Systems: From Application Specification to Circuit-Level ImplementationAnish Athalye, Henry Corrigan-Gibbs, M. Frans Kaashoek, Joseph Tassarotti 等SOSP 2024 · 2 次引用
  3. Smooth, Integrated Proofs of Cryptographic Constant Time for Nondeterministic Programs and CompilersOwen Conoly, Andres Erbsen, Adam ChlipalaPLDI 2025 · 1 次引用
  4. KEM-IND-CCA-Preserving Compilation of Jasmin's ML-KEMSantiago Arranz-Olmos, Gilles Barthe, Lionel Blatter, Benjamin Gregoire 等CCS 2026 · 1 次引用

它引用的 Paper9

  1. Jasmin: High-Assurance and High-Speed CryptographyJosé Bacelar Almeida, Manuel Barbosa, Gilles Barthe, Arthur Blot 等CCS 2017 · 157 次引用
  2. Simple High-Level Code for Cryptographic Arithmetic - With Proofs, Without CompromisesAndres Erbsen, Jade Philipoom, Jason Gross, Robert Sloan 等S&P 2019 · 147 次引用
  3. EverCrypt: A Fast, Verified, Cross-Platform Cryptographic ProviderJonathan Protzenko, Bryan Parno, Aymeric Fromherz, Chris Hawblitzel 等S&P 2020 · 114 次引用
  4. Verified Correctness and Security of mbedTLS HMAC-DRBGKatherine Q. Ye, Matthew Green, Naphat Sanguansin, Lennart Beringer 等CCS 2017 · 59 次引用
  5. Integration verification across software and hardware for a simple embedded systemAndres Erbsen, Samuel Gruetter, Joonwon Choi, Clark Wood 等PLDI 2021 · 29 次引用

相关 Paper

  1. The Last Mile: High-Assurance and High-Speed Cryptographic ImplementationsJosé Bacelar Almeida, Manuel Barbosa, Gilles Barthe, Benjamin Grégoire 等S&P 2020 · 67 次引用
  2. Owl: Compositional Verification of Security Protocols via an Information-Flow Type SystemJoshua Gancher, Sydney Gibson, Pratap Singh, Samvid Dharanikota 等S&P 2023
  3. Verified Cryptographic Code for EverybodyBrett Boston, Samuel Breese, Joey Dodds, Mike Dodds 等CAV 2021 · 7 次引用
  4. Certified Verification of Algebraic Properties on Low-Level Mathematical Constructs in Cryptographic ProgramsMing-Hsien Tsai, Bow-Yaw Wang, Bo-Yin YangCCS 2017 · 19 次引用
  5. Foundational Multi-Modal Program VerifiersVladimir Gladshtein, George Pîrlea, Qiyuan Zhao, Vitaly Kurin 等POPL 2026 · 4 次引用
黄昏的海面,两侧是细线勾勒的悬崖