Verified Correctness and Security of mbedTLS HMAC-DRBG
Katherine Q. Ye, Matthew Green, Naphat Sanguansin, Lennart Beringer, Adam Petcher, Andrew W. Appel
摘要
We have formalized the functional specification of HMAC-DRBG (NIST 800-90A), and we have proved its cryptographic securitythat its output is pseudorandom-using a hybrid game-based proof. We have also proved that the mbedTLS implementation (C program) correctly implements this functional specification. at proof composes with an existing C compiler correctness proof to guarantee, end-to-end, that the machine language program gives strong pseudorandomness. All proofs (hybrid games, C program verification, compiler, and their composition) are machine-checked in the Coq proof assistant. Our proofs are modular: the hybrid game proof holds on any implementation of HMAC-DRBG that satisfies our functional specification. erefore, our functional specification can serve as a high-assurance reference. 1 A note on terminology: we use "entropy" loosely to denote randomness that is not predictable by an adversary. We use "sampled uniformly at random" and "ideally random" interchangeably. We use PRG, the acronym for "pseudo-random generator," to refer to the abstract cryptographic concept, whereas we use DRBG, the acronym for "deterministic random bit generator," to denote the specifications and implementations of PRGs. Instead of DRBG, some papers use "PRNG," the acronym for "pseudorandom number generator." e terms are synonymous.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 15 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Formal verification of a constant-time preserving C compiler 引用了 The Last Mile: High-Assurance and High-Speed Cryptographic Implementations
- Formal verification of a constant-time preserving C compiler 引用了 Jasmin: High-Assurance and High-Speed Cryptography
- EverCrypt: A Fast, Verified, Cross-Platform Cryptographic Provider 引用了 The Last Mile: High-Assurance and High-Speed Cryptographic Implementations
- EverCrypt: A Fast, Verified, Cross-Platform Cryptographic Provider 引用了 Jasmin: High-Assurance and High-Speed Cryptography
- SoK: Computer-Aided Cryptography 引用了 Formal verification of a constant-time preserving C compiler
- SoK: Computer-Aided Cryptography 引用了 EverCrypt: A Fast, Verified, Cross-Platform Cryptographic Provider
- SoK: Computer-Aided Cryptography 引用了 The Last Mile: High-Assurance and High-Speed Cryptographic Implementations
- SoK: Computer-Aided Cryptography 引用了 A Systematic Analysis of the Juniper Dual EC Incident
- SoK: Computer-Aided Cryptography 引用了 Jasmin: High-Assurance and High-Speed Cryptography
- The Last Mile: High-Assurance and High-Speed Cryptographic Implementations 引用了 Jasmin: High-Assurance and High-Speed Cryptography
引用它的顶会 Paper15
- SoK: Computer-Aided CryptographyManuel Barbosa, Gilles Barthe, Karthik Bhargavan, Bruno Blanchet 等S&P 2021 · 169 次引用
- Jasmin: High-Assurance and High-Speed CryptographyJosé Bacelar Almeida, Manuel Barbosa, Gilles Barthe, Arthur Blot 等CCS 2017 · 157 次引用
- EverCrypt: A Fast, Verified, Cross-Platform Cryptographic ProviderJonathan Protzenko, Bryan Parno, Aymeric Fromherz, Chris Hawblitzel 等S&P 2020 · 114 次引用
- Formal verification of a constant-time preserving C compilerGilles Barthe, Sandrine Blazy, Benjamin Grégoire, Rémi Hutin 等POPL 2020 · 77 次引用
- The Last Mile: High-Assurance and High-Speed Cryptographic ImplementationsJosé Bacelar Almeida, Manuel Barbosa, Gilles Barthe, Benjamin Grégoire 等S&P 2020 · 67 次引用
它引用的 Paper2
相关 Paper
- Security Analysis of NIST CTR-DRBGViet Tung Hoang, Yaobin ShenCRYPTO 2020 · 14 次引用
- KEM-IND-CCA-Preserving Compilation of Jasmin's ML-KEMSantiago Arranz-Olmos, Gilles Barthe, Lionel Blatter, Benjamin Gregoire 等CCS 2026 · 1 次引用
- Quantifying the Security Cost of Migrating Protocols to PracticeChristopher Patton, Thomas ShrimptonCRYPTO 2020 · 2 次引用
- When Messages Are Keys: Is HMAC a Dual-PRF?Matilda Backendal, Mihir Bellare, Felix Günther, Matteo ScarlataCRYPTO 2023 · 14 次引用
- Verified Cryptographic Code for EverybodyBrett Boston, Samuel Breese, Joey Dodds, Mike Dodds 等CAV 2021 · 7 次引用
