Verified Proofs of Higher-Order Masking - Archive ouverte HAL Access content directly
Conference Papers Year : 2015

Verified Proofs of Higher-Order Masking

(1) , (2, 3) , (1) , (4, 5) , (6) , (1)
1
2
3
4
5
6

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.

Dates and versions

hal-01216699 , version 1 (16-10-2015)

Identifiers

Cite

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⟩
140 View
0 Download

Altmetric

Share

Gmail Facebook Twitter LinkedIn More