Lune

CCS2017顶会

Certified Verification of Algebraic Properties on Low-Level Mathematical Constructs in Cryptographic Programs

Ming-Hsien Tsai, Bow-Yaw Wang, Bo-Yin Yang

摘要

Mathematical constructs are necessary for computation on the underlying algebraic structures of cryptosystems. They are often written in assembly language and optimized manually for efficiency. We develop a certified technique to verify low-level mathematical constructs in X25519, the default elliptic curve Diffie-Hellman key exchange protocol used in OpenSSH. Our technique translates an algebraic specification of mathematical constructs into an algebraic problem. The algebraic problem in turn is solved by the computer algebra system Singular. The proof assistant Coq certifies the translation and solution to algebraic problems. Specifications about output ranges and potential program overflows are translated to SMT problems and verified by SMT solvers. We report our case studies on verifying arithmetic computation over a large finite field and the Montgomery Ladderstep, a crucial loop in X25519.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Verus: A Practical Foundation for Systems Verification 引用了 Vale: Verifying High-Performance Cryptographic Assembly Code
  • Verus: A Practical Foundation for Systems Verification 引用了 EverCrypt: A Fast, Verified, Cross-Platform Cryptographic Provider
  • EverCrypt: A Fast, Verified, Cross-Platform Cryptographic Provider 引用了 Vale: Verifying High-Performance Cryptographic Assembly Code
  • EverCrypt: A Fast, Verified, Cross-Platform Cryptographic Provider 引用了 The Last Mile: High-Assurance and High-Speed Cryptographic Implementations
  • The Last Mile: High-Assurance and High-Speed Cryptographic Implementations 引用了 Vale: Verifying High-Performance Cryptographic Assembly Code
  • Signed Cryptographic Program Verification with Typed CryptoLine 引用了 Vale: Verifying High-Performance Cryptographic Assembly Code
  • CryptOpt: Verified Compilation with Randomized Program Search for Cryptographic Primitives 引用了 EverCrypt: A Fast, Verified, Cross-Platform Cryptographic Provider
  • CryptOpt: Verified Compilation with Randomized Program Search for Cryptographic Primitives 引用了 Signed Cryptographic Program Verification with Typed CryptoLine
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper10

  1. EverCrypt: A Fast, Verified, Cross-Platform Cryptographic ProviderJonathan Protzenko, Bryan Parno, Aymeric Fromherz, Chris Hawblitzel 等S&P 2020 · 114 次引用
  2. The Last Mile: High-Assurance and High-Speed Cryptographic ImplementationsJosé Bacelar Almeida, Manuel Barbosa, Gilles Barthe, Benjamin Grégoire 等S&P 2020 · 67 次引用
  3. Verus: A Practical Foundation for Systems VerificationAndrea Lattuada, Travis Hance, Jay Bosamiya, Matthias Brun 等SOSP 2024 · 22 次引用
  4. Signed Cryptographic Program Verification with Typed CryptoLineYu-Fu Fu, Jiaxiang Liu, Xiaomu Shi, Ming-Hsien Tsai 等CCS 2019 · 19 次引用
  5. CryptOpt: Verified Compilation with Randomized Program Search for Cryptographic PrimitivesJoel Kuepper, Andres Erbsen, Jason Gross, Owen Conoly 等PLDI 2023 · 12 次引用

它引用的 Paper1

  1. Vale: Verifying High-Performance Cryptographic Assembly CodeBarry Bond, Chris Hawblitzel, Manos Kapritsos, K. Rustan M. Leino 等USENIX Security 2017 · 147 次引用

相关 Paper

  1. Certified Verification for Algebraic AbstractionMing-Hsien Tsai, Yu-Fu Fu, Jiaxiang Liu, Xiaomu Shi 等CAV 2023 · 1 次引用
  2. Simple High-Level Code for Cryptographic Arithmetic - With Proofs, Without CompromisesAndres Erbsen, Jade Philipoom, Jason Gross, Robert Sloan 等S&P 2019 · 147 次引用
  3. Jazzline: Composable CryptoLine Functional Correctness Proofs for Jasmin ProgramsJosé Bacelar Almeida, Manuel Barbosa, Gilles Barthe, Lionel Blatter 等CCS 2025
  4. Verified Cryptographic Code for EverybodyBrett Boston, Samuel Breese, Joey Dodds, Mike Dodds 等CAV 2021 · 7 次引用
  5. May the Fourth Be With You: A Microarchitectural Side Channel Attack on Several Real-World Applications of Curve25519Daniel Genkin, Luke Valenta, Yuval YaromCCS 2017 · 75 次引用
黄昏的海面,两侧是细线勾勒的悬崖