Abstract

In this paper we present the first formally verified implementations of Kyber and, to the best of our knowledge, the first such implementations of any post-quantum cryptosystem. We give a (readable) formal specification of Kyber in the EasyCrypt proof assistant, which is syntactically very close to the pseudocode description of the scheme as given in the most recent version of the NIST submission. We present high-assurance open-source implementations of Kyber written in the Jasmin language, along with machine-checked proofs that they are functionally correct with respect to the EasyCrypt specification. We describe a number of improvements to the EasyCrypt and Jasmin frameworks that were needed for this implementation and verification effort, and we present detailed benchmarks of our implementations, showing that our code achieves performance close to existing hand-optimized implementations in C and assembly.

Keywords:
Implementation Computer science Mathematical proof NIST Programming language Cryptosystem Code (set theory) Scheme (mathematics) Theoretical computer science Cryptography Algorithm Mathematics Set (abstract data type)

Metrics

9
Cited By
2.30
FWCI (Field Weighted Citation Impact)
16
Refs
0.87
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Cryptographic Implementations and Security
Physical Sciences →  Computer Science →  Artificial Intelligence
Cryptography and Data Security
Physical Sciences →  Computer Science →  Artificial Intelligence
Security and Verification in Computing
Physical Sciences →  Computer Science →  Artificial Intelligence

Related Documents

BOOK-CHAPTER

Formally Verifying Graphics FPU

Aarti GuptaM. KirankumarRajnish Ghughal

Lecture notes in computer science Year: 2014 Pages: 673-687
JOURNAL ARTICLE

Formally Verifying Industry Cryptography

Mike Dodds

Journal:   IEEE Security & Privacy Year: 2022 Vol: 20 (3)Pages: 65-70
JOURNAL ARTICLE

Formally Verifying Imperative Programs

José Pedro Magalhães

Journal:   Journal of Hepato-Biliary-Pancreatic Sciences Year: 2007 Vol: 21 (5)Pages: 343-8
© 2026 ScienceGate Book Chapters — All rights reserved.