Quantum Cryptanalysis of Lightweight Block Ciphers LBC-IoT and SLIM
-
摘要: 该文针对LBC-IoT与SLIM算法的轮函数结构特征进行研究,在量子安全模型下,利用Simon算法的周期求解能力,分别构造了LBC-IoT/SLIM算法的10/12轮量子区分器。进而,结合Grover meets Simon算法实现了对LBC-IoT/SLIM算法的19/23轮量子密钥恢复。攻击过程中分别涉及54/36比特的密钥猜测,相应的时间复杂度为$ {2}^{27}/{2}^{18} $次量子查询,存储复杂度为78/60个量子比特。对于LBC-IoT算法,当攻击轮数$ r \gt 19 $轮时,所需时间复杂度为$ O({2}^{27+(r-19)\times 8}) $次量子查询。结果表明,量子攻击的时间复杂度较传统的攻击方法显著降低。Abstract:
Objective With the rapid proliferation of lightweight application scenarios such as the Internet of Things (IoT), wireless sensor networks, and radio frequency identification (RFID) systems, lightweight block ciphers have become a core enabling technology for data encryption in resource-constrained environments due to their low storage requirements, low power consumption, and low computational complexity. However, the rapid advancement of quantum computing poses a serious threat to the security of traditional cryptographic schemes. In particular, quantum attack algorithms such as Shor’s algorithm and Grover’s algorithm undermine the security assumptions of classical cryptography, including large integer factorization, discrete logarithm problems, and symmetric-key brute-force resistance. As a result, the security strength of most existing lightweight block ciphers is significantly reduced, or even rendered insufficient, in a quantum setting. A review of the existing literature indicates that the security analyses of lightweight block ciphers such as LBC-IoT, SLIM, and ESF have primarily focused on classical attack models, with limited consideration of quantum adversaries. Consequently, a systematic investigation of the quantum security of lightweight block ciphers is necessary. Such research not only fills an important gap in the current literature but also provides a basis for evaluating the security and practical applicability of existing lightweight block ciphers in the post-quantum era. Methods Classic quantum search algorithms include Simon’s algorithm, Grover’s algorithm, the Quantum Amplitude Amplification (QAA) technique, and hybrid approaches such as the Grover-meets-Simon algorithm. In the quantum distinguisher construction phase, the core advantage of Simon’s algorithm is exploited by designing a specific periodic function that accurately captures the internal structural properties of the target lightweight block cipher. This enables efficient period finding and the successful construction of a quantum distinguisher, which serves as the foundation for subsequent attacks. In the key recovery phase, the Grover-meets-Simon algorithm is employed as the main attack strategy. By integrating the amplitude regulation capability of QAA, the efficiency and success probability of the key search are significantly improved, enabling the effective recovery of key bits of the target cipher. Furthermore, the time and memory complexities of the proposed quantum attack framework are analyzed to provide a comprehensive evaluation of its practicality. Results and Discussions The quantum security of the lightweight block ciphers LBC-IoT and SLIM is systematically analyzed. First, based on the core principles of Simon’s quantum algorithm, and in combination with the structural characteristics of the round function, nonlinear components, and diffusion layers of the target ciphers, the iterative properties of the algorithms are accurately characterized. For the LBC-IoT cipher, by analyzing the combined effects of the S-box nonlinearity, linear diffusion layer, and cyclic shift operations, a significant periodic property is identified in the 4th bit of the left branch at the 10th round ( Table 5 ). Based on this observation, a 10-round quantum distinguisher is successfully constructed (Figure 4 ). Similarly, for the SLIM cipher, a detailed analysis of its nonlinear transformations and linear diffusion reveals a periodic feature in the 11th bit of the left branch at the 12th round (Table 8 ), enabling the construction of a 12-round quantum distinguisher (Figure 6 ). Subsequently, in the quantum key recovery stage, a new attack strategy based on the combination of Grover's and Simon's algorithms proposed by Leander et al. was utilized. Leveraging the previously constructed quantum distinguisher, the attack efficiently recovers round keys of the target ciphers. The core idea is to first employ Simon’s algorithm to identify the period and thereby significantly reduce the candidate key space, and then apply Grover’s quantum search to rapidly locate the correct round key within this reduced space, leading to a substantial reduction in attack complexity. Specifically, a 19-round quantum key recovery attack is achieved for the LBC-IoT cipher (Figure 5 ), successfully recovering 54 bits of round keys (Table 6 ). For the SLIM cipher, a 23-round quantum key recovery attack is realized (Figure 7 ), with 36 bits of round keys effectively recovered (Table 7 ). The results demonstrate that the quantum key recovery attacks on LBC-IoT and SLIM require $ O({2}^{27}) $ quantum queries and $ O({2}^{18}) $ quantum queries, respectively.Conclusions This paper investigates the security of the lightweight block ciphers LBC-IoT and SLIM in a quantum attack model. By exploiting the structural characteristics of the round functions of both ciphers, Simon’s algorithm is employed to identify periodic functions and construct quantum distinguishers. Building upon these distinguishers, quantum key recovery attacks are realized using the Grover-meets-Simon algorithm. The main results can be summarized as follows. (1) For the LBC-IoT cipher, structural analysis reveals a significant periodic property in the 4th bit of the left branch at the 10th round. Exploiting this property, a 10-round quantum distinguisher is successfully constructed using Simon’s algorithm, which serves as the basis for subsequent key recovery attacks. (2) Based on the constructed 10-round quantum distinguisher, a 19-round quantum key recovery attack on LBC-IoT is achieved by extending 9 additional rounds using the Grover-meets-Simon algorithm. In this attack, 54 bits of round keys are guessed, and the corresponding time complexity is $ O({2}^{27}) $. (3) Further analysis shows that, for LBC-IoT, when the number of attack rounds is $ r \gt 19 $, the time complexity is $ O({2}^{27+(r-19)\times 8}) $, which is significantly lower than that of Grover’s quantum exhaustive key search. (4) For the SLIM cipher, a periodic characteristic is identified in the 11th bit of the left branch at the 12th round. Based on this observation, a 12-round quantum distinguisher is constructed using Simon’s algorithm. (5) Extending 11 rounds from the 12-round quantum distinguisher, a 23-round quantum key recovery attack on SLIM is successfully carried out using the Grover-meets-Simon algorithm. In this case, 36 bits of round keys are guessed, and the corresponding time complexity is $ O({2}^{18}) $. Compared with classical attacks, the proposed quantum attacks achieve a larger number of attacked rounds with a lower overall complexity, demonstrating a clear quantum advantage. -
Key words:
- Quantum cryptanalysis /
- LBC-IoT algorithm /
- SLIM algorithm /
- Grover’s algorithm /
- Simon’s algorithm
-
表 1 LBC-IoT和SLIM算法的攻击结果比较
算法 攻击方法 攻击轮数 时间复杂度 数据复杂度 参考来源 LBC-IoT 差分分析 18/19 $ {2}^{31} $/$ {2}^{31} $ $ {2}^{31} $/$ {2}^{31} $ 文献[16] 线性分析 30 $ {2}^{77.9} $ $ {2}^{30} $ 文献[20] 零相关线性分析 9 - - 文献[17] 不可能差分分析 8 - - 文献[17] 积分攻击 11 - - 文献[17] 中间相遇攻击 25/26 $ \kappa \cdot {2}^{71} $/$ \kappa \cdot {2}^{67} $* $ {2}^{32} $/$ {2}^{32} $ 文献[18] 量子选择明文攻击 19 $ {2}^{27} $ $ {2}^{32} $ 第4.2节 SLIM 差分分析 13/14 $ {2}^{31} $/$ {2}^{32} $ $ {2}^{31} $/$ {2}^{32} $ 文献[16] 线性分析 16/19 $ {2}^{25} $/$ {2}^{64.4} $ $ {2}^{31} $/$ {2}^{31} $ 文献[17] 零相关线性分析 7 - - 文献[17] 不可能差分分析 7 - - 文献[17] 积分攻击 9 - - 文献[17] 中间相遇攻击 16/18 $ \kappa \cdot {2}^{71} $/$ \kappa \cdot {2}^{73} $* $ {2}^{32} $/$ {2}^{32} $ 文献[18] 量子选择明文攻击 23 $ {2}^{18} $ $ {2}^{32} $ 第5.2节 注:*中的$ \kappa $表示正整数。-表示文中未明确给出数据。 表 2 符号对照表
符号 说明 符号 说明 $ {\mathbb{N}}^{+} $ 正整数集 $ {F}_{i} $ 第$ i $轮的轮函数 $ {\mathbb{F}}_{2} $ 二元有限域 $ {S}_{i} $ 第$ i $轮的$ S $盒 $ \mathbb{F}_{2}^{n} $ $ {\mathbb{F}}_{2} $上的$ n $维向量空间,$ n\in {\mathbb{N}}^{+} $ $ {P}^{j} $ 第$ j $分支的$ P $置换 $ X_{i-1}^{j} $/$ X_{i}^{j} $ 第$ i $轮第$ j $个分支的输入/输出,$ 1\leq i\leq 32 $,$ j=1,2 $ $ {K}_{i} $ 第$ i $轮的轮密钥 $ X_{i}^{j}[s] $ $ X_{i}^{j} $ (从左往右) 的第$ s $个比特,$ 1\leq s\leq 16 $ $ {K}_{i}[m] $ $ {K}_{i} $的第$ m $个比特,$ 1\leq m\leq 16 $ $ \left\lceil \cdot \right\rceil $ 向上取整函数 表 3 LBC-IoT算法的$ P $置换
$ x $ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 $ {P}^{1}(x) $ 13 10 7 12 9 14 3 2 5 16 15 4 1 6 11 8 $ {P}^{2}(x) $ 5 8 16 12 3 11 2 13 4 1 14 6 9 15 7 10 表 4 SLIM算法的$ P $置换
$ x $ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 $ P(x) $ 8 14 2 9 12 15 3 6 5 11 16 1 4 7 10 13 表 5 LBC-IoT算法前10轮左分支输出
比特
输出1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 $ X_{1}^{1} $ 0 0 0 0 0 0 0 0 0 $ x $ 0 0 0 0 0 0 $ X_{2}^{1} $ 0 0 $ {S}_{1}(x) $ 0 0 0 0 0 0 0 0 0 $ {\alpha }_{b} $ 0 0 0 $ X_{3}^{1} $ 0 0 0 0 0 0 0 0 $ {S}_{2}({\alpha }_{b}) $ $ x $ $ {S}_{2}({S}_{1}(x)) $ 0 0 0 0 0 $ X_{4}^{1} $① 0 $ {S}_{1}(x) $ $ {S}_{3}(x) $ 0 $ {\alpha }_{b} $ 0 0 0 0 0 0 0 0 $ {\Delta }_{1} $ $ {S}_{3}({S}_{2}({\alpha }_{b})) $ 0 $ X_{5}^{1} $② 0 0 $ {S}_{2}({\alpha }_{b}) $ 0 0 $ {\Delta }_{2} $ $ {S}_{2}({S}_{1}(x)) $ 0 0 $ \ast $ $ {S}_{4}({S}_{3}(x)) $ 0 $ {S}_{4}({S}_{1}(x)) $ 0 0 $ {\Delta }_{3} $ $ X_{6}^{1} $③ $ {S}_{1}(x) $ $ {S}_{3}(x) $ $ {S}_{5}(\ast ) $ $ {\Delta }_{35} $ 0 0 0 $ {\Delta }_{4} $ $ {\Delta }_{5} $ 0 $ {\Delta }_{32} $ $ {\Delta }_{38} $ 0 $ {\Delta }_{28} $ 0 0 $ X_{7}^{1} $④ $ {S}_{6}(x\oplus {S}_{5}({\Delta }_{2})) $ $ {\Delta }_{44} $ 0 0 $ {\Delta }_{42} $ 0 $ {\Delta }_{29} $ 0 0 $ \ast $ $ {S}_{6}({S}_{5}(\ast )) $ 0 $ {\Delta }_{3}\oplus {S}_{6}({S}_{3}(x)) $ $ {S}_{6}({\Delta }_{1}\oplus {S}_{5}({S}_{2}({\alpha }_{b}))) $ $ {\Delta }_{2}\oplus {S}_{6}({\Delta }_{5}) $ $ {S}_{2}({S}_{1}(x)) $ $ X_{8}^{1} $⑤ $ {S}_{3}(x) $ $ {\Delta }_{31} $ $ {\Delta }_{5}\oplus {S}_{7}(\ast ) $ 0 0 $ {\Delta }_{24} $ $ {\Delta }_{1}\oplus {S}_{5}({S}_{2}({\alpha }_{b})) $ $ {\Delta }_{36} $ $ {\Delta }_{27} $ $ {\Delta }_{34} $ $ {\Delta }_{33} $ 0 $ {\Delta }_{43} $ $ {S}_{7}({S}_{6}({S}_{5}(\ast ))) $ 0 $ {S}_{7}({\Delta }_{2}\oplus {S}_{6}({\Delta }_{5})) $ $ X_{9}^{1} $⑥ $ {S}_{2}({\alpha }_{b})\oplus {S}_{6}({S}_{1}(x)) $ $ {S}_{8}({S}_{3}(x)) $ $ {\Delta }_{30} $ $ {\Delta }_{7} $ $ {\Delta }_{3}\oplus {S}_{6}({S}_{3}(x)) $ $ {S}_{8}({S}_{7}({S}_{6}({S}_{5}(\ast )))) $ $ {\Delta }_{23} $ $ {\Delta }_{37} $ $ {\Delta }_{6} $ $ \ast $ $ {\Delta }_{26} $ $ {\Delta }_{39} $ $ {\Delta }_{21} $ $ {\Delta }_{22} $ $ {\Delta }_{25} $ $ {S}_{4}({S}_{3}(x))\oplus {S}_{6}({\Delta }_{4}) $ $ X_{10}^{1} $⑦ $ {\Delta }_{8} $ $ {\Delta }_{10} $ $ {\Delta }_{12} $ $ {\Delta }_{40} $ $ {\Delta }_{14} $ $ {\Delta }_{15} $ $ {\Delta }_{17} $ $ {\Delta }_{19} $ $ {\Delta }_{9} $ $ {\Delta }_{11} $ $ {\Delta }_{13} $ $ {\Delta }_{41} $ $ {S}_{9}({S}_{8}({S}_{3}(x))) $ $ {\Delta }_{16} $ $ {\Delta }_{18} $ $ {\Delta }_{20} $ 表5中的符号说明如下。①$ {\Delta }_{1}={S}_{3}({S}_{2}({S}_{1}(x))) $。
②$ \ast ={S}_{4b}\oplus x $,$ {\Delta }_{2}={S}_{4}({S}_{3}({S}_{2}({S}_{1}(x)))) $,$ {\Delta }_{3}={S}_{4}({S}_{3}({S}_{2}({\alpha }_{b}))) $。
③$ {\Delta }_{4}={S}_{5}({S}_{2}({S}_{1}(x))) $,$ {\Delta }_{5}={S}_{5}({S}_{4}({S}_{1}(x))) $,$ {\Delta }_{28}={S}_{3}({S}_{2}({\alpha }_{b}))\oplus {S}_{5}({S}_{4}({S}_{3}(x))) $,$ {\Delta }_{32}={S}_{3}({S}_{2}({S}_{1}(x)))\oplus {S}_{5}({S}_{2}({\alpha }_{b})) $,$ {\Delta }_{35}={\alpha }_{b}\oplus {S}_{5}({S}_{4}({S}_{3}({S}_{2}({S}_{1}(x))))) $,$ {\Delta }_{38}={S}_{5}({S}_{4}({S}_{3}({S}_{2}({\alpha }_{b})))) $。
④$ {\Delta }_{29}={S}_{4}({S}_{3}(x))\oplus {S}_{6}({\Delta }_{4}) $,$ {\Delta }_{42}={S}_{4}({S}_{1}(x))\oplus {S}_{6}({S}_{5}({\Delta }_{3})) $,$ {\Delta }_{44}={S}_{2}({\alpha }_{b})\oplus {S}_{6}({S}_{1}(x)) $。
⑤$ {\Delta }_{24}={\alpha }_{b}\oplus {S}_{5}({\Delta }_{2})\oplus {S}_{7}({S}_{6}({\Delta }_{1}\oplus {S}_{5}({S}_{2}({\alpha }_{b})))) $,$ {\Delta }_{27}={S}_{1}(x)\oplus {S}_{7}({\Delta }_{3}\oplus {S}_{6}({S}_{3}(x))) $,$ {\Delta }_{31}={S}_{5}(\ast )\oplus {S}_{7}({S}_{6}({\alpha }_{b}\oplus {S}_{5}({\Delta }_{2}))) $,$ {\Delta }_{33}={S}_{3}({S}_{2}({\alpha }_{b}))\oplus {S}_{5}({S}_{4}({S}_{3}(x))) $,$ {\Delta }_{34}={S}_{7}({S}_{4}({S}_{1}(x))\oplus {S}_{6}({S}_{5}({\Delta }_{3}))) $,$ {\Delta }_{36}={\Delta }_{4}\oplus {S}_{7}({S}_{4}({S}_{3}(x))\oplus {S}_{6}({\Delta }_{4})) $,$ {\Delta }_{43}={S}_{7}({S}_{2}({\alpha }_{b})\oplus {S}_{6}({S}_{1}(x))) $。
⑥$ {\Delta }_{6}={S}_{6}({\alpha }_{b}\oplus {S}_{5}({\Delta }_{2}))\oplus {S}_{8}({S}_{7}({S}_{2}({\alpha }_{b})\oplus {S}_{6}({S}_{1}(x)))) $,$ {\Delta }_{7}={S}_{8}({\alpha }_{b}\oplus {S}_{5}({\Delta }_{2})\oplus {S}_{7}({S}_{6}({\Delta }_{1}\oplus {S}_{5}({S}_{2}({\alpha }_{b})))))\oplus {S}_{4}({S}_{1}(x))\oplus {S}_{6}({S}_{5}({\Delta }_{3})) $,
$ {\Delta }_{21}={S}_{2}({S}_{1}(x))\oplus {S}_{8}({S}_{5}(\ast )\oplus {S}_{7}({S}_{6}({\alpha }_{b}\oplus {S}_{5}({\Delta }_{2})))) $,$ {\Delta }_{22}={\Delta }_{2}\oplus {S}_{6}({\Delta }_{5})\oplus {S}_{8}({S}_{3}({S}_{2}({\alpha }_{b}))\oplus {S}_{5}({S}_{4}({S}_{3}(x)))) $,$ {\Delta }_{23}={S}_{6}({S}_{5}(\ast ))\oplus {S}_{8}({\Delta }_{4}\oplus {S}_{7}({S}_{4}({S}_{3}(x))\oplus {S}_{6}({\Delta }_{4}))) $,$ {\Delta }_{25}={S}_{8}({S}_{1}(x)\oplus {S}_{7}({\Delta }_{3}\oplus {S}_{6}({S}_{3}(x)))) $,$ {\Delta }_{26}={S}_{6}({\Delta }_{1}\oplus {S}_{5}({S}_{2}({\alpha }_{b})))\oplus {S}_{8}({\Delta }_{5}\oplus {S}_{7}(\ast )) $,$ {\Delta }_{30}={S}_{8}({S}_{7}({S}_{4}({S}_{1}(x))\oplus {S}_{6}({S}_{5}({\Delta }_{3})))) $,$ {\Delta }_{37}={S}_{8}({S}_{2}({S}_{1}(x))\oplus {S}_{5}({S}_{2}({\alpha }_{b}))) $,$ {\Delta }_{39}={S}_{8}({S}_{7}({\Delta }_{2}\oplus {S}_{6}({\Delta }_{5}))) $。
⑦$ {\Delta }_{8}={S}_{5}(\ast )\oplus {S}_{7}({S}_{6}({\alpha }_{b}\oplus {S}_{5}({\Delta }_{2})))\oplus {S}_{9}({S}_{8}({\alpha }_{b}\oplus {S}_{5}({\Delta }_{2})\oplus {S}_{7}({S}_{6}({\Delta }_{1}\oplus {S}_{5}({S}_{2}({\alpha }_{b})))))\oplus {S}_{4}({S}_{1}(x))\oplus {S}_{6}({S}_{5}({\Delta }_{3}))) $,$ {\Delta }_{9}={S}_{3}(x)\oplus {S}_{9}({S}_{2}({S}_{1}(x))\oplus {S}_{8}({S}_{5}(\ast )\oplus {S}_{7}({S}_{6}({\alpha }_{b}\oplus {S}_{5}({\Delta }_{2}))))) $,$ {\Delta }_{10}={\Delta }_{5}\oplus {S}_{7}(\ast )\oplus {S}_{9}({S}_{2}({\alpha }_{b})\oplus {S}_{6}({S}_{1}(x))) $,$ {\Delta }_{11}={S}_{7}({S}_{4}({S}_{1}(x))\oplus {S}_{6}({S}_{5}({\Delta }_{3})))\oplus {S}_{9}({\Delta }_{3}\oplus {S}_{6}({S}_{3}(x))) $,$ {\Delta }_{12}={S}_{1}(x)\oplus {S}_{7}({\Delta }_{3}\oplus {S}_{6}({S}_{3}(x)))\oplus {S}_{9}(\ast ) $,$ {\Delta }_{13}={S}_{7}({S}_{6}({S}_{5}(\ast )))\oplus {S}_{9}({S}_{8}({S}_{7}({S}_{4}({S}_{1}(x))\oplus {S}_{6}({S}_{5}({\Delta }_{3}))))) $,$ {\Delta }_{14}={S}_{7}({S}_{2}({\alpha }_{b})\oplus {S}_{6}({S}_{1}(x)))\oplus {S}_{9}({S}_{8}({S}_{7}({\Delta }_{2}\oplus {S}_{6}({\Delta }_{5})))) $,$ {\Delta }_{15}={S}_{9}({\Delta }_{2}\oplus {S}_{6}({\Delta }_{5})\oplus {S}_{8}({S}_{3}({S}_{2}({\alpha }_{b}))\oplus {S}_{5}({S}_{4}({S}_{3}(x))))) $,$ {\Delta }_{16}={S}_{9}({S}_{6}({\Delta }_{1}\oplus {S}_{5}({S}_{2}({\alpha }_{b})))\oplus {S}_{8}({\Delta }_{5}\oplus {S}_{7}(\ast ))) $,$ {\Delta }_{17}={S}_{3}({S}_{2}({\alpha }_{b}))\oplus {S}_{5}({S}_{4}({S}_{3}(x)))\oplus {S}_{9}({S}_{8}({S}_{2}({S}_{1}(x))\oplus {S}_{5}({S}_{2}({\alpha }_{b})))) $,$ {\Delta }_{18}={\alpha }_{b}\oplus {S}_{5}({\Delta }_{2})\oplus {S}_{7}({S}_{6}({\Delta }_{1}\oplus {S}_{5}({S}_{2}({\alpha }_{b}))))\oplus {S}_{9}({S}_{6}({\alpha }_{b}\oplus {S}_{5}({\Delta }_{2}))\oplus {S}_{8}({S}_{7}({S}_{2}({\alpha }_{b})\oplus {S}_{6}({S}_{1}(x))))) $,$ {\Delta }_{19}={\Delta }_{4}\oplus {S}_{7}({S}_{4}({S}_{3}(x))\oplus {S}_{6}({\Delta }_{4})\oplus {S}_{9}({S}_{6}({S}_{5}(\ast ))\oplus {S}_{8}({\Delta }_{4}\oplus {S}_{7}({S}_{4}({S}_{3}(x))\oplus {S}_{6}({\Delta }_{4})))) $,$ {\Delta }_{20}={\Delta }_{1}\oplus {S}_{5}({S}_{2}({\alpha }_{b}))\oplus {S}_{9}({S}_{8}({S}_{1}(x)\oplus {S}_{7}({\Delta }_{3}\oplus {S}_{6}({S}_{3}(x))))) $,$ {\Delta }_{40}={S}_{9}({S}_{8}({S}_{7}({S}_{6}({S}_{5}(\ast ))))) $,$ {\Delta }_{41}={S}_{9}({S}_{4}({S}_{3}(x))\oplus {S}_{6}({\Delta }_{4})) $。表 6 基于$ X_{10}^{1}[4] $密钥恢复攻击中所涉及的轮密钥
第$ i $轮 需要恢复的轮密钥 第$ i $轮 需要恢复的轮密钥 11 $ {K}_{11}[4] $ 16 $ {K}_{16}[1,2,4,6,11,13,15] $ 12 $ {K}_{12}[5] $ 17 $ {K}_{17}[1,3\sim 8,10,12] $ 13 $ {K}_{13}[2,15] $ 18 $ {K}_{18}[2,5\sim 16] $ 14 $ {K}_{14}[3,4,7] $ 19 $ {K}_{19}[1\sim 4,6\sim 15] $ 15 $ {K}_{15}[5,8,12,16] $ 表 8 SLIM算法前12轮左分支输出
比特
输出1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 $X_1^1 $ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 $ {\alpha }_{b} $ $ X_{2}^{1} $① 0 0 0 0 0 0 0 0 0 0 0 0 * 0 0 0 $X_3^1 $ 0 0 0 S2(*) 0 0 0 0 0 0 0 0 0 0 0 $ {\alpha }_{b} $ $X_4^1 $ 0 0 0 0 0 0 0 0 S3(S2(*)) 0 0 0 $S_3(\alpha _b)\oplus* $ 0 0 0 $X_5^1 $ 0 0 0 $S_2(*)\oplus S_4(S_3(\alpha_b)\oplus/) $ S4(S3(S2(*))) 0 0 0 0 0 0 0 0 0 0 $ {\alpha }_{b} $ $ X_{3}^{1} $② 0 0 0 0 0 0 0 0 $\Delta _{15} $ 0 0 S5(S4(S3(S2(*)))) $S_3(\alpha_b)\oplus*\oplus S_5(\alpha_b) $ 0 0 0 $ X_{7}^{1} $③ S6(S5(S4(S3(S2(*))))) 0 0 $\Delta_9 $ $\Delta_8 $ 0 0 0 0 0 0 0 0 0 0 $ {\alpha }_{b} $ $ X_{8}^{1} $④ 0 0 0 0 0 0 0 $ {\Delta }_{17} $ $\Delta_1 $ 0 0 $\Delta_2 $ $\Delta_3 $ 0 0 0 $ X_{9}^{1} $⑤ S8($\Delta_2 $)$ \oplus S_6(S_5(S_4(S_3(S_2(*)))))$ 0 0 $\Delta_4 $ $\Delta_5 $ $ {\Delta }_{16} $ 0 0 0 0 0 0 0 0 0 $ {\alpha }_{b} $ $ X_{10}^{1} $⑥ 0 0 0 0 0 0 0 $\Delta_6 $ $\Delta_1 \oplus S_9(\Delta_4)$ 0 0 $\Delta_2 \oplus S_9(\Delta_5)$ $\Delta_3 \oplus S_9(\alpha_b)$ 0 $ \Delta_7$ 0 $ X_{11}^{1} $⑦ $\Delta_{10} $ 0 0 $\Delta_4 \oplus S_{10}(\Delta_3 \oplus S_9(\alpha _b))$ $\Delta_5 \oplus S_{10}(\Delta_1 \oplus S_9 (\Delta_4))$ $ {\Delta }_{17} $ 0 0 0 $S_{10}( \Delta_7) $ 0 0 0 0 0 $ {\alpha }_{b} $ $ X_{12}^{1} $⑧ 0 0 0 0 0 0 0 $\Delta_{14} $ $\Delta_{11} $ 0 $S_{11}(S_{10}(\Delta_7)) $ $\Delta_{12} $ $\Delta_3 \oplus S_9 (\alpha_b)\oplus S_{11}(\alpha_b)$ 0 $\Delta_{13} $ 0 表8中的符号说明如下。
①$ \ast ={S}_{1b}\oplus x $。
②$ {\Delta }_{15}={S}_{3}({S}_{2}(\ast ))\oplus {S}_{5}({S}_{2}(\ast )\oplus {S}_{4}({S}_{3}({\alpha }_{b})\oplus \ast )) $。
③$ {\Delta }_{8}={\Delta }_{5}\oplus {S}_{8}({\Delta }_{1}) $,$ {\Delta }_{9}={\Delta }_{4}\oplus {S}_{8}({\Delta }_{3}) $。
④$ {\Delta }_{1}={S}_{7}({S}_{2}(\ast )\oplus {S}_{4}({S}_{3}({\alpha }_{b})\oplus \ast )\oplus {S}_{6}({S}_{3}({\alpha }_{b})\oplus \ast \oplus {S}_{5}({\alpha }_{b})))\oplus {S}_{3}({S}_{2}(\ast ))\oplus {S}_{5}({S}_{2}(\ast )\oplus {S}_{4}({S}_{3}({\alpha }_{b})\oplus \ast )) $,$ {\Delta }_{2}={S}_{5}({S}_{4}({S}_{3}({S}_{2}(\ast ))))\oplus {S}_{7}({S}_{4}({S}_{3}({S}_{2}(\ast )))\oplus {S}_{6}({S}_{3}({S}_{2}(\ast ))\oplus {S}_{5}({S}_{2}(\ast )\oplus {S}_{4}({S}_{3}({\alpha }_{b})\oplus \ast )))) $,$ {\Delta }_{3}={S}_{7}({\alpha }_{b})\oplus {S}_{3}({\alpha }_{b})\oplus \ast \oplus {S}_{5}({\alpha }_{b}) $,$ {\Delta }_{17}={S}_{7}({S}_{6}({S}_{5}({S}_{4}({S}_{3}({S}_{2}(\ast )))))) $。
⑤$ {\Delta }_{4}={S}_{2}(\ast )\oplus {S}_{4}({S}_{3}({\alpha }_{b})\oplus \ast )\oplus {S}_{6}({S}_{3}({\alpha }_{b})\oplus \ast \oplus {S}_{5}({\alpha }_{b}))\oplus {S}_{8}({\Delta }_{3}) $,$ {\Delta }_{5}={S}_{4}({S}_{3}({S}_{2}(\ast )))\oplus {S}_{6}({S}_{3}({S}_{2}(\ast ))\oplus {S}_{5}({S}_{2}(\ast )\oplus {S}_{4}({S}_{3}({\alpha }_{b})\oplus \ast )))\oplus {S}_{8}({\Delta }_{1}) $,$ {\Delta }_{16}={S}_{8}({S}_{7}({S}_{6}({S}_{5}({S}_{4}({S}_{3}({S}_{2}(\ast ))))))) $。⑥$ {\Delta }_{6}={S}_{7}({S}_{6}({S}_{5}({S}_{4}({S}_{3}({S}_{2}(\ast ))))))\oplus {S}_{9}({S}_{8}({\Delta }_{2})\oplus {S}_{6}({S}_{5}({S}_{4}({S}_{3}({S}_{2}(\ast )))))) $,$ {\Delta }_{7}={S}_{9}({S}_{8}({S}_{7}({S}_{6}({S}_{5}({S}_{4}({S}_{3}({S}_{2}(\ast )))))))) $。⑦$ {\Delta }_{10}={S}_{8}({\Delta }_{2})\oplus {S}_{6}({S}_{5}({S}_{4}({S}_{3}({S}_{2}(\ast )))))\oplus {S}_{10}({\Delta }_{2}\oplus {S}_{9}({\Delta }_{5})) $,$ {\Delta }_{17}={S}_{8}({S}_{7}({S}_{6}({S}_{5}({S}_{4}({S}_{3}({S}_{2}(\ast )))))))\oplus {S}_{10}({\Delta }_{6}) $。⑧$ {\Delta }_{11}={\Delta }_{1}\oplus {S}_{9}({\Delta }_{4})\oplus {S}_{11}({\Delta }_{4}\oplus {S}_{10}({\Delta }_{3}\oplus {S}_{9}({\alpha }_{b}))) $,$ {\Delta }_{12}={\Delta }_{2}\oplus {S}_{9}({\Delta }_{5})\oplus {S}_{11}({\Delta }_{5}\oplus {S}_{10}({\Delta }_{1}\oplus {S}_{9}({\Delta }_{4}))) $,$ {\Delta }_{13}={S}_{11}({S}_{8}({S}_{7}({S}_{6}({S}_{5}({S}_{4}({S}_{3}({S}_{2}(\ast )))))))\oplus {S}_{10}({\Delta }_{6}))\oplus {\Delta }_{7} $,$ {\Delta }_{14}={\Delta }_{6}\oplus {S}_{11}({\Delta }_{10}) $。表 7 基于$ X_{12}^{1}[11] $密钥恢复攻击中所涉及的轮密钥
第$ i $轮 需要恢复的轮密钥 第$ i $轮 需要恢复的轮密钥 13 $ {K}_{13}[10] $ 19 $ {K}_{19}[1,5, 6, 10] $ 14 $ {K}_{14}[15] $ 20 $ {K}_{20}[8,9, 12, 15] $ 15 $ {K}_{15}[6,10] $ 21 $ {K}_{21}[1,4\sim 6,10] $ 16 $ {K}_{16}[8,15] $ 22 $ {K}_{22}[8\sim 9,12\sim 13,15] $ 17 $ {K}_{17}[1,6,10] $ 23 $ {K}_{23}[1,4\sim 6, 10, 16] $ 18 $ {K}_{18}[8,12, 15] $ -
[1] WU Wenling and ZHANG Lei. LBlock: A lightweight block cipher[C]. 9th International Conference Applied Cryptography and Network Security, Nerja, Spain, 2011: 327–344. doi: 10.1007/978-3-642-21554-4_19. [2] 王晨, 崔佳敏, 李木舟, 等. 分组密码算法uBlock积分攻击的改进[J]. 电子与信息学报, 2024, 46(5): 2149–2158. doi: 10.11999/JEIT231231.WANG Chen, CUI Jiamin, LI Muzhou, et al. Improved integral cryptanalysis on block cipher uBlock[J]. Journal of Electronics & Information Technology, 2024, 46(5): 2149–2158. doi: 10.11999/JEIT231231. [3] 余彬, 刘文芬, 陈文, 等. 轻量级分组密码INLEC的全轮积分分析[J]. 电子与信息学报, 2026, 48(5): 2259–2267. doi: 10.11999/JEIT251131.YU Bin, LIU Wenfen, CHEN Wen, et al. Full-round integral cryptanalysis of the lightweight block cipher INLEC[J]. Journal of Electronics & Information Technology, 2026, 48(5): 2259–2267. doi: 10.11999/JEIT251131. [4] 杜小妮, 郑亚楠, 梁丽芳, 等. RAIN-128算法的中间相遇攻击[J]. 电子与信息学报, 2024, 46(1): 327–334. doi: 10.11999/JEIT221593.DU Xiaoni, ZHENG Yanan, LIANG Lifang, et al. Meet-in-the-middle attack on RAIN-128[J]. Journal of Electronics & Information Technology, 2024, 46(1): 327–334. doi: 10.11999/JEIT221593. [5] GROVER L K. A fast quantum mechanical algorithm for database search[C]. Proceedings of the Twenty-Eighth Annual ACM Symposium on Theory of Computing, Philadelphia, USA, 1996: 212–219. doi: 10.1145/237814.237866. [6] SIMON D R. On the power of quantum computation[C]. Proceedings 35th Annual Symposium on Foundations of Computer Science, Santa Fe, USA, 1994: 116–123. doi: 10.1109/SFCS.1994.365701. [7] BRASSARD G, HOYER P, MOSCA M, et al. Quantum amplitude amplification and estimation[EB/OL]. https://arxiv.org/abs/quant-ph/0005055, 2020. doi: 10.1090/conm/305/05215. [8] ZHANDRY M. How to construct quantum random functions[C]. 2012 IEEE 53rd Annual Symposium on Foundations of Computer Science, New Brunswick, USA, 2012: 679–687. doi: 10.1109/FOCS.2012.37. [9] KAPLAN M, LEURENT G, LEVERRIER A, et al. Quantum differential and linear cryptanalysis[J]. IACR Transactions on Symmetric Cryptology, 2016, 2016(1): 71–94. doi: 10.13154/tosc.v2016.i1.71-94. [10] LEANDER G and MAY A. Grover meets Simon-quantumly attacking the FX-construction[C]. 23rd International Conference on the Theory and Applications of Cryptology and Information Security Advances in Cryptology – ASIACRYPT 2017, Hong Kong, China, 2017: 161–178. doi: 10.1007/978-3-319-70697-9_6. [11] DONG Xiaoyang, LI Zheng, and WANG Xiaoyun. Quantum cryptanalysis on some generalized Feistel schemes[J]. Science China Information Sciences, 2019, 62(2): 22501. doi: 10.1007/s11432-017-9436-7. [12] XU Ying, DU Xiaoni, JIA Meichun, et al. Quantum cryptanalysis of reduced-round E2 algorithm[J]. Quantum Information Processing, 2025, 24(2): 38. doi: 10.1007/s11128-025-04649-1. [13] 孙莹, 王晨曦, 谢惠琴, 等. 轻量级分组密码TWINE-80的量子密码分析[J]. 密码学报, 2025, 12(4): 945–960. doi: 10.13868/j.cnki.jcr.000803.SUN Ying, WANG Chenxi, XIE Huiqin, et al. Quantum cryptanalysis of lightweight block cipher TWINE-80[J]. Journal of Cryptologic Research, 2025, 12(4): 945–960. doi: 10.13868/j.cnki.jcr.000803. [14] RAMADAN R A, ABOSHOSHA B W, YADAV K, et al. LBC-IoT: Lightweight block cipher for IoT constraint devices[J]. Computers, Materials & Continua, 2021, 67(3): 3563–3579. doi: 10.32604/cmc.2021.015519. [15] ABOUSHOSHA B, RAMADAN R A, DWIVEDI A D, et al. SLIM: A lightweight block cipher for Internet of health things[J]. IEEE Access, 2020, 8: 203747–203757. doi: 10.1109/ACCESS.2020.3036589. [16] CHAN Y Y, KHOR C Y, KHOO B T, et al. On the resistance of new lightweight block ciphers against differential cryptanalysis[J]. Heliyon, 2023, 9(4): e15257. doi: 10.1016/j.heliyon.2023.e15257. [17] SUGIO N. Bit-based evaluation of lightweight block ciphers SLIM, LBC-IoT, and SLA by mixed integer linear programming[J]. IET Information Security, 2024, 2024(1): 1741613. doi: 10.1049/2024/1741613. [18] GROCHAL P and STANEK M. Differential MITM attacks on SLIM and LBCIoT[EB/OL]. https://eprint.iacr.org/2024/1887.pdf, 2024. [19] CILDIROGLU H O and YAYLA O. Qubit optimized quantum implementation of SLIM[EB/OL]. https://eprint.iacr.org/2024/2028.pdf, 2024. [20] 李灵琛, 陈佐甲, 韦永壮, 等. 30轮LBC-IoT算法的线性分析[J]. 通信学报, 2026, 47(2): 209–218. doi: 10.11959/j.issn.1000-436x.2026036.LI Lingchen, CHEN Zuojia, WEI Yongzhuang, et al. Linear cryptanalysis of 30-round LBC-IoT algorithm[J]. Journal on Communications, 2026, 47(2): 209–218. doi: 10.11959/j.issn.1000-436x.2026036. [21] CUI Jingyi, GUO Jiansheng, and DING Shuzhen. Applications of Simon’s algorithm in quantum attacks on Feistel variants[J]. Quantum Information Processing, 2021, 20(3): 117. doi: 10.1007/s11128-021-03027-x. -
下载: