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 条
  • [1] Differential Cryptanalysis of Salsa20 Based on Comprehensive Analysis of PNBs
    Ghafoori, Nasratullah
    Miyaji, Atsuko
    INFORMATION SECURITY PRACTICE AND EXPERIENCE, ISPEC 2022, 2022, 13620 : 520 - 536
  • [2] Fault Injection Attack on Salsa20 and ChaCha and a Lightweight Countermeasure
    Fukushima, Kazuhide
    Xu, Rui
    Kiyomoto, Shinsaku
    Homma, Naofumi
    2017 16TH IEEE INTERNATIONAL CONFERENCE ON TRUST, SECURITY AND PRIVACY IN COMPUTING AND COMMUNICATIONS / 11TH IEEE INTERNATIONAL CONFERENCE ON BIG DATA SCIENCE AND ENGINEERING / 14TH IEEE INTERNATIONAL CONFERENCE ON EMBEDDED SOFTWARE AND SYSTEMS, 2017, : 1032 - 1037
  • [3] Algebraic truncated differential cryptanalysis of 5-round Salsa20
    Guan, Jie
    Zhang, Zhong-Ya
    Ruan Jian Xue Bao/Journal of Software, 2013, 24 (05): : 1111 - 1126
  • [4] PNB-Focused Differential Cryptanalysis of ChaCha Stream Cipher
    Miyashita, Shotaro
    Ito, Ryoma
    Miyaji, Atsuko
    INFORMATION SECURITY AND PRIVACY, ACISP 2022, 2022, 13494 : 46 - 66
  • [5] Cryptanalysis of Salsa and ChaCha: Revisited
    Deepthi, Kakumani K. C.
    Singh, Kunwar
    MOBILE NETWORKS AND MANAGEMENT (MONAMI 2017), 2018, 235 : 324 - 338
  • [6] Latin Dances Revisited: New Analytic Results of Salsa20 and ChaCha
    Ishiguro, Tsukasa
    Kiyomoto, Shinsaku
    Miyake, Yutaka
    INFORMATION AND COMMUNICATIONS SECURITY, 2011, 7043 : 255 - 266
  • [7] VLSI Hardware Evaluation of the Stream Ciphers Salsa20 and ChaCha, and the Compression Function Rumba
    Henzen, L.
    Carbognani, F.
    Felber, N.
    Fichtner, W.
    SCS: 2008 2ND INTERNATIONAL CONFERENCE ON SIGNALS, CIRCUITS AND SYSTEMS, 2008, : 223 - 227
  • [8] Cryptanalysis for reduced round Salsa and ChaCha: revisited
    Deepthi, Kakumani K. C.
    Singh, Kunwar
    IET INFORMATION SECURITY, 2019, 13 (06) : 591 - 602
  • [9] Chosen IV cryptanalysis on reduced round ChaCha and Salsa
    Maitra, Subhamoy
    DISCRETE APPLIED MATHEMATICS, 2016, 208 : 88 - 97
  • [10] On the Salsa20 Core Function
    Hernandez-Castro, Julio Cesar
    Tapiador, Juan M. E.
    Quisquater, Jean-Jacques
    FAST SOFTWARE ENCRYPTION, 2008, 5086 : 462 - +