Leakage-Free Probabilistic Jasmin Programs

This paper presents a semantic characterization of leakage-freeness through timing side-channels for Jasmin programs. Our characterization covers probabilistic Jasmin programs that are not constant-time. In addition, we provide a characterization in terms of probabilistic relational Hoare logic and prove the equivalence between both definitions. We also prove that our new characterizations are compositional and relate our new definitions to existing ones from prior work, which could only be applied to deterministic programs. To provide practical evidence, we use the Jasmin framework to develop a rejection sampling algorithm and provide an EasyCrypt proof that ensures the algorithm's implementation is leakage-free while not being constant-time.

Authors

Institutions

Publication Details

Published
2025-01-10
DOI
https://doi.org/10.1145/3703595.3705871
Primary Topic
Security and Verification in Computing
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Leakage-Free Probabilistic Jasmin Programs

José Bacelar Almeida, Denis Firsov, Dominique Unruh, Tiago Oliveira
Security and Verification in Computing
article

Leakage-Free Probabilistic Jasmin Programs

José Bacelar Almeida, Denis Firsov, Dominique Unruh, Tiago Oliveira
article en

Abstract

This paper presents a semantic characterization of leakage-freeness through timing side-channels for Jasmin programs. Our characterization covers probabilistic Jasmin programs that are not constant-time. In addition, we provide a characterization in terms of probabilistic relational Hoare logic and prove the equivalence between both definitions. We also prove that our new characterizations are compositional and relate our new definitions to existing ones from prior work, which could only be applied to deterministic programs. To provide practical evidence, we use the Jasmin framework to develop a rejection sampling algorithm and provide an EasyCrypt proof that ensures the algorithm's implementation is leakage-free while not being constant-time.

Tallinn University of Technology (EE), Instituto de Engenharia de Sistemas e Computadores Investigação e Desenvolvimento (PT), INESC TEC (PT), University of Tartu (EE), RWTH Aachen University (DE), University of Minho (PT)
Eesti Teadusagentuur, Fundação para a Ciência e a Tecnologia
Openalex Percentile: Top 100%
Security and Verification in Computing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Leakage-Free Probabilistic Jasmin Programs — José Bacelar Almeida, Denis Firsov, et al. · (2025) | TGRS Research Map | TGRS