Formally verifying Kyber: Episode IV: Implementation correctness - Université de Lorraine
Communication Dans Un Congrès Année : 2023

Formally verifying Kyber: Episode IV: Implementation correctness

Vincent Laporte
Antoine Séré
  • Fonction : Auteur
  • PersonId : 1287558
Pierre-Yves Strub
  • Fonction : Auteur
  • PersonId : 857170

Résumé

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.
Fichier principal
Vignette du fichier
a.pdf (666.54 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)
Licence

Dates et versions

hal-04218417 , version 1 (26-09-2023)

Licence

Identifiants

Citer

José Bacelar Almeida, Manuel Barbosa, Gilles Barthe, Benjamin Grégoire, Vincent Laporte, et al.. Formally verifying Kyber: Episode IV: Implementation correctness. CHES 2023 - Conference on Cryptographic Hardware and Embedded Systems, IACR, Sep 2023, Praha, Czech Republic. pp.164-193, ⟨10.46586/tches.v2023.i3.164-193⟩. ⟨hal-04218417⟩
169 Consultations
213 Téléchargements

Altmetric

Partager

More