Jazzline: Composable CryptoLine Functional Correctness Proofs for Jasmin Programs

  • José Bacelar Almeida
  • , Manuel Barbosa
  • , Gilles Barthe
  • , Lionel Blatter
  • , Gustavo Delerue
  • , João Diogo Duarte
  • , Benjamin Gregoire
  • , Tiago Oliveira
  • , Miguel Quaresma
  • , Pierre Yves Strub
  • , Ming Hsien Tsai
  • , Bow Yaw Wang
  • , Bo Yin Yang

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Jasmin is a programming language for high-speed and high-assurance cryptography. Correctness proofs of Jasmin programs are typically carried out deductively in EasyCrypt. This allows generality, modularity and composable reasoning, but does not scale well for low-level architecture-specific routines. CryptoLine offers a semi-automatic approach to formally verify algebraically-rich low-level cryptographic routines. CryptoLine proofs are self-contained: they are not integrated into higher-level formal verification developments. This paper shows how to soundly use CryptoLine to discharge subgoals in functional correctness proofs for complex Jasmin programs. We extend Jasmin with annotations and provide an automatic translation into a CryptoLine model, where most complex transformations are certified. We also formalize and implement the automatic extraction of the semantics of a CryptoLine proof to EasyCrypt. Our motivating use-case is the X-Wing hybrid KEM, for which we present the first formally verified implementation.

Original languageEnglish
Title of host publicationCCS 2025 - Proceedings of the 2025 ACM SIGSAC Conference on Computer and Communications Security
PublisherAssociation for Computing Machinery, Inc
Pages1409-1423
Number of pages15
ISBN (Electronic)9798400715259
DOIs
Publication statusPublished - 22 Nov 2025
Externally publishedYes
Event32nd ACM SIGSAC Conference on Computer and Communications Security, CCS 2025 - Taipei, Taiwan, Province of China
Duration: 13 Oct 202517 Oct 2025

Publication series

NameCCS 2025 - Proceedings of the 2025 ACM SIGSAC Conference on Computer and Communications Security

Conference

Conference32nd ACM SIGSAC Conference on Computer and Communications Security, CCS 2025
Country/TerritoryTaiwan, Province of China
CityTaipei
Period13/10/2517/10/25

Keywords

  • CryptoLine
  • EasyCrypt
  • Formal Verification
  • Jasmin

Fingerprint

Dive into the research topics of 'Jazzline: Composable CryptoLine Functional Correctness Proofs for Jasmin Programs'. Together they form a unique fingerprint.

Cite this