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
相关论文
共 20 条
  • [1] Ashur T., 2017, P 2017 S INFORM THEO
  • [2] Rotational Cryptanalysis in the Presence of Constants
    Ashur, Tomer
    Liu, Yunwen
    [J]. IACR TRANSACTIONS ON SYMMETRIC CRYPTOLOGY, 2016, 2016 (01) : 57 - 70
  • [3] ROTATIONAL ANALYSIS OF CHACHA PERMUTATION
    Barbero, Stefano
    Bellini, Emanuele
    Makarim, Rusydi H.
    [J]. ADVANCES IN MATHEMATICS OF COMMUNICATIONS, 2023, 17 (06) : 1422 - 1439
  • [4] Bernstein D.J, 2005, Salsa20 specification
  • [5] Bernstein D.J., 2005, SALSA20 SECURITY
  • [6] SPHINCS: Practical Stateless Hash-Based Signatures
    Bernstein, Daniel J.
    Hopwood, Daira
    Hulsing, Andreas
    Lange, Tanja
    Niederhagen, Ruben
    Papachristodoulou, Louiza
    Schneider, Michael
    Schwabe, Peter
    Wilcox-O'Hearn, Zooko
    [J]. ADVANCES IN CRYPTOLOGY - EUROCRYPT 2015, PT I, 2015, 9056 : 368 - 397
  • [7] Bernstein DJ, 2008, WORKSH REC SASC, V8, P3
  • [8] BIHAM E, 1994, J CRYPTOL, V7, P229, DOI 10.1007/BF00203965
  • [9] Daum M., 2005, THESIS RUHR U BOCHUM
  • [10] Ferguson N., 2010, SUBMISSION NIST ROU, V7, P3