On additive differential probabilities of the composition of bitwise exclusive-or and a bit rotation
Nikolay Kolomeec, Ivan Sutormin, Denis Bykov, Matvey Panferov, Tatyana Bonich
TL;DR
The paper analyzes the additive differential probability of the XR operation $\mathrm{adp}^{\mathrm{XR}}$ = $\Pr_{x,y}[ (x \oplus y) \lll r$ differential preserves output by $\alpha_{k+1}$ modulo $2^n]$ within ARX-like primitives. It derives a formula expressing $\mathrm{adp}^{\mathrm{XR}}$ as a convolution of auxiliary $\mathrm{adp}^{\oplus}$ components, establishes argument symmetries, and determines maximums for one-bit rotations ($r=1$ and $r=n-1$) with fixtures on the input differences. The work also provides a complete characterization of impossible differentials for $ (x \oplus y) \lll r$ via regular-expression-like octal patterns and gives tight bounds on their numbers, showing that rotation reduces the count of impossible differentials compared to plain XOR. Collectively, these results deepen the differential-cryptanalysis understanding of XR-based ARX primitives and offer tools for constructing differential trails and impossible-differential attacks. The methods and patterns extend to the RX variant and suggest directions for future exploration of higher-rotation cases and broader fixed-input-difference settings.
Abstract
Properties of the additive differential probability $\mathrm{adp}^{\mathrm{XR}}$ of the composition of bitwise XOR and a bit rotation are investigated, where the differences are expressed using addition modulo $2^n$. This composition is widely used in ARX constructions consisting of additions modulo $2^n$, bit rotations and bitwise XORs. Differential cryptanalysis of such primitives may involve maximums of $\mathrm{adp}^{\mathrm{XR}}$, where some of its input or output differences are fixed. Although there is an efficient way to calculate this probability (Velichkov et al, 2011), many of its properties are still unknown. In this work, we find maximums of $\mathrm{adp}^{\mathrm{XR}}$, where the rotation is one bit left/right and one of its input differences is fixed. Some symmetries of $\mathrm{adp}^{\mathrm{XR}}$ are obtained as well. We provide all its impossible differentials in terms of regular expression patterns and estimate the number of them. This number turns out to be maximal for the one bit left rotation and noticeably less than the number of impossible differentials of bitwise XOR.
