Formally Verifying Kyber - Episode V: Machine-Checked IND-CCA Security and Correctness of ML-KEM in EasyCrypt
José Bacelar Almeida, Santiago Arranz-Olmos, Manuel Barbosa, Gilles Barthe, François Dupressoir, Benjamin Grégoire, Vincent Laporte, Jean-Christophe Léchenet, Cameron Low, Tiago Oliveira, Hugo Pacheco, Miguel Quaresma
摘要
We present a formally verified proof of the correctness and IND-CCA security of ML-KEM, the Kyber-based Key Encapsulation Mechanism (KEM) undergoing standardization by NIST. The proof is machine-checked in EasyCrypt and it includes: 1) A formalization of the correctness (decryption failure probability) and IND-CPA security of the Kyber base public-key encryption scheme, following Bos et al. at Euro S&P 2018; 2) A formalization of the relevant variant of the Fujisaki-Okamoto transform in the Random Oracle Model (ROM), which follows closely (but not exactly) Hofheinz, Hövelmanns and Kiltz at TCC 2017; 3) A proof that the IND-CCA security of the ML-KEM specification and its correctness as a KEM follows from the previous results; 4) Two formally verified implementations of ML-KEM written in Jasmin that are provably constant-time, functionally equivalent to the ML-KEM specification and, for this reason, inherit the provable security guarantees established in the previous points. The top-level theorems give self-contained concrete bounds for the correctness and security of ML-KEM down to (a variant of) Module-LWE. We discuss how they are built modularly by leveraging various EasyCrypt features.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- SoK: Computer-Aided Cryptography 引用了 Verified Correctness and Security of mbedTLS HMAC-DRBG
- SoK: Computer-Aided Cryptography 引用了 The Last Mile: High-Assurance and High-Speed Cryptographic Implementations
- SoK: Computer-Aided Cryptography 引用了 Jasmin: High-Assurance and High-Speed Cryptography
- KEM-IND-CCA-Preserving Compilation of Jasmin's ML-KEM 引用了 SoK: Computer-Aided Cryptography
- KEM-IND-CCA-Preserving Compilation of Jasmin's ML-KEM 引用了 The Last Mile: High-Assurance and High-Speed Cryptographic Implementations
- KEM-IND-CCA-Preserving Compilation of Jasmin's ML-KEM 引用了 Jasmin: High-Assurance and High-Speed Cryptography
- The Last Mile: High-Assurance and High-Speed Cryptographic Implementations 引用了 Verified Correctness and Security of mbedTLS HMAC-DRBG
- The Last Mile: High-Assurance and High-Speed Cryptographic Implementations 引用了 Jasmin: High-Assurance and High-Speed Cryptography
- Faster Verification of Faster Implementations: Combining Deductive and Circuit-Based Reasoning in EasyCrypt 引用了 SoK: Computer-Aided Cryptography
- Faster Verification of Faster Implementations: Combining Deductive and Circuit-Based Reasoning in EasyCrypt 引用了 The Last Mile: High-Assurance and High-Speed Cryptographic Implementations
- Faster Verification of Faster Implementations: Combining Deductive and Circuit-Based Reasoning in EasyCrypt 引用了 Jasmin: High-Assurance and High-Speed Cryptography
- Jasmin: High-Assurance and High-Speed Cryptography 引用了 Verified Correctness and Security of mbedTLS HMAC-DRBG
- Protecting Cryptographic Code Against Spectre-RSB: (and, in Fact, All Known Spectre Variants) 引用了 SoK: Computer-Aided Cryptography
- Protecting Cryptographic Code Against Spectre-RSB: (and, in Fact, All Known Spectre Variants) 引用了 The Last Mile: High-Assurance and High-Speed Cryptographic Implementations
- Protecting Cryptographic Code Against Spectre-RSB: (and, in Fact, All Known Spectre Variants) 引用了 Jasmin: High-Assurance and High-Speed Cryptography
引用它的顶会 Paper7
- KEM-IND-CCA-Preserving Compilation of Jasmin's ML-KEMSantiago Arranz-Olmos, Gilles Barthe, Lionel Blatter, Benjamin Gregoire 等CCS 2026 · 1 次引用
- Protecting Cryptographic Code Against Spectre-RSB: (and, in Fact, All Known Spectre Variants)Santiago Arranz-Olmos, Gilles Barthe, Chitchanok Chuengsatiansup, Benjamin Grégoire 等ASPLOS 2025 · 1 次引用
- Shadowfax: Hybrid Security and Deniability for AKEMsPhillip Gajland, Vincent Hwang, Jonas JanneckUSENIX Security 2026
- The SecureDrop Protocol: End-to-End Encrypted Whistleblowing for AllGiulio Berra, Felix Linker, Luca Maier, Cory Francis Myers 等CCS 2026
- Faster Verification of Faster Implementations: Combining Deductive and Circuit-Based Reasoning in EasyCryptJosé Bacelar Almeida, Gustavo Xavier Delerue Marinho Alves, Manuel Barbosa, Gilles Barthe 等S&P 2025
它引用的 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 次引用
- A Key-Recovery Timing Attack on Post-quantum Primitives Using the Fujisaki-Okamoto Transformation and Its Application on FrodoKEMQian Guo, Thomas Johansson, Alexander NilssonCRYPTO 2020 · 84 次引用
- The Last Mile: High-Assurance and High-Speed Cryptographic ImplementationsJosé Bacelar Almeida, Manuel Barbosa, Gilles Barthe, Benjamin Grégoire 等S&P 2020 · 67 次引用
- Verified Correctness and Security of mbedTLS HMAC-DRBGKatherine Q. Ye, Matthew Green, Naphat Sanguansin, Lennart Beringer 等CCS 2017 · 59 次引用
相关 Paper
- Proof-of-Possession for KEM Certificates using Verifiable GenerationTim Güneysu, Philip W. Hodges, Georg Land, Mike Ounsworth 等CCS 2022 · 7 次引用
- Formal Verification of Saber's Public-Key Encryption Scheme in EasyCryptAndreas Hülsing, Matthias Meijers, Pierre-Yves StrubCRYPTO 2022 · 11 次引用
- Faster Lattice-Based KEMs via a Generic Fujisaki-Okamoto Transform Using Prefix HashingJulien Duman, Kathrin Hövelmanns, Eike Kiltz, Vadim Lyubashevsky 等CCS 2021 · 1 次引用
- Machine-Checked Security for rmXMSS as in RFC 8391 and Manuel Barbosa, François Dupressoir, Benjamin Grégoire, Andreas Hülsing 等CRYPTO 2023 · 3 次引用
- MPC-in-the-Head Framework without Repetition and its Applications to the Lattice-based CryptographyWeihao Bai, Long Chen, Qianwen Gao, Zhenfeng ZhangS&P 2024 · 2 次引用
