Towards non-independence of modular additions in searching differential trails of ARX ciphers: new automatic methods with application to SPECK and Chaskey

03/18/2022
by   Haiwen Qin, et al.
0

ARX-based ciphers, constructed by the modular addition, rotation and XOR operations, have been receiving a lot of attention in the design of lightweight symmetric ciphers. For their differential cryptanalysis, most automatic search methods of differential trails adopt the assumption of independence of modulo additions. However, this assumption does not necessarily hold when the trail includes consecutive modular additions (CMAs). It has already been found that in this case some differential trails searched by automatic methods before are actually impossible, but the study is not in depth yet, for example, few effort has been paid to exploiting the root causes of non-independence between CMAs and accurate calculation of probabilities of the valid trails. In this paper, we devote to solving these two problems. By examing the differential equations of single and consecutive modular additions, we find that the influence of non-independence can be described by relationships between constraints on the intermediate state of two additions. Specifically, constraints of the first addition can make some of its output bits non-uniform, and when they meet the constraints of the second addition, the differential probability of the whole CMA may be different from the value calculated under the independence assumption. As a result, we can build SAT models to verify the validity of a given differential trail of ARX ciphers and #SAT models to calculate the exact probabilities of the differential propagation through CMAs in the trail, promising a more accurate evaluation of probability of the trail. Our automic methods and searching tools are applied to search related-key differential trails of SPECK and Chaskey including CMAs in the key schedule and the round function respectively.

READ FULL TEXT
research
09/15/2021

Modular Neural Ordinary Differential Equations

The laws of physics have been written in the language of dif-ferential e...
research
01/11/2022

Improved Neural Distinguishers with (Related-key) Differentials: Applications in SIMON and SIMECK

In CRYPTO 2019, Gohr made a pioneering attempt, and successfully applied...
research
11/02/2017

Using Bernstein-Vazirani Algorithm to Attack Block Ciphers

In this paper, we study applications of Bernstein-Vazirani algorithm and...
research
03/07/2023

On additive differential probabilities of the composition of bitwise exclusive-or and a bit rotation

Properties of the additive differential probability adp^XR of the compos...
research
03/23/2022

AI Poincaré 2.0: Machine Learning Conservation Laws from Differential Equations

We present a machine learning algorithm that discovers conservation laws...
research
07/17/2018

Confederated Modular Differential Equation APIs for Accelerated Algorithm Development and Benchmarking

Performant numerical solving of differential equations is required for l...

Please sign up or login with your details

Forgot password? Click here to reset