Journal of Xidian University ›› 2022, Vol. 49 ›› Issue (2): 146-154.doi: 10.19665/j.issn1001-2400.2022.02.017

• Computer Science and Technology & Cyberspace Security • Previous Articles     Next Articles

Self-equivalence encodings and improvements of white-box implementations

LUO Yinuo1(),TONG Peng2(),CHEN Jie1,3(),DONG Xiaoli3()   

  1. 1. State Key Laboratory of Integrated Services Networks,Xidian University,Xi’an 710071,China
    2. School of Cyber Engineering,Xidian University,Xi’an 710071,China
    3. Guangxi Key Laboratory of Cryptography and Information Security,Guilin University of Electronic Technology,Guilin 541004,China
  • Received:2021-05-19 Online:2022-04-20 Published:2022-05-31

Abstract:

In the white box attack environment,the attacker can not only access the input and output of the cryptographic algorithms,but also obtain the internal details of the algorithms and control the terminal.In this environment,CHOW et al.constructed the look-up tables by using network encodings,embedded the key in the look-up tables,and designed the white-box implementation scheme for the AES algorithm and DES algorithm.The white-box implementation of the cryptographic algorithm based on self-equivalent encodings design is a new implementation method.RANEA et al.designed a white-box implementation scheme for substitution replacement cipher by using the self-equivalent encodings of the S-box.The size of encoding space completely depends on the S-box self-equivalence of the cipher,and the security analysis also shows that the application scope of this scheme is limited.In view of this situation,this paper considers the impact of self-equivalence of the S-box on the security of white-box implementation,and proposes two improved schemes for expanding the encoding space of the white-box implementation scheme by adding self-equivalence encodings to the linear layer or linear encodings to the affine layer.Security analysis shows that the two improved schemes can effectively resist the attacks from RANEAet al,and expand the application scope of the scheme.Finally,based on the above two design schemes,this paper constructs two white-box implementations of the AES algorithm,and compares the security with the white-box AES scheme of RANEA et al.The comparison results show that the two improved schemes can resist protocol attacks based on the centralization problem and asymmetric problem.

Key words: white-box implementation, encoding, block cipher, SPN cipher

CLC Number: 

  • TN918.1