arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.00441cs.CR
收藏

线性与非线性层建模:一种面向差分与不可能差分传播的MILP方法

Modeling Linear and Non-linear Layers: An MILP Approach Towards Finding Differential and Impossible Differential Propagations

Debranjan Pal, Vishal Pankaj Chandratreya, Abhijit Das, Dipanwita Roy Chowdhury

AI总结:

本文提出基于MILP的布尔函数建模与最小不等式选择算法,并构建自动工具分析差分及不可能差分传播,成功应用于五个轻量级分组密码。

摘要:

对称密钥密码学是当代电子通信框架中保障安全的重要基石。经典对称密钥密码的分析涉及旨在破解或分析这些密码系统的传统方法与技术。在评估新密码时,对线性与差分密码分析的抵抗能力通常是关键的设计准则。分组密码的宽轨迹设计技术有助于证明其对线性与差分密码分析的安全性。评估方案对差分攻击的安全性通常涉及确定密码所有轮次中活跃S盒的最小数量。密码组件(如S盒)的传播特性可以用布尔函数表示。混合整数线性规划(MILP)被证明是求解布尔函数的一种有价值的技术。我们构造一组不等式来建模布尔函数,随后由MILP求解器求解。为了高效地建模布尔函数并选择最小不等式集合,必须解决两个关键挑战。我们提出算法来解决第二个挑战,旨在找到更优化的线性与非线性组件。我们的方法被应用于建模S盒(最多六位)以及任意输入数量的EXOR运算。此外,我们引入了一个基于MILP的自动工具,用于探索密码内部的差分与不可能差分传播。该工具被成功应用于五个轻量级分组密码:Lilliput、GIFT64、SKINNY64、Klein和MIBS。

英文摘要:

Symmetric key cryptography stands as a fundamental cornerstone in ensuring security within contemporary electronic communication frameworks. The cryptanalysis of classical symmetric key ciphers involves traditional methods and techniques aimed at breaking or analyzing these cryptographic systems. In the evaluation of new ciphers, the resistance against linear and differential cryptanalysis is commonly a key design criterion. The wide trail design technique for block ciphers facilitates the demonstration of security against linear and differential cryptanalysis. Assessing the scheme's security against differential attacks often involves determining the minimum number of active SBoxes for all rounds of a cipher. The propagation characteristics of a cryptographic component, such as an SBox, can be expressed using Boolean functions. Mixed Integer Linear Programming (MILP) proves to be a valuable technique for solving Boolean functions. We formulate a set of inequalities to model a Boolean function, which is subsequently solved by an MILP solver. To efficiently model a Boolean function and select a minimal set of inequalities, two key challenges must be addressed. We propose algorithms to address the second challenge, aiming to find more optimized linear and non-linear components. Our approaches are applied to modeling SBoxes (up to six bits) and EXOR operations with any number of inputs. Additionally, we introduce an MILP-based automatic tool for exploring differential and impossible differential propagations within a cipher. The tool is successfully applied to five lightweight block ciphers: Lilliput, GIFT64, SKINNY64, Klein, and MIBS.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑