Rotational Cryptanalysis on ChaCha Stream Cipher

被引:2
|
作者
Barbero, Stefano [1 ]
Bazzanella, Danilo [1 ]
Bellini, Emanuele [2 ]
机构
[1] Politecn Torino, Dept Math Sci Giuseppe Luigi Lagrange, I-10129 Turin, Italy
[2] Technol Innovat Inst, Cryptog Res Ctr, POB 9639, Abu Dhabi, U Arab Emirates
来源
SYMMETRY-BASEL | 2022年 / 14卷 / 06期
关键词
ChaCha20; stream cipher; rotational cryptanalysis; rotational-XOR cryptanalysis; ATTACKS;
D O I
10.3390/sym14061087
中图分类号
O [数理科学和化学]; P [天文学、地球科学]; Q [生物科学]; N [自然科学总论];
学科分类号
07 ; 0710 ; 09 ;
摘要
In this paper we consider the ChaCha20 stream cipher in the related-key scenario and we study how to obtain rotational-XOR pairs with nonzero probability after the application of the first quarter round. The ChaCha20 input can be viewed as a 4x4 matrix of 32-bit words, where the first row of the matrix is fixed to a constant value, the second two rows represent the key, and the fourth some initialization values. Under some reasonable independence assumptions and a suitable selection of the input, we show that the aforementioned probability is about 2(-251.7857), a value greater than 2(-256), which is the one expected from a random permutation. We also investigate the existence of constants, different from the ones used in the first row of the ChaCha20 input, for which the rotational-XOR probability increases, representing a potential weakness in variants of the ChaCha20 stream cipher. So far, to our knowledge, this is the first analysis of the ChaCha20 stream cipher from a rotational-XOR perspective.
引用
收藏
页数:18
相关论文
共 50 条
  • [31] Cube Cryptanalysis of Hitag2 Stream Cipher
    Sun, Siwei
    Hu, Lei
    Xie, Yonghong
    Zeng, Xiangyong
    CRYPTOLOGY AND NETWORK SECURITY, 2011, 7092 : 15 - +
  • [32] Cryptanalysis of TOYOCRYPT-HS1 stream cipher
    Mihaljevic, MJ
    Imai, H
    IEICE TRANSACTIONS ON FUNDAMENTALS OF ELECTRONICS COMMUNICATIONS AND COMPUTER SCIENCES, 2002, E85A (01) : 66 - 73
  • [33] Cryptanalysis of WG-7: a lightweight stream cipher
    Orumiehchiha, Mohammad Ali
    Pieprzyk, Josef
    Steinfeld, Ron
    CRYPTOGRAPHY AND COMMUNICATIONS-DISCRETE-STRUCTURES BOOLEAN FUNCTIONS AND SEQUENCES, 2012, 4 (3-4): : 277 - 285
  • [34] Splicing DNA Model for Unknown Stream Cipher Cryptanalysis
    Yaseen, Basin S.
    PROCEEDING OF 2021 2ND INFORMATION TECHNOLOGY TO ENHANCE E-LEARNING AND OTHER APPLICATION (IT-ELA 2021), 2021, : 46 - 51
  • [35] Cryptanalysis of a Chaotic Stream Cipher and Its Improved Scheme
    Lin, Zhuosheng
    Yu, Simin
    Feng, Xiutao
    Lu, Jinhu
    INTERNATIONAL JOURNAL OF BIFURCATION AND CHAOS, 2018, 28 (07):
  • [36] CRYPTANALYSIS OF CHAOTIC STREAM CIPHER BY MEANS OF EVOLUTIONAL ALGORITHMS
    Behal, Ladislav
    Giesl, Jiri
    Vlcek, Karel
    16TH INTERNATIONAL CONFERENCE ON SOFT COMPUTING MENDEL 2010, 2010, : 107 - 112
  • [37] Linear cryptanalysis for a chaos-based stream cipher
    Yin, Ruming
    Yuan, Jian
    Yang, Qiuhua
    Shan, Xiuming
    Wang, Xiqin
    World Academy of Science, Engineering and Technology, 2009, 36 : 801 - 806
  • [38] Improved Cryptanalysis of the Common Scrambling Algorithm Stream Cipher
    Simpson, Leonie
    Henricksen, Matt
    Yap, Iiatun-She
    INFORMATION SECURITY AND PRIVACY, PROCEEDINGS, 2009, 5594 : 108 - +
  • [39] Cryptanalysis of WG-7: a lightweight stream cipher
    Mohammad Ali Orumiehchiha
    Josef Pieprzyk
    Ron Steinfeld
    Cryptography and Communications, 2012, 4 : 277 - 285
  • [40] Implementation and optimization of ChaCha20 stream cipher on sunway taihuLight supercomputer
    Cai, Weilin
    Chen, Heng
    Wang, Ziheng
    Zhang, Xingjun
    JOURNAL OF SUPERCOMPUTING, 2022, 78 (03): : 4199 - 4216