通信学报 ›› 2023, Vol. 44 ›› Issue (1): 118-128.doi: 10.11959/j.issn.1000-436x.2023022

• 学术论文 • 上一篇    下一篇

分组密码最小活跃S盒个数快速搜索算法

刘正斌1, 李永强2, 朱朝熹1   

  1. 1 保密通信重点实验室,四川 成都 610041
    2 中国科学院信息工程研究所,北京 100093
  • 修回日期:2022-10-30 出版日期:2023-01-25 发布日期:2023-01-01
  • 作者简介:刘正斌(1985- ),男,山东青岛人,博士,保密通信重点实验室高级工程师,主要研究方向为对称密码算法设计、密码算法自动化分析等
    李永强(1982- ),男,吉林集安人,博士,中国科学院信息工程研究所副研究员,主要研究方向为对称密码算法、布尔函数等
    朱朝熹(1992- ),男,重庆人,博士,保密通信重点实验室工程师,主要研究方向为序列密码的设计与分析等
  • 基金资助:
    国家自然科学基金资助项目(61772517)

Fast algorithm to search for the minimum number of active S-boxes of block cipher

Zhengbin LIU1, Yongqiang LI2, Chaoxi ZHU1   

  1. 1 Science and Technology on Communication Security Laboratory, Chengdu 610041, China
    2 Institute of Information Engineering, Chinese Academy of Sciences, Beijing 100093, China
  • Revised:2022-10-30 Online:2023-01-25 Published:2023-01-01
  • Supported by:
    The National Natural Science Foundation of China(61772517)

摘要:

为了解决密码设计中最小活跃S盒个数的快速计算问题,研究了扩散层的差分和掩码传播性质,提出了一种计算最大距离可分(MDS)矩阵和二元域矩阵的差分/掩码模式分布表的方法,并证明了所提方法计算复杂度的下界。基于扩散矩阵的差分/掩码模式分布表,提出了一种快速搜索分组密码最小活跃S盒个数的算法,将其用于代入置换网络(SPN)型分组密码,找到了LED、SKINNY、CRAFT和FIDES的全轮最小活跃S盒个数。

关键词: 分组密码, 差分密码分析, 线性密码分析, 活跃S盒, 自动化搜索

Abstract:

To solve the problem of fast calculation of the minimum number of active S-boxes in cryptographic design, the difference and mask propagation of the diffusion layer were investigated, and a method was proposed to compute the difference (resp.mask) pattern distribution table of MDS (maximum distance separable) matrices and binary matrices.A lower bound on the computation complexity of the proposed method was also given.Based on the difference (resp.mask) pattern distribution table of diffusion matrix, a fast algorithm to search for the minimum number of active S-boxes of block cipher was proposed.The proposed algorithm is applied to some SPN (substitution permutation network) block ciphers, and finds the minimum number of active S-boxes for the full round of LED, SKINNY, CRAFT and FIDES.

Key words: block cipher, differential cryptanalysis, linear cryptanalysis, active S-box, automatic search

中图分类号: 

No Suggested Reading articles found!