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 条
  • [41] Extended-Chacha20 Stream Cipher With Enhanced Quarter Round Function
    Kebande, Victor R.
    IEEE ACCESS, 2023, 11 : 114220 - 114237
  • [42] Parity-Based Concurrent Error Detection Schemes for the ChaCha Stream Cipher
    Zeh, Alexander
    Meier, Manuela
    Rieger, Viola
    2019 IEEE INTERNATIONAL SYMPOSIUM ON DEFECT AND FAULT TOLERANCE IN VLSI AND NANOTECHNOLOGY SYSTEMS (DFT), 2019,
  • [43] Implementation and optimization of ChaCha20 stream cipher on sunway taihuLight supercomputer
    Weilin Cai
    Heng Chen
    Ziheng Wang
    Xingjun Zhang
    The Journal of Supercomputing, 2022, 78 : 4199 - 4216
  • [44] A hybrid CPU/GPU Scheme for Optimizing ChaCha20 Stream Cipher
    Wang, Ziheng
    Chen, Heng
    Cai, Weiling
    19TH IEEE INTERNATIONAL SYMPOSIUM ON PARALLEL AND DISTRIBUTED PROCESSING WITH APPLICATIONS (ISPA/BDCLOUD/SOCIALCOM/SUSTAINCOM 2021), 2021, : 1171 - 1178
  • [45] Cryptanalysis of Salsa and ChaCha: Revisited
    Deepthi, Kakumani K. C.
    Singh, Kunwar
    MOBILE NETWORKS AND MANAGEMENT (MONAMI 2017), 2018, 235 : 324 - 338
  • [46] BDD-based cryptanalysis of stream cipher: a practical approach
    Sahu, Harish Kumar
    Gupta, Indivar
    Pillai, N. Rajesh
    Sharma, Rajendra Kumar
    IET INFORMATION SECURITY, 2017, 11 (03) : 159 - 167
  • [47] Algebraic cryptanalysis of a small-scale version of stream cipher Lex
    Velichkov, V.
    Rijmen, V.
    Preneel, B.
    IET INFORMATION SECURITY, 2010, 4 (02) : 49 - 61
  • [48] Cryptanalysis of stream cipher COS (2,128) Mode I
    Wu, HJ
    Bao, F
    INFORMATION SECURITY AND PRIVACY, 2002, 2384 : 154 - 158
  • [49] Cryptanalysis of hardware based stream ciphers and implementation of GSM stream cipher to propose a novel approach for designing n-bit LFSR stream cipher
    Upadhyay, Darshana
    Shah, Trishla
    Sharma, Priyanka
    2015 19TH INTERNATIONAL SYMPOSIUM ON VLSI DESIGN AND TEST (VDAT), 2015,
  • [50] Study And Analysis of eSTREAM Cipher Salsa And ChaCha
    Yadav, Prateek
    Gupta, Indivar
    Murthy, S. K.
    PROCEEDINGS OF 2ND IEEE INTERNATIONAL CONFERENCE ON ENGINEERING & TECHNOLOGY ICETECH-2016, 2016, : 90 - 94