Skip to Main content Skip to Navigation
Conference papers

Verified Proofs of Higher-Order Masking

Gilles Barthe 1 Sonia Belaïd 2, 3 François Dupressoir 1 Pierre-Alain Fouque 4, 5 Benjamin Grégoire 6 Pierre-Yves Strub 1
3 CASCADE - Construction and Analysis of Systems for Confidentiality and Authenticity of Data and Entities
DI-ENS - Département d'informatique de l'École normale supérieure, Inria Paris-Rocquencourt, CNRS - Centre National de la Recherche Scientifique : UMR 8548
5 EMSEC - EMbedded SEcurity and Cryptography
6 MARELLE - Mathematical, Reasoning and Software
CRISAM - Inria Sophia Antipolis - Méditerranée
Abstract : In this paper, we study the problem of automatically verifying higher-order masking countermeasures. This problem is important in practice, since weaknesses have been discovered in schemes that were thought secure, but is inherently exponential: for t-order masking, it involves proving that every subset of t intermediate variables is distributed independently of the secrets. Some tools have been proposed to help cryptographers check their proofs, but are often limited in scope. We propose a new method, based on program verification techniques, to check the independence of sets of intermediate variables from some secrets. Our new language-based characterization of the problem also allows us to design and implement several algorithms that greatly reduce the number of sets of variables that need to be considered to prove this independence property on all valid adversary observations. The result of these algorithms is either a proof of security or a set of observations on which the independence property cannot be proved. We focus on AES implementations to check the validity of our algorithms. We also confirm the tool’s ability to give useful information when proofs fail, by rediscovering existing attacks and discovering new ones.
Document type :
Conference papers
Complete list of metadatas
Contributor : Sonia Belaid <>
Submitted on : Friday, October 16, 2015 - 5:14:50 PM
Last modification on : Friday, July 10, 2020 - 4:17:17 PM

Links full text



Gilles Barthe, Sonia Belaïd, François Dupressoir, Pierre-Alain Fouque, Benjamin Grégoire, et al.. Verified Proofs of Higher-Order Masking. Eurocrypt 2015, Apr 2015, Sofia, Bulgaria. ⟨10.1007/978-3-662-46800-5_18⟩. ⟨hal-01216699⟩



Record views