Paper 2018/438

Trivially and Efficiently Composing Masked Gadgets with Probe Isolating Non-Interference

Gaëtan Cassiers and François-Xavier Standaert

Abstract

We revisit the analysis and design of masked cryptographic implementations to prevent side-channel attacks. Our starting point is the (known) observation that proving the security of a higher-order masked block cipher exhaustively requires unrealistic computing power. As a result, a natural strategy is to split algorithms in smaller parts (or gadgets), with as main objectives to enable both simple composition (as initiated by Barthe et al. at CCS 2016) and efficient implementations. We argue that existing composition strategies allow either trivial composition with significant overheads or optimized composition with more analysis efforts. As a result, we first introduce a new definition of Probe Isolating Non-Interference (PINI) that allows both trivial composition and efficient implementations. We next prove general composition theorems for PINI gadgets that considerably simplify the analysis of complex masked implementations. We finally design efficient multiplication gadgets that satisfy this definition. As additional results, we exhibit a limitation of existing compositional strategies for the analysis of Multiple-Inputs / Multiple-Outputs (MIMO) gadgets, extend Barthe et al.'s definition of Strong Non-Interference (SNI) to deal with this context, and describe an optimization method to design efficient MIMO-SNI (sub)circuits. Our results allow proving the security of a recent masked AES implementation by Goudarzi and Rivain (EUROCRYPT 2017). From the implementation viewpoint, PINI implementations reach the level of performance of the best composable masking schemes for the AES Rijndael, and outperform them by significant factors for lightweight ciphers.

Metadata
Available format(s)
PDF
Publication info
Published elsewhere. IEEE Transactions on Information Forensics & Security
DOI
10.1109/TIFS.2020.2971153
Keywords
maskingsecurity proofsprobing modelsecure composition
Contact author(s)
gaetan cassiers @ uclouvain be
History
2020-02-27: last of 2 revisions
2018-05-14: received
See all versions
Short URL
https://ia.cr/2018/438
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2018/438,
      author = {Gaëtan Cassiers and François-Xavier Standaert},
      title = {Trivially and Efficiently Composing Masked Gadgets with Probe Isolating Non-Interference},
      howpublished = {Cryptology {ePrint} Archive, Paper 2018/438},
      year = {2018},
      doi = {10.1109/TIFS.2020.2971153},
      url = {https://eprint.iacr.org/2018/438}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.