Tweakable SM4: How to tweak SM4 into tweakable block ciphers?

被引:1
|
作者
Guo, Zhenzhen [1 ,2 ]
Wang, Gaoli [1 ,2 ]
Dunkelman, Orr [3 ]
Pan, Yinxue [1 ]
Liu, Shengyuan [1 ]
机构
[1] East China Normal Univ, Software Engn Inst, Shanghai Key Lab Trustworthy Comp, Shanghai 200062, Peoples R China
[2] State Key Lab Cryptol, POB 5159, Bengjing 100878, Peoples R China
[3] Univ Haifa, Comp Sci Dept, Haifa, Israel
基金
中国国家自然科学基金;
关键词
Tweakable block cipher; SM4; TNT; MILP; CRYPTANALYSIS; BLOCKCIPHERS; ROUNDS; MODES;
D O I
10.1016/j.jisa.2022.103406
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
SM4 is China's commercial block cipher standard and an ISO/IEC international standard. While SM4 withstood a great deal of analysis, its non-tweakable structure makes it inflexible. In this paper, we study three different methods to turn SM4 into a tweakable block cipher. Based on the Tweak-aNd-Tweak (TNT) introduced by Bao et al. at EUROCRYPT 2020, we propose the first scheme, called TNT-SM4, which can be treated as an instantiation of TNT. For comparative analysis, the 128 and 32 bits tweaks are both adopted, which is denoted as TNT-SM4-128 and TNT-SM4-32, respectively. By taking full advantage of the structural characteristics of SM4, we also propose the second method, which studies how to tweak SM4 into a tweakable block cipher in a direct way. With the design goal of reducing the design, security evaluation, and implementation costs, we use SM4 as is and attach a lightweight linear tweak schedule to it. The biggest challenge is to find the best insertion location for tweaks in both aspects of security and efficiency. We extensively utilize mixed integer linear programming (MILP) to perform a comprehensive search. The third method adopts the same tweak schedule as the key schedule of SM4, which is equivalent to one more key schedule for SM4. We analyze the security of the three schemes, focusing on related-key and related-tweak attacks, and provide a comparative analysis of the three schemes. The results show that our schemes are secure, and a better scheme that makes SM4 more flexible is obtained from the comparison of the three schemes.
引用
收藏
页数:15
相关论文
共 50 条
  • [41] Correlation Power Analysis for SM4 Based on ISOMAP
    Ma Peng
    Zhong WeiDong
    Liu Xiang
    Nie Juni
    PROCEEDINGS OF 2020 IEEE 5TH INFORMATION TECHNOLOGY AND MECHATRONICS ENGINEERING CONFERENCE (ITOEC 2020), 2020, : 1165 - 1168
  • [42] Improvement and implementation of SM4 algorithm based on FPGA
    Jiang, Zijing
    Yu, Longfei
    Tang, Xinyue
    Zhang, Renxiu
    Ding, Wei
    Ding, Qun
    Journal of Network Intelligence, 2021, 6 (01): : 83 - 93
  • [43] Iterative Block Ciphers from Tweakable Block Ciphers with Long Tweaks
    Nakamichi, Ryota
    Iwata, Tetsu
    IACR TRANSACTIONS ON SYMMETRIC CRYPTOLOGY, 2019, 2019 (04) : 54 - 80
  • [44] Quantum circuit implementations of SM4 block cipher based on different gate sets
    Lin, Da
    Xiang, Zejun
    Xu, Runqing
    Zeng, Xiangyong
    Zhang, Shasha
    QUANTUM INFORMATION PROCESSING, 2023, 22 (07)
  • [45] Quantum circuit implementations of SM4 block cipher based on different gate sets
    Da Lin
    Zejun Xiang
    Runqing Xu
    Xiangyong Zeng
    Shasha Zhang
    Quantum Information Processing, 22
  • [46] 针对SM4密码算法的模板攻击
    匡晓云
    黄开天
    兰天
    杜之波
    吴震
    成都信息工程大学学报, 2021, 36 (05) : 499 - 502
  • [47] Optimized SM4 Hardware Implementations for Low Area Consumption
    Zhang, Ruolin
    Xiang, Zejun
    Zhang, Shasha
    Zeng, Xiangyong
    Song, Min
    IET INFORMATION SECURITY, 2024, 2024
  • [48] Finding Differential Characteristics of SM4 Algorithm Based on MILP
    Pan Y.
    Wang G.
    Ni J.
    Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2022, 59 (10): : 2299 - 2308
  • [49] Improved White-box SM4 Design and Implementation
    Li, Yanjun
    Bi, Xinjie
    Jing, Xiaoyu
    Zou, Zexiao
    Yang, Long
    PROCEEDINGS OF 2023 7TH INTERNATIONAL CONFERENCE ON ELECTRONIC INFORMATION TECHNOLOGY AND COMPUTER ENGINEERING, EITCE 2023, 2023, : 1256 - 1261
  • [50] Efficient implementation scheme of SM4 algorithm based on FPGA
    Zhang, Hongke
    Yuan, Haonan
    Ding, Wenxiu
    Yan, Zheng
    Li, Bin
    Liang, Dong
    Tongxin Xuebao/Journal on Communications, 2024, 45 (05): : 140 - 150