Passer à la navigation principale Passer à la recherche Passer au contenu principal

Faster Verification of Faster Implementations: Combining Deductive and Circuit-Based Reasoning in EasyCrypt

  • José Bacelar Almeida
  • , Gustavo Xavier Delerue Marinho Alves
  • , Manuel Barbosa
  • , Gilles Barthe
  • , Luís Esquível
  • , Vincent Hwang
  • , Tiago Oliveira
  • , Hugo Pacheco
  • , Peter Schwabe
  • , Pierre Yves Strub
  • Universidade de Minho
  • Ipatimup Diagnósticos
  • PQShield Ltd
  • Max Planck Institute for Security and Privacy
  • IMDEA Software Institute
  • SandboxAQ

Résultats de recherche: Le chapitre dans un livre, un rapport, une anthologie ou une collectionContribution à une conférenceRevue par des pairs

Résumé

We propose a hybrid formal verification approach that combines high-level deductive reasoning and circuit-based reasoning and apply it to highly optimized cryptographic assembly code. Our approach permits scaling up formal verification in two complementary directions: 1) it reduces the proof effort required for low-level functions where the computation logics are obfuscated by the intricate use of architecture-specific instructions and 2) it permits amortizing the effort of proving one implementation by using equivalence checking to propagate the guarantees to other implementations of the same computation using different optimizations or targeting different architectures. We demonstrate our approach via an extension to the EasyCrypt proof assistant and by revisiting formally verified implementations of ML-KEM in Jasmin. As a result, we obtain the first formally verified implementation of ML-KEM that offers performance comparable to the fastest non-verified implementation in x86-64 architectures.

langue originaleAnglais
titreProceedings - 46th IEEE Symposium on Security and Privacy, SP 2025
rédacteurs en chefMarina Blanton, William Enck, Cristina Nita-Rotaru
EditeurInstitute of Electrical and Electronics Engineers Inc.
Pages3820-3838
Nombre de pages19
ISBN (Electronique)9798331522360
Les DOIs
étatPublié - 1 janv. 2025
Modification externeOui
Evénement46th IEEE Symposium on Security and Privacy, SP 2025 - San Francisco, États-Unis
Durée: 12 mai 202515 mai 2025

Série de publications

NomProceedings - IEEE Symposium on Security and Privacy
ISSN (imprimé)1081-6011

Une conférence

Une conférence46th IEEE Symposium on Security and Privacy, SP 2025
Pays/TerritoireÉtats-Unis
La villeSan Francisco
période12/05/2515/05/25

Empreinte digitale

Examiner les sujets de recherche de « Faster Verification of Faster Implementations: Combining Deductive and Circuit-Based Reasoning in EasyCrypt ». Ensemble, ils forment une empreinte digitale unique.

Contient cette citation