PNB Based Differential Cryptanalysis of Salsa20 and ChaCha

被引:4
|
作者
Ghafoori, Nasratullah [1 ]
Miyaji, Atsuko [1 ]
Ito, Ryoma [2 ]
Miyashita, Shotaro [1 ]
机构
[1] Osaka Univ, Grad Sch Engn, Suita 565 0871, Japan
[2] Natl Inst Informat & Commun Technol, Koganei 1848795, Japan
关键词
stream cipher; Salsa20; ChaCha; differential cryptanalysis; PNBs; REDUCED ROUND SALSA;
D O I
10.1587/transinf.2022ICP0015
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
This paper introduces significant improvements over the existing cryptanalysis approaches on Salsa20 and ChaCha stream ciphers. For the first time, we reduced the attack complexity on Salsa20/8 to the lowest possible margin. We introduced an attack on ChaCha7.25. It is the first attack of its type on ChaCha7.25/20. In our approach, we studied differential cryptanalysis of the Salsa20 and ChaCha stream ciphers based on a comprehensive analysis of probabilistic neutral bits (PNBs). The existing differential cryptanalysis approaches on Salsa20 and ChaCha stream ciphers first study the differential bias at specific input and output differential positions and then search for probabilistic neutral bits. However, the differ- ential bias and the set of PNBs obtained in this method are not always the ideal combination to conduct the attack against the ciphers. The researchers have not focused on the comprehensive analysis of the probabilistic neutrality measure of all key bits concerning all possible output difference positions at all possible internal rounds of Salsa20 and ChaCha stream ciphers. Moreover, the relationship between the neutrality measure and the number of inverse quarter rounds has not been scrutinized yet. To address these study gaps, we study the differential cryptanalysis based on the comprehensive analysis of probabilistic neutral bits on the reduced-round Salsa20 and ChaCha. At first, we comprehensively analyze the neutrality measure of 256 key bits positions. Afterward, we select the output difference bit position with the best average neutrality measure and look for the corresponding input differential with the best differential bias. Considering all aspects, we present an attack on Salsa20/8 with a time complexity of 2(241.62) and data complexity of 2(31.5), which is the best-known single bit differen- tial attack on Salsa20/8 and then, we introduced an attack on ChaCha7.25 rounds with a time complexity of 2(254.011) and data complexity of 2(51.81).
引用
收藏
页码:1407 / 1422
页数:16
相关论文
共 50 条
  • [21] Hardware implementation of the Salsa20 and Phelix stream ciphers
    Yan, Junjie
    Heys, Howard M.
    2007 CANADIAN CONFERENCE ON ELECTRICAL AND COMPUTER ENGINEERING, VOLS 1-3, 2007, : 1125 - 1128
  • [22] Improved Salsa20 Stream Cipher Diffusion Based on Random Chaotic Maps
    Muhalhal, Lamia A.
    Alshawi, Imad S.
    INFORMATICA-AN INTERNATIONAL JOURNAL OF COMPUTING AND INFORMATICS, 2022, 46 (07): : 95 - 102
  • [23] A Lightweight Cipher Based on Salsa20 for Resource-Constrained IoT Devices
    Lara, Evangelina
    Aguilar, Leocundo
    Garcia, Jesus A.
    Sanchez, Mauricio A.
    SENSORS, 2018, 18 (10)
  • [24] Differential-Linear Cryptanalysis of Reduced Round ChaCha
    Xu, Zhichao
    Xu, Hong
    Tan, Lin
    Qi, Wenfeng
    IACR TRANSACTIONS ON SYMMETRIC CRYPTOLOGY, 2024, 2024 (02) : 166 - 189
  • [25] A Compact Implementation of Salsa20 and Its Power Analysis Vulnerabilities
    Mazumdar, Bodhisatwa
    Ali, Sk. Subidh
    Sinanoglu, Ozgur
    ACM TRANSACTIONS ON DESIGN AUTOMATION OF ELECTRONIC SYSTEMS, 2016, 22 (01)
  • [26] 流密码Salsa20的差分研究
    李申华
    郑世慧
    宋春燕
    计算机工程与应用 , 2008, (01) : 5 - 7+13
  • [27] EAMSA 512: New 512 Bits Encryption Algorithm Based on Modified SALSA20
    Naif, Jolan Rokan
    Ahmed, Israa S.
    Zaki, Nashwan Dheyaa
    Hoomod, Haider K.
    Iraqi Journal for Computer Science and Mathematics, 2023, 4 (02): : 131 - 142
  • [28] Improved Differential-Linear Cryptanalysis of Reduced Rounds of ChaCha
    Watanabe, Ryo
    Ghafoori, Nasratullah
    Miyaji, Atsuko
    INFORMATION SECURITY APPLICATIONS, WISA 2023, 2024, 14402 : 269 - 281
  • [29] Revamped Differential-Linear Cryptanalysis on Reduced Round ChaCha
    Dey, Sabyasachi
    Garai, Hirendra Kumar
    Sarkar, Santanu
    Sharma, Nitin Kumar
    ADVANCES IN CRYPTOLOGY - EUROCRYPT 2022, PT III, 2022, 13277 : 86 - 114
  • [30] Improved Related-Cipher Attack on Salsa20 Stream Cipher
    Ding, Lin
    IEEE ACCESS, 2019, 7 : 30197 - 30202