## Cryptology ePrint Archive: Report 2021/643

On MILP-based Automatic Search for Bit-Based Division Property for Ciphers with (large) Linear Layers

Muhammad ElSheikh and Amr M. Youssef

Abstract: With the introduction of the division trail, the bit-based division property (BDP) has become the most efficient method to search for integral distinguishers. The notation of the division trail allows us to automate the search process by modelling the propagation of the DBP as a set of constraints that can be solved using generic Mixed-integer linear programming (MILP) and SMT/SAT solvers. The current models for the basic operations and Sboxes are efficient and accurate. In contrast, the two approaches to model the propagation of the BDP for the non-bit-permutation linear layer are either inaccurate or inefficient. The first approach relies on decomposing the matrix multiplication of the linear layer into COPY and XOR operations. The model obtained by this approach is efficient, in terms of the number of the constraints, but it is not accurate and might add invalid division trails to the search space, which might lead to missing the balanced property of some bits. The second approach employs a one-to-one map between the valid division trails through the primitive matrix represented the linear layer and its invertible sub-matrices. Despite the fact that the current model obtained by this approach is accurate, it is inefficient, i.e., it produces a large number of constraints for large linear layers like the one of Kuznyechik. In this paper, we address this problem by utilizing the one-to-one map to propose a new MILP model and a search procedure for large non-bit-permutation layers. As a proof of the effectiveness of our approach, we improve the previous 3- and 4-round integral distinguishers of Kuznyechik and the 4-round one of PHOTON's internal permutation ($P_{288}$). We also report, for the fist time, a 4-round integral distinguisher for Kalyna block cipher and a 5-round integral distinguisher for PHOTON's internal permutation ($P_{288}$).

Category / Keywords: secret-key cryptography / Bit-based division property, integral, linear layer, MILP, Kuznyechik, Kalyna, PHOTON

Original Publication (with minor differences): The 26th Australasian Conference on Information Security and Privacy (ACISP 2021)

Date: received 16 May 2021, last revised 16 May 2021

Contact author: m_elshei at encs concordia ca

Available format(s): PDF | BibTeX Citation

Short URL: ia.cr/2021/643

[ Cryptology ePrint archive ]