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

hacspec: Towards verifiable crypto standards

  • INRIA Institut National de Recherche en Informatique et en Automatique
  • Mozilla Corporation

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 present hacspec, a collaborative effort to design a formal specification language for cryptographic primitives. Specifications (specs) written in hacspec are succinct, easy to read and implement, and lend themselves to formal verification using a variety of existing tools. The syntax of hacspec is similar to the pseudocode used in cryptographic standards but is equipped with a static type system and syntax checking tools that can find errors. Specs written in hacspec are executable and can hence be tested against test vectors taken from standards and specified in a common format. Finally, hacspec is designed to be compilable to other formal specification languages like F*, EasyCrypt, Coq, and cryptol, so that it can be used as the basis for formal proofs of functional correctness and cryptographic security using various verification frameworks. This paper presents the syntax, design, and tool architecture of hacspec. We demonstrate the use of the language to specify popular cryptographic algorithms, and describe preliminary compilers from hacspec to F* and to EasyCrypt. Our goal is to invite authors of cryptographic standards to write their pseudocode in hacspec and to help the formal verification community develop the language and tools that are needed to promote high-assurance cryptographic software backed by mathematical proofs.

langue originaleAnglais
titreSecurity Standardisation Research - 4th International Conference, SSR 2018, Proceedings
rédacteurs en chefCas Cremers, Anja Lehmann
EditeurSpringer Verlag
Pages1-20
Nombre de pages20
ISBN (imprimé)9783030047610
Les DOIs
étatPublié - 1 janv. 2018
Evénement4th Conference on Security Standards Research, SSR 2018 - Darmstadt, Allemagne
Durée: 26 nov. 201827 nov. 2018

Série de publications

NomLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume11322 LNCS
ISSN (imprimé)0302-9743
ISSN (Electronique)1611-3349

Une conférence

Une conférence4th Conference on Security Standards Research, SSR 2018
Pays/TerritoireAllemagne
La villeDarmstadt
période26/11/1827/11/18

Empreinte digitale

Examiner les sujets de recherche de « hacspec: Towards verifiable crypto standards ». Ensemble, ils forment une empreinte digitale unique.

Contient cette citation