Paper 2019/1190
Improving Matsui's Search Algorithm for the Best Differential/Linear Trails and its Applications for DES, DESL and GIFT
Fulei Ji, Wentao Zhang, and Tianyou Ding
Abstract
Automatic search methods have been widely used for cryptanalysis of block ciphers, especially for the most classic cryptanalysis methods -- differential and linear cryptanalysis. However, the automatic search methods, no matter based on MILP, SMT/SAT or CP techniques, can be inefficient when the search space is too large. In this paper, we improve Matsui's branch-and-bound search algorithm which is known as the first generic algorithm for finding the best differential and linear trails by proposing three new methods. The three methods, named Reconstructing DDT and LAT According to Weight, Executing Linear Layer Operations in Minimal Cost and Merging Two 4-bit S-boxes into One 8-bit S-box respectively, can efficiently speed up the search process by reducing the search space as much as possible and reducing the cost of executing linear layer operations. We apply our improved algorithm to DESL and GIFT, which are still the hard instances for the automatic search methods. As a result, we find the best differential trails for DESL (up to 14 rounds) and GIFT-128 (up to 19 rounds). The best linear trails for DESL (up to 16 rounds), GIFT-128 (up to 10 rounds) and GIFT-64 (up to 15 rounds) are also found. To the best of our knowledge, these security bounds for DESL and GIFT under single-key scenario are given for the first time. Meanwhile, it is the longest exploitable (differential or linear) trails for DESL and GIFT. Furthermore, benefiting from the efficiency of the improved algorithm, we do experiments to demonstrate that the clustering effect of differential trails for 13-round DES and DESL are both weak.
Metadata
- Available format(s)
- Category
- Secret-key cryptography
- Publication info
- Published elsewhere. Minor revision. The Computer Journal
- DOI
- 10.1093/comjnl/bxaa090
- Keywords
- Matsui's search algorithmDifferential trailLinear trailClustering effectDESLGIFT-128GIFT-64DES.
- Contact author(s)
- jifulei @ iie ac cn
- History
- 2020-09-23: last of 5 revisions
- 2019-10-15: received
- See all versions
- Short URL
- https://ia.cr/2019/1190
- License
-
CC BY
BibTeX
@misc{cryptoeprint:2019/1190, author = {Fulei Ji and Wentao Zhang and Tianyou Ding}, title = {Improving Matsui's Search Algorithm for the Best Differential/Linear Trails and its Applications for {DES}, {DESL} and {GIFT}}, howpublished = {Cryptology {ePrint} Archive, Paper 2019/1190}, year = {2019}, doi = {10.1093/comjnl/bxaa090}, url = {https://eprint.iacr.org/2019/1190} }