Vectorization on ChaCha Stream Cipher

被引:9
|
作者
Goll, Martin [1 ]
Gueron, Shay [2 ,3 ]
机构
[1] Ruhr Univ Bochum, Bochum, Germany
[2] Univ Haifa, Dept Math, IL-31999 Haifa, Israel
[3] Intel Corp, Israel Dev Ctr, Haifa, Israel
关键词
component; Stream Cipher; ChaCha; SSL; TLS; optimization; Haswell;
D O I
10.1109/ITNG.2014.33
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
This paper describes software optimization for the stream Cipher ChaCha. We leverage the wide vectorization capabilities of the new AVX2 architecture, to speed up ChaCha encryption (and decryption) on the latest x86_64 processors. In addition, we show how to apply vectorization for the future AVX512 architecture, and get further speedup. This leads to significant performance gains. For example, on the latest Intel Haswell microarchitecture, our AVX2 implementation performs at 1.43 cycles per byte (on a 4KB message), which is similar to 2x faster than the current implementation in the Chromium project.
引用
收藏
页码:612 / 615
页数:4
相关论文
共 50 条
  • [1] Rotational Cryptanalysis on ChaCha Stream Cipher
    Barbero, Stefano
    Bazzanella, Danilo
    Bellini, Emanuele
    [J]. SYMMETRY-BASEL, 2022, 14 (06):
  • [2] Performance of Parallel ChaCha20 Stream Cipher
    Velea, Radu
    Gurzau, Florina
    Margarit, Laurentiu
    Bica, Ion
    Patriciu, Victor-Valeriu
    [J]. 2016 IEEE 11TH INTERNATIONAL SYMPOSIUM ON APPLIED COMPUTATIONAL INTELLIGENCE AND INFORMATICS (SACI), 2016, : 391 - 395
  • [3] PNB-Focused Differential Cryptanalysis of ChaCha Stream Cipher
    Miyashita, Shotaro
    Ito, Ryoma
    Miyaji, Atsuko
    [J]. INFORMATION SECURITY AND PRIVACY, ACISP 2022, 2022, 13494 : 46 - 66
  • [4] Implementation and optimization of ChaCha20 stream cipher on sunway taihuLight supercomputer
    Cai, Weilin
    Chen, Heng
    Wang, Ziheng
    Zhang, Xingjun
    [J]. JOURNAL OF SUPERCOMPUTING, 2022, 78 (03): : 4199 - 4216
  • [5] Higher-Order Differential-Linear Cryptanalysis of ChaCha Stream Cipher
    Ghafoori, Nasratullah
    Miyaji, Atsuko
    [J]. IEEE ACCESS, 2024, 12 : 13386 - 13399
  • [6] Extended-Chacha20 Stream Cipher With Enhanced Quarter Round Function
    Kebande, Victor R.
    [J]. IEEE ACCESS, 2023, 11 : 114220 - 114237
  • [7] Parity-Based Concurrent Error Detection Schemes for the ChaCha Stream Cipher
    Zeh, Alexander
    Meier, Manuela
    Rieger, Viola
    [J]. 2019 IEEE INTERNATIONAL SYMPOSIUM ON DEFECT AND FAULT TOLERANCE IN VLSI AND NANOTECHNOLOGY SYSTEMS (DFT), 2019,
  • [8] A hybrid CPU/GPU Scheme for Optimizing ChaCha20 Stream Cipher
    Wang, Ziheng
    Chen, Heng
    Cai, Weiling
    [J]. 19TH IEEE INTERNATIONAL SYMPOSIUM ON PARALLEL AND DISTRIBUTED PROCESSING WITH APPLICATIONS (ISPA/BDCLOUD/SOCIALCOM/SUSTAINCOM 2021), 2021, : 1171 - 1178
  • [9] Implementation and optimization of ChaCha20 stream cipher on sunway taihuLight supercomputer
    Weilin Cai
    Heng Chen
    Ziheng Wang
    Xingjun Zhang
    [J]. The Journal of Supercomputing, 2022, 78 : 4199 - 4216
  • [10] Study And Analysis of eSTREAM Cipher Salsa And ChaCha
    Yadav, Prateek
    Gupta, Indivar
    Murthy, S. K.
    [J]. PROCEEDINGS OF 2ND IEEE INTERNATIONAL CONFERENCE ON ENGINEERING & TECHNOLOGY ICETECH-2016, 2016, : 90 - 94