Paper 2019/019

Improving the MILP-based Security Evaluation Algorithm against Differential/Linear Cryptanalysis Using A Divide-and-Conquer Approach

Chunning Zhou, Wentao Zhang, Tianyou Ding, and Zejun Xiang

Abstract

In recent years, Mixed Integer Linear Programming (MILP) has been widely used in cryptanalysis of symmetric-key primitives. For differential and linear cryptanalysis, MILP can be used to solve two kinds of problems: calculation of the minimum number of differentially/linearly active S-boxes, and search for the best differential/linear characteristics. There are already numerous papers published in this area. However, the efficiency is not satisfactory enough for many symmetric-key primitives. In this paper, we greatly improve the efficiency of the MILP-based search algorithm for both problems. Each of the two problems for an $r$-round cipher can be converted to an MILP model whose feasible region is the set of all possible $r$-round differential/linear characteristics. Generally, high-probability differential/linear characteristics are likely to have a low number of active S-boxes at a certain round. Inspired by the idea of a divide-and-conquer approach, we divide the set of all possible differential/linear characteristics into several smaller subsets, then separately search them. That is to say, the search of the whole set is split into easier searches of smaller subsets, and optimal solutions within the smaller subsets are combined to give the optimal solution within the whole set. In addition, we use several techniques to further improve the efficiency of the search algorithm. As applications, we apply our search algorithm to five lightweight block ciphers: PRESENT, GIFT-64, RECTANGLE, LBLOCK and TWINE. For each cipher, we obtain better results than the best-known ones obtained from the MILP method. For the minimum number of differentially/linearly active S-boxes, we reach 31/31, 16/15, 16/16, 20/20 and 20/20 rounds for the five ciphers respectively. For the best differential/linear characteristics, we reach 18/18, 15/13, 15/14, 16/15 and 15/16 rounds for the five ciphers respectively.

Metadata
Available format(s)
PDF
Category
Secret-key cryptography
Publication info
A major revision of an IACR publication in FSE 2020
Keywords
Block cipherDifferential cryptanalysisLinear cryptanalysisMILPDivide-and-conquer
Contact author(s)
zhouchunning @ iie ac cn
zhangwentao @ iie ac cn
History
2020-05-17: revised
2019-01-09: received
See all versions
Short URL
https://ia.cr/2019/019
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2019/019,
      author = {Chunning Zhou and Wentao Zhang and Tianyou Ding and Zejun Xiang},
      title = {Improving the {MILP}-based Security Evaluation Algorithm against Differential/Linear Cryptanalysis Using A Divide-and-Conquer Approach},
      howpublished = {Cryptology {ePrint} Archive, Paper 2019/019},
      year = {2019},
      url = {https://eprint.iacr.org/2019/019}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.