Boosting Differential-Linear Cryptanalysis of ChaCha7 with MILP
Open Access
- 16 June 2023
- journal article
- research article
- Published by Universitatsbibliothek der Ruhr-Universitat Bochum in IACR Transactions on Symmetric Cryptology
- Vol. 2023 (2) , 189-223
Abstract
In this paper, we present an improved differential-linear cryptanalysis of the ChaCha stream cipher. Our main contributions are new differential-linear distinguishers that we were able to build thanks to the following improvements: a) we considered a larger search space, including 2-bit differences (besides 1-bit differences) for the difference at the beginning of the differential part of the differential-linear trail; b) a better choice of mask between the differential and linear parts; c) a carefully crafted MILP tool that finds linear trails with higher correlation for the linear part. We eventually obtain a new distinguisher for ChaCha reduced to 7 rounds that requires 2166.89 computations, improving the previous record (ASIACRYPT 2022) by a factor of 247. Also, we obtain a distinguisher for ChaCha reduced to 7.5 rounds that requires 2251.4 computations, being the first time of a distinguisher against ChaCha reduced to 7.5 rounds. Using our MILP tool, we also found a 5-round differential-linear distinguisher. When combined with the probabilistic neutral bits (PNB) framework, we obtain a key-recovery attack on ChaCha reduced to 7 rounds with a computational complexity of 2206.8, improving by a factor 214.2 upon the recent result published at EUROCRYPT 2022.Keywords
This publication has 9 references indexed in Scilit:
- Rotational Differential-Linear Distinguishers of ARX Ciphers with Arbitrary Output Linear Masks2022
- Rotational Cryptanalysis on ChaCha Stream CipherSymmetry, 2022
- Revisiting Cryptanalysis on ChaCha From Crypto 2020 and Eurocrypt 2021IEEE Transactions on Information Theory, 2022
- A theoretical investigation on the distinguishers of Salsa and ChaChaDiscrete Applied Mathematics, 2021
- Improved Linear Approximations to ARX Ciphers and Attacks Against ChaCha2021
- Optimization of Advanced Encryption Standard on Graphics Processing UnitsIEEE Access, 2021
- Proving the biases of Salsa and ChaCha in differential attackDesigns, Codes and Cryptography, 2020
- Improved analysis for reduced round Salsa and ChachaDiscrete Applied Mathematics, 2017
- Chosen IV cryptanalysis on reduced round ChaCha and SalsaDiscrete Applied Mathematics, 2016