《计算机应用》唯一官方网站 ›› 2023, Vol. 43 ›› Issue (10): 3156-3161.DOI: 10.11772/j.issn.1001-9081.2022091443

• 网络空间安全 • 上一篇    

密码组件安全指标测试工具设计与实现

霍珊珊1,2, 李艳俊1,2(), 刘健1, 李寅霜3   

  1. 1.中国电子科技集团公司第十五研究所 信息产业信息安全测评中心,北京 100083
    2.广西密码学与信息安全重点实验室(桂林电子科技大学),广西 桂林 541004
    3.北京电子科技学院 密码科学与技术系,北京 100070
  • 收稿日期:2022-09-29 修回日期:2022-12-16 接受日期:2022-12-28 发布日期:2023-03-16 出版日期:2023-10-10
  • 通讯作者: 李艳俊
  • 作者简介:霍珊珊(1981—),女,北京人,高级工程师,主要研究方向:信息安全、信息系统评估
    刘健(1983—),男,浙江文成人,高级工程师,硕士,主要研究方向:网络与信息安全、商用密码应用安全性评估
    李寅霜(1999—),女,四川成都人,硕士研究生,主要研究方向:分组密码分析方法。
  • 基金资助:
    广西密码学与信息安全重点实验室开放课题(GCIS201912);河南省网络密码技术重点实验室开放课题(LNCT2020?A09);北京高校“高精尖”学科建设项目(20210101Z0401)

Design and implementation of cipher component security criteria testing tool

Shanshan HUO1,2, Yanjun LI1,2(), Jian LIU1, Yinshuang LI3   

  1. 1.Information Technology Security Testing and Evaluation Center,The 15th Research Institute of China Electronics Technology Group Corporation,Beijing 100083,China
    2.Guangxi Key Laboratory of Cryptography and Information Security (Guilin University of Electronic Technology),Guilin Guangxi 541004,China
    3.Department of Cryptographic Science and Technology,Beijing Electronic Science and Technology Institute,Beijing 100070,China
  • Received:2022-09-29 Revised:2022-12-16 Accepted:2022-12-28 Online:2023-03-16 Published:2023-10-10
  • Contact: Yanjun LI
  • About author:HUO Shanshan, born in 1981, senior engineer. Her research interests include information security, information system evaluation.
    LIU Jian, born in 1983, M. S., senior engineer. His research interests include network and information security, security assessment of commercial cryptographic applications.
    LI Yinshuang, born in 1999, M. S. candidate. Her research interests include block cryptanalysis methods.
  • Supported by:
    Open Project of Guangxi Key Laboratory of Cryptography and Information Security(GCIS201912);Open Project of Henan Key Laboratory of Network Cryptography Technology(LNCT2020-A09);Advanced Discipline Construction Project of Beijing Universities(20210101Z0401)

摘要:

对称密码是信息系统中数据保密的核心技术,而非线性S盒通常是其中的关键密码组件,广泛用于分组密码、序列密码和MAC(Message Authentication Code)算法等设计。为了保障密码算法设计的安全性,首先,研究了差分均匀度、非线性度、不动点数、代数次数与项数、代数免疫度、雪崩特性、扩散特性的指标测试方法;其次,通过可视化窗口设计输出S盒的各个安全指标结果,并以弹窗形式给出对应安全指标的细节描述;再次,重点设计了S盒非线性度和代数免疫度的子模块,并对应非线性度简化了线性分布表,且基于定理对代数免疫度计算过程进行了优化和举例说明;最后,实现了S盒的测试工具,并给出了7种安全指标测试和案例演示。所提测试工具主要应用于对称密码算法的非线性组件S盒安全指标的测试,进而为算法整体提供安全保障。

关键词: 非线性组件, S盒, 安全指标, 非线性度, 代数免疫度

Abstract:

Symmetric cryptography is the core technology of data confidentiality in information systems. At the same time, nonlinear S-box is usually the key cryptographic component, and is widely used in the design of block cipher, stream cipher, MAC (Message Authentication Code) algorithm, etc. In order to ensure the security of the cryptographic algorithm design, firstly, the criteria testing methods for differential uniformity, nonlinearity, fixed point number, algebraic degree and item number, algebraic immunity, avalanche characteristic and diffusion characteristic were researched. Secondly, the results of each security criterion of the S-box were designed and output in the visual window, and the detailed descriptions of the corresponding security criterion were given in a pop-up window way. Thirdly, the design of the sub-components of nonlinearity and algebraic immunity was focused, and the linear distribution table was simplified according to the nonlinearity. At the same time, based on the theorem, the calculation process of algebraic immunity was optimized and illustrated with an example. Finally, the S-box testing tool was implemented with seven security criteria, and the test cases were demonstrated. The proposed tool is mainly used to test the security criteria of the nonlinear component S-box in the symmetric cryptographic algorithm, and then provides a guarantee for the security of the overall algorithm.

Key words: nonlinear component, S-box, security criterion, nonlinearity, algebraic immunity

中图分类号: