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

The last mile: High-assurance and high-speed cryptographic implementations

  • Jose Bacelar Almeida
  • , Manuel Barbosa
  • , Gilles Barthe
  • , Benjamin Gregoire
  • , Adrien Koutsos
  • , Vincent Laporte
  • , Tiago Oliveira
  • , Pierre Yves Strub
  • Universidade de Minho
  • Ipatimup Diagnósticos
  • MPI for Security and Privacy and IMDEA Software
  • INRIA Institut National de Recherche en Informatique et en Automatique
  • Université Paris
  • Ecole Polytechnique

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 develop a new approach for building cryptographic implementations. Our approach goes the last mile and delivers assembly code that is provably functionally correct, protected against side-channels, and as efficient as hand-written assembly. We illustrate our approach using ChaCha20-Poly1305, one of the two ciphersuites recommended in TLS 1.3, and deliver formally verified vectorized implementations which outperform the fastest non-verified code.We realize our approach by combining the Jasmin framework, which offers in a single language features of high-level and low-level programming, and the EasyCrypt proof assistant, which offers a versatile verification infrastructure that supports proofs of functional correctness and equivalence checking. Neither of these tools had been used for functional correctness before. Taken together, these infrastructures empower programmers to develop efficient and verified implementations by "game hopping", starting from reference implementations that are proved functionally correct against a specification, and gradually introducing program optimizations that are proved correct by equivalence checking.We also make several contributions of independent interest, including a new and extensible verified compiler for Jasmin, with a richer memory model and support for vectorized instructions, and a new embedding of Jasmin in EasyCrypt.

langue originaleAnglais
titreProceedings - 2020 IEEE Symposium on Security and Privacy, SP 2020
EditeurInstitute of Electrical and Electronics Engineers Inc.
Pages965-982
Nombre de pages18
ISBN (Electronique)9781728134970
Les DOIs
étatPublié - 1 mai 2020
Modification externeOui
Evénement41st IEEE Symposium on Security and Privacy, SP 2020 - San Francisco, États-Unis
Durée: 18 mai 202021 mai 2020

Série de publications

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

Une conférence

Une conférence41st IEEE Symposium on Security and Privacy, SP 2020
Pays/TerritoireÉtats-Unis
La villeSan Francisco
période18/05/2021/05/20

Empreinte digitale

Examiner les sujets de recherche de « The last mile: High-assurance and high-speed cryptographic implementations ». Ensemble, ils forment une empreinte digitale unique.

Contient cette citation