Paper 2016/407

MILP-Based Automatic Search Algorithms for Differential and Linear Trails for Speck

Kai Fu, Meiqin Wang, Yinghua Guo, Siwei Sun, and Lei Hu

Abstract

In recent years, Mixed Integer Linear Programming (MILP) has been successfully applied in searching for differential characteristics and linear approximations in block ciphers and has produced the significant results for some ciphers such as SIMON (a family of lightweight and hardware-optimized block ciphers designed by NSA) etc. However, in the literature, the MILP-based automatic search algorithm for differential characteristics and linear approximations is still infeasible for block ciphers such as ARX constructions. In this paper, we propose an MILP-based method for automatic search for differential characteristics and linear approximations in ARX ciphers. By researching the properties of differential characteristic and linear approximation of modular addition in ARX ciphers, we present a method to describe the differential characteristic and linear approximation with linear inequalities under the assumptions of independent inputs to the modular addition and independent rounds. We use this representation as an input to the publicly available MILP optimizer Gurobi to search for differential characteristics and linear approximations for ARX ciphers. As an illustration, we apply our method to Speck, a family of lightweight and software-optimized block ciphers designed by NSA, which results in the improved differential characteristics and linear approximations compared with the existing ones. Moreover, we provide the improved differential attacks on Speck48, Speck64, Speck96 and Speck128, which are the best attacks on them in terms of the number of rounds.

Metadata
Available format(s)
PDF
Publication info
Published by the IACR in FSE 2016
Keywords
Automatic SearchDifferential TrailLinear TrailARXSpeck
Contact author(s)
mqwang @ sdu edu cn
History
2016-04-25: received
Short URL
https://ia.cr/2016/407
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2016/407,
      author = {Kai Fu and Meiqin Wang and Yinghua Guo and Siwei Sun and Lei Hu},
      title = {MILP-Based Automatic Search Algorithms for Differential and Linear Trails for Speck},
      howpublished = {Cryptology ePrint Archive, Paper 2016/407},
      year = {2016},
      note = {\url{https://eprint.iacr.org/2016/407}},
      url = {https://eprint.iacr.org/2016/407}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.