Paper 2021/1586 Original: eprint.iacr.org/2021/1586 ↗

Cryptanalysis of a Type of White-Box Implementations of the SM4 Block Cipher

Jiqiang Lu
Jingyu Li
Zexuan Chen
Yanan Li
Abstract

The SM4 block cipher is a Chinese national standard and an ISO international standard. Since white-box cryptography has many real-life applications nowadays, a few white-box implementations of SM4 has been proposed, among which a type of constructions is dominated, that uses a linear or affine diagonal block encoding to protect the original three 32-bit branches entering a round function and uses its inverse as the input encoding to the S-box layer. In this paper, we analyse the security of this type of constructions against Lepoint et al.'s collision-based attack method, our experiment under a small fraction of (encodings, round key) combinations shows that the rank of the concerned linear system is much less than the number of the involved unknowns, meaning these white-box SM4 implementations should resist Lepoint et al.'s method, but we leave it as an open problem whether there are such encodings that the rank of the corresponding linear system is slightly less than the number of the involved unknowns, in which scenario Lepoint et al.'s method may be used to recover a round key for the case with linear encodings and to remove most white-box operations until mainly some Boolean masks for the case with affine encodings.

Metadata
Available format(s)
PDF
Category
Secret-key cryptography
Publication info
Preprint.
History
2025-04-05: last updated
2021-12-06: published
Short URL
https://ia.cr/2021/1586
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@misc{cryptoeprint:2021/1586,
      author = {Jiqiang Lu and Jingyu Li and Zexuan Chen and Yanan Li},
      title = {Cryptanalysis of a Type of White-Box Implementations of the SM4 Block Cipher},
      howpublished = {Cryptology {ePrint} Archive, Paper 2021/1586},
      year = {2021},
      url = {https://eprint.iacr.org/2021/1586}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.