《计算机应用》唯一官方网站

• •    下一篇

全轮Shadow算法的差分和线性特征研分析

项勇1,李艳俊1,黄丁韫2,陈愚1,谢惠琴2   

  1. 1. 中国电子科技集团公司第十五研究所
    2. 北京电子科技学院
  • 收稿日期:2023-12-20 修回日期:2024-03-27 发布日期:2024-04-15 出版日期:2024-04-15
  • 通讯作者: 李艳俊
  • 基金资助:
    北京市自然科学基金课题

Differential and linear characteristic analysis of full-round Shadow algorithm

  • Received:2023-12-20 Revised:2024-03-27 Online:2024-04-15 Published:2024-04-15
  • Contact: 艳俊 李

摘要: 随着射频识别技术(RFID)、无线传感器的应用越来越广泛,为了保护这类资源受限设备存储和传输的数据,轻量级密码应运而生。轻量级密码密钥长度和轮数相对少,因此在正式投入使用前,有必要对其进行精确的安全性分析。针对轻量级密码安全需求,分析了全轮Shadow算法的差分和线性特征。首先提出了一种二次差分的概念,更清楚地刻画了差分特征,证明了该算法存在概率为1的全轮差分特征,并且通过实验验证了差分特征的正确性。其次,给出了全轮线性特征,证明了给定一组Shadow-32(Shadow-64)的明密文,可以获取8(16)比特的密钥信息,并且通过实验验证其正确性。再次,基于明文、密文和轮密钥之间的线性等式关系估计了2次布尔函数方程个数和自变量个数,得到求解初始密钥的计算复杂度为2^64。最后,总结了Shadow算法的结构特点,提出了下一步研究重点。全轮Shadow算法的差分和线性特征的分析工作对其他轻量级密码的差分分析和线性分析具有一定的借鉴作用。

关键词: Shadow算法, 轻量级分组密码, 差分特征, 线性特征, 密钥恢复

Abstract: As the Radio Frequency Identification (RFID) and wireless sensors become increasingly common, the need to secure data transmitted and processed by such devices with limited resources has led to the emergence and growth of lightweight cryptography. Characterized by their small key sizes and limited number of encryption rounds, lightweight ciphers demand precise security evaluations before being put into service. The differential and linear characteristic of full-round Shadow algorithm was analyzed for lightweight cryptographic security requirements. Firstly, a concept of quadratic difference was proposed, which describes the differential characteristic more clearly. Secondly, the existence of a full-round differential characteristic with probability 1 for the algorithm was proved, followed by experimental verification of its correctness. Next, a full-round linear characteristic was provided. After that, the theorem that, given a set of Shadow-32 (Shadow-64) plain ciphertexts, it is possible to obtain 8 (16) bits of key information was proved and experimentally verified for its correctness. Furthermore, based on the linear equation relationship between plaintexts, ciphertexts, and round keys, the number of quadratic equations and independent variables of the Boolean function were estimated. Then, the computational complexity of solving the initial key was calculated to be 2^64. Finally, the structural features of the Shadow were summarized, and the focus of future research was provided. Differential and linear characteristic analysis of full-round Shadow algorithm will be insightful for the differential and linear analysis of other lightweight ciphers.

Key words: Shadow algorithm, lightweight block cipher, differential characteristic, linear characteristic, key recovery

中图分类号: