Implementation and optimization of ChaCha20 stream cipher on sunway taihuLight supercomputer

被引:0
|
作者
Weilin Cai
Heng Chen
Ziheng Wang
Xingjun Zhang
机构
[1] Xi’an Jiaotong University,School of Computer Science and Technology
来源
关键词
ChaCha20; Stream cipher; Sunway supercomputer; Parallelism;
D O I
暂无
中图分类号
学科分类号
摘要
Data have always been the most valuable asset of enterprises and research institutions, and their confidentiality, especially the input and output data related to applications running on remote supercomputers, should be protected as much as possible. However, because of the large scale of the data, it takes a considerable amount of time to encrypt and decrypt them. The ChaCha20 cipher and the Advanced Encryption Standard (AES) cipher are the only ciphers supported by TLS v1.3. The ChaCha20 cipher is a kind of high-speed stream cipher emerging in recent years, which has attracted more and more attention due to its security and high efficiency. In order to make large-scale data en-/decryption more efficient, we implement a parallel version of the ChaCha20 stream cipher, parallel ChaCha20, which is optimized for SW26010 heterogeneous multi-core processor on the Sunway TaihuLight supercomputer. We used multiple optimization methods such as Direct Memory Access (DMA) and Single Instruction Multiple Data (SIMD) supported by SW26010 and proposed an optimization scheme that dynamically changes with the size of input data. The experiment results show that the parallel ChaCha20 has a maximum throughput of 32.43 GB/s on a single SW26010 processor, which is 2.4 times that of the best AES implementation on Sunway as far as we know. Moreover, the parallel ChaCha20 has a good scalability and runs on 1024 core groups with a max throughput of 8296.43 GB/s.
引用
收藏
页码:4199 / 4216
页数:17
相关论文
共 17 条
  • [1] 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
  • [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] 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
  • [4] Performance Optimization of the HPCG Benchmark on the Sunway TaihuLight Supercomputer
    Ao, Yulong
    Yang, Chao
    Liu, Fangfang
    Yin, Wanwang
    Jiang, Lijuan
    Sun, Qiao
    [J]. ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2018, 15 (01)
  • [5] Efficient AES implementation on Sunway TaihuLight supercomputer: A systematic approach
    Li, Liandeng
    Fang, Jiarui
    Jiang, Jinlei
    Gan, Lin
    Zheng, Weijie
    Fu, Haohuan
    Yang, Guangwen
    [J]. JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2020, 138 : 178 - 189
  • [6] Implementation and Optimization of AES Algorithm on the Sunway TaihuLight
    Chen, Yuedan
    Li, Kenli
    Fei, Xiongwei
    Quan, Zhe
    Li, Keqin
    [J]. 2016 17TH INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED COMPUTING, APPLICATIONS AND TECHNOLOGIES (PDCAT), 2016, : 256 - 261
  • [7] High-Performance Hardware Structure of ChaCha20 Stream Cipher Based on Sparse Parallel Prefix Adder
    Rashidi, Bahram
    [J]. INTERNATIONAL JOURNAL OF CIRCUIT THEORY AND APPLICATIONS, 2024,
  • [8] Implementation and optimization of a data protecting model on the Sunway TaihuLight supercomputer with heterogeneous many-core processors
    Chen, Yuedan
    Li, Kenli
    Fei, Xiongwei
    Quan, Zhe
    Li, Keqin
    [J]. CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2019, 31 (21):
  • [9] Event-based cryptography for automation networks of cyber-physical systems using the stream cipher ChaCha20
    Lima, Publio M.
    da Silva, Carlos K. P.
    de Farias, Claudio M.
    Carvalho, Lilian K.
    Moreira, Marcos, V
    [J]. IFAC PAPERSONLINE, 2022, 55 (28): : 58 - 65
  • [10] Heterogeneous Parallel Algorithm Design and Performance Optimization for WENO on the Sunway TaihuLight Supercomputer
    Huang, Jianqiang
    Han, Wentao
    Wang, Xiaoying
    Chen, Wenguang
    [J]. TSINGHUA SCIENCE AND TECHNOLOGY, 2020, 25 (01) : 56 - 67