Hardware Private Circuits: From Trivial Composition to Full Verification
- 9 September 2020
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Computers
- Vol. 70 (10) , 1677-1690
Abstract
The design of glitch-resistant higher-order masking schemes is an important challenge in cryptographic engineering. A recent work by Moos et al. (CHES 2019) showed that most published schemes (and all efficient ones) exhibit local or composability flaws at high security orders, leaving a critical gap in the literature on hardware masking. In this paper, we first extend the simulatability framework of Bela\"{i}d et al. (EUROCRYPT 2016) and prove that a compositional strategy that is correct without glitches remains valid with glitches. We then use this extended framework to prove the first masked gadgets that enable trivial composition with glitches at arbitrary orders. We show that the resulting "Hardware Private Circuits" approach the implementation efficiency of previous (flawed) schemes. We finally investigate how trivial composition can serve as a basis for a tool that allows verifying full masked hardware implementations (e.g., of complete block ciphers) at any security order from their HDL code. As side products, we improve the randomness complexity of the best published refreshing gadgets, show that some S-box representations allow latency reductions and confirm practical claims based on implementation~results.Keywords
Funding Information
- ERC (724725)
This publication has 27 references indexed in Scilit:
- Formal Verification of Software Countermeasures against Side-Channel AttacksACM Transactions on Software Engineering and Methodology, 2014
- Higher-Order Threshold Implementations2014
- Side-Channel Resistant Crypto for Less than 2,300 GEJournal of Cryptology, 2010
- Secure Hardware Implementation of Nonlinear Functions in the Presence of GlitchesJournal of Cryptology, 2010
- Provably Secure Higher-Order Masking of AES2010
- Extending SAT Solvers to Cryptographic Problems2009
- Side Channel Cryptanalysis of a Higher Order Masking Scheme2007
- Higher Order Masking of the AES2006
- Masking at Gate Level in the Presence of Glitches2005
- Private Circuits: Securing Hardware against Probing Attacks2003