Lune

CCS2019顶会

Signed Cryptographic Program Verification with Typed CryptoLine

Yu-Fu Fu, Jiaxiang Liu, Xiaomu Shi, Ming-Hsien Tsai, Bow-Yaw Wang, Bo-Yin Yang

摘要

We develop an automated formal technique to specify and verify signed computation in cryptographic programs. In addition to new instructions, we introduce a type system to detect type errors in programs. A type inference algorithm is also provided to deduce types and instruction variants in cryptographic programs. In order to verify signed cryptographic C programs, we develop a translator from the GCC intermediate representation to our language. Using our technique, we have verified 82 C functions in cryptography libraries including NaCl, wolfSSL, bitcoin, OpenSSL, and BoringSSL.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • SoK: Computer-Aided Cryptography 引用了 Vale: Verifying High-Performance Cryptographic Assembly Code
  • SoK: Computer-Aided Cryptography 引用了 Verified Correctness and Security of mbedTLS HMAC-DRBG
  • SoK: Computer-Aided Cryptography 引用了 Simple High-Level Code for Cryptographic Arithmetic - With Proofs, Without Compromises
  • SoK: Computer-Aided Cryptography 引用了 HACL: A Verified Modern Cryptographic Library
  • SoK: Computer-Aided Cryptography 引用了 Jasmin: High-Assurance and High-Speed Cryptography
  • Simple High-Level Code for Cryptographic Arithmetic - With Proofs, Without Compromises 引用了 Vale: Verifying High-Performance Cryptographic Assembly Code
  • Simple High-Level Code for Cryptographic Arithmetic - With Proofs, Without Compromises 引用了 HACL: A Verified Modern Cryptographic Library
  • Simple High-Level Code for Cryptographic Arithmetic - With Proofs, Without Compromises 引用了 Jasmin: High-Assurance and High-Speed Cryptography
  • High-Assurance Cryptography in the Spectre Era 引用了 Vale: Verifying High-Performance Cryptographic Assembly Code
  • High-Assurance Cryptography in the Spectre Era 引用了 SoK: Computer-Aided Cryptography
  • High-Assurance Cryptography in the Spectre Era 引用了 Simple High-Level Code for Cryptographic Arithmetic - With Proofs, Without Compromises
  • High-Assurance Cryptography in the Spectre Era 引用了 HACL: A Verified Modern Cryptographic Library
  • High-Assurance Cryptography in the Spectre Era 引用了 HACLxN: Verified Generic SIMD Crypto (for all your favourite platforms)
  • High-Assurance Cryptography in the Spectre Era 引用了 Jasmin: High-Assurance and High-Speed Cryptography
  • HACL: A Verified Modern Cryptographic Library 引用了 Vale: Verifying High-Performance Cryptographic Assembly Code
  • HACLxN: Verified Generic SIMD Crypto (for all your favourite platforms) 引用了 Vale: Verifying High-Performance Cryptographic Assembly Code
  • HACLxN: Verified Generic SIMD Crypto (for all your favourite platforms) 引用了 SoK: Computer-Aided Cryptography
  • HACLxN: Verified Generic SIMD Crypto (for all your favourite platforms) 引用了 Simple High-Level Code for Cryptographic Arithmetic - With Proofs, Without Compromises
  • HACLxN: Verified Generic SIMD Crypto (for all your favourite platforms) 引用了 HACL: A Verified Modern Cryptographic Library
  • HACLxN: Verified Generic SIMD Crypto (for all your favourite platforms) 引用了 Jasmin: High-Assurance and High-Speed Cryptography
  • Jasmin: High-Assurance and High-Speed Cryptography 引用了 Vale: Verifying High-Performance Cryptographic Assembly Code
  • Jasmin: High-Assurance and High-Speed Cryptography 引用了 Verified Correctness and Security of mbedTLS HMAC-DRBG
  • Jasmin: High-Assurance and High-Speed Cryptography 引用了 HACL: A Verified Modern Cryptographic Library
  • CryptOpt: Verified Compilation with Randomized Program Search for Cryptographic Primitives 引用了 Simple High-Level Code for Cryptographic Arithmetic - With Proofs, Without Compromises
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper8

  1. SoK: Computer-Aided CryptographyManuel Barbosa, Gilles Barthe, Karthik Bhargavan, Bruno Blanchet 等S&P 2021 · 169 次引用
  2. High-Assurance Cryptography in the Spectre EraGilles Barthe, Sunjay Cauligi, Benjamin Grégoire, Adrien Koutsos 等S&P 2021 · 42 次引用
  3. HACLxN: Verified Generic SIMD Crypto (for all your favourite platforms)Marina Polubelova, Karthikeyan Bhargavan, Jonathan Protzenko, Benjamin Beurdouche 等CCS 2020 · 17 次引用
  4. CryptOpt: Verified Compilation with Randomized Program Search for Cryptographic PrimitivesJoel Kuepper, Andres Erbsen, Jason Gross, Owen Conoly 等PLDI 2023 · 12 次引用
  5. ENG25519: Faster TLS 1.3 handshake using optimized X25519 and Ed25519Jipeng Zhang, Junhao Huang, Lirui Zhao, Donglong Chen 等USENIX Security 2024 · 11 次引用

它引用的 Paper6

  1. HACL*: A Verified Modern Cryptographic LibraryJean Karim Zinzindohoué, Karthikeyan Bhargavan, Jonathan Protzenko, Benjamin BeurdoucheCCS 2017 · 258 次引用
  2. Jasmin: High-Assurance and High-Speed CryptographyJosé Bacelar Almeida, Manuel Barbosa, Gilles Barthe, Arthur Blot 等CCS 2017 · 157 次引用
  3. Vale: Verifying High-Performance Cryptographic Assembly CodeBarry Bond, Chris Hawblitzel, Manos Kapritsos, K. Rustan M. Leino 等USENIX Security 2017 · 147 次引用
  4. Simple High-Level Code for Cryptographic Arithmetic - With Proofs, Without CompromisesAndres Erbsen, Jade Philipoom, Jason Gross, Robert Sloan 等S&P 2019 · 147 次引用
  5. Verified Correctness and Security of mbedTLS HMAC-DRBGKatherine Q. Ye, Matthew Green, Naphat Sanguansin, Lennart Beringer 等CCS 2017 · 59 次引用

相关 Paper

  1. Verified Cryptographic Code for EverybodyBrett Boston, Samuel Breese, Joey Dodds, Mike Dodds 等CAV 2021 · 7 次引用
  2. Certified Verification for Algebraic AbstractionMing-Hsien Tsai, Yu-Fu Fu, Jiaxiang Liu, Xiaomu Shi 等CAV 2023 · 1 次引用
  3. Verifying Constant-Time ImplementationsJosé Bacelar Almeida, Manuel Barbosa, Gilles Barthe, François Dupressoir 等USENIX Security 2016 · 274 次引用
  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. Formal verification of a constant-time preserving C compilerGilles Barthe, Sandrine Blazy, Benjamin Grégoire, Rémi Hutin 等POPL 2020 · 77 次引用
黄昏的海面,两侧是细线勾勒的悬崖