Improved White-box SM4 Design and Implementation

被引:0
|
作者
Li, Yanjun [1 ]
Bi, Xinjie [2 ]
Jing, Xiaoyu [2 ]
Zou, Zexiao [3 ]
Yang, Long [1 ]
机构
[1] China Elect Technol Grp Corp, Informat Technol & Secur Test & Evaluat Ctr, Res Inst 15, Beijing, Peoples R China
[2] Beijing Elect Sci & Technol Inst, Dept Cryptol Sci & Technol, Beijing, Peoples R China
[3] Beijing Elect Sci & Technol Inst, Dept Cyberspace Secur, Beijing, Peoples R China
关键词
Block cipher; White-box SM4; Affine transformation; Look-up table; Nonlinear encoding;
D O I
10.1145/3650400.3650612
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
SM4, as a block cipher standard in China, has received extensive attention since the date of its publication. Its implementation correctness and security have rapidly become a research hotspot. With the popularity of cryptographic algorithms in network security, attack methods such as key whitening attack, software static analysis, and reverse engineering in the software implementation environment are also constantly developing. In order to resist these attack methods, a white-box implementation of the key in the cryptographic algorithm is required. Common white-box implementation schemes add a large number of linear or nonlinear transformations, which greatly reduces the implementation efficiency while enhancing the security. In this paper, we optimized the white-box design method of Xiao-Lai SM4 algorithm. According to its structural characteristics, we reduced one affine transformation and increased nonlinear encoding without disclosing the relevant information of intermediate data. Also, our work distinguished the implementation of the first, intermediate and last rounds. We operated the simulation implementation, and the implementation efficiency is significantly improved. Then the white-box diversity and white-box ambiguity in the optimized scheme are calculated, which proves the security of the optimized algorithm. After the correctness and implementation efficiency tests, the encryption speed is improved by 18.6% and the decryption speed is improved by 20.8% compared with the original scheme.
引用
收藏
页码:1256 / 1261
页数:6
相关论文
共 50 条
  • [1] A secure white-box SM4 implementation
    Bai, Kunpeng
    Wu, Chuankun
    [J]. SECURITY AND COMMUNICATION NETWORKS, 2016, 9 (10) : 996 - 1006
  • [2] An Efficient Masked White-Box Implementation of SM4
    Zhao, Dongyan
    Wang, Yubo
    Li, Yan
    Hu, Xiaobo
    Yu, Yanyan
    Chen, Shi
    Zheng, Shihui
    [J]. ELECTRONICS, 2024, 13 (12)
  • [3] Analysis and Improvement of White-box SM4 Implementation br
    ZHANG, Yueyu
    XU, Dong
    CHEN, Jie
    [J]. JOURNAL OF ELECTRONICS & INFORMATION TECHNOLOGY, 2022, 44 (08) : 2903 - 2913
  • [4] Cryptanalysis of a white-box SM4 implementation based on collision attack
    Wang, Rusi
    Guo, Hua
    Lu, Jiqiang
    Liu, Jianwei
    [J]. IET INFORMATION SECURITY, 2021, : 18 - 27
  • [5] Cryptanalysis of a white-box SM4 implementation based on collision attack
    Wang, Rusi
    Guo, Hua
    Lu, Jiqiang
    Liu, Jianwei
    [J]. IET Information Security, 2022, 16 (01) : 18 - 27
  • [6] A White-box Implementation of SM4 with Self-equivalence Encoding
    Chen, Jie
    Luo, Yinuo
    Liu, Jun
    Wang, Chao
    Zhang, Yueyu
    Dong, Xiaoli
    [J]. COMPUTER JOURNAL, 2023, 67 (03): : 1087 - 1098
  • [7] A Lightweight Nonlinear White-Box SM4 Implementation Applied to Edge IoT Agents
    Jin, Chao
    Bao, Zhejing
    Miao, Weiwei
    Zeng, Zeng
    Wei, Xiaogang
    Zhang, Rui
    [J]. IEEE ACCESS, 2023, 11 : 68717 - 68727
  • [8] Differential Computation Analysis of White-box SM4 Scheme
    Yuan, Zi-Qing
    Chen, Jie
    [J]. Ruan Jian Xue Bao/Journal of Software, 2023, 34 (08): : 3891 - 3904
  • [9] A White-Box SM4 Implementation by Introducing Pseudo States Applied to Edge IoT Agents
    Miao, Weiwei
    Jin, Chao
    Zeng, Zeng
    Bao, Zhejing
    Wei, Xiaogang
    Zhang, Rui
    [J]. 2022 4TH ASIA ENERGY AND ELECTRICAL ENGINEERING SYMPOSIUM (AEEES 2022), 2022, : 154 - 160
  • [10] Cryptanalysis Of A Type Of White-Box Implementations Of The SM4 Block Cipher
    Lu, Jiqiang
    Li, Jingyu
    Chen, Zexuan
    Li, Yanan
    [J]. COMPUTER JOURNAL, 2023, 67 (05): : 1663 - 1673