Paper 2020/443

A White-Box Masking Scheme Resisting Computational and Algebraic Attacks

Okan Seker, Thomas Eisenbarth, and Maciej Liskiewicz


White-box cryptography attempts to protect cryptographic secrets in pure software implementations. Due to their high utility, white-box cryptosystems (WBC) are deployed by the industry even though the security of these constructions is not well defined. A major breakthrough in generic cryptanalysis of WBC was Differential Computation Analysis (DCA), which requires minimal knowledge of the underlying white-box protection and also thwarts many obfuscation methods. To avert DCA, classic masking countermeasures originally intended to protect against highly related side-channel attacks have been proposed for use in WBC. However, due to the controlled environment of WBCs, new algebraic attacks against classic masking schemes have quickly been found. These algebraic DCA attacks break all classic masking countermeasures efficiently, as they are independent of the masking order. In this work, we propose a novel generic masking scheme that can resist both DCA and algebraic DCA attacks. The proposed scheme extends the seminal work by Ishai et al. which is probing secure and thus resists DCA, to also resist algebraic attacks. To prove the security of our scheme, we demonstrate the connection between two main security notions in white-box cryptography: probing security and prediction security. Resistance of our masking scheme to DCA is proven for an arbitrary order of protection, using the well-known strong non-interference notion by Barthe et al. Our masking scheme also resists algebraic attacks, which we show concretely for first and second-order algebraic protection. Moreover, we present an extensive performance analysis and quantify the overhead of our scheme, for a proof-of-concept protection of an AES implementation.

Available format(s)
Secret-key cryptography
Publication info
Published by the IACR in TCHES 2021
White-box CryptographyBoolean MaskingNon-linear MaskingProbing SecurityPrediction SecurityDifferential Computation AnalysisAlgebraic Attacks
Contact author(s)
okan seker @ uni-luebeck de
thomas eisenbarth @ uni-luebeck de
liskiewi @ tcs uni-luebeck de
2021-01-23: last of 4 revisions
2020-04-19: received
See all versions
Short URL
Creative Commons Attribution


      author = {Okan Seker and Thomas Eisenbarth and Maciej Liskiewicz},
      title = {A White-Box Masking Scheme Resisting Computational and Algebraic Attacks},
      howpublished = {Cryptology ePrint Archive, Paper 2020/443},
      year = {2020},
      note = {\url{}},
      url = {}
Note: In order to protect the privacy of readers, does not use cookies or embedded third party content.