Parallel SHA-256 on SW26010 many-core processor for hashing of multiple messages

被引:0
|
作者
Ziheng Wang
Xiaoshe Dong
Yan Kang
Heng Chen
机构
[1] Xi’an Jiaotong University,School of Computer Science and Technology
来源
关键词
SW26010; SHA-256; Multiple messages; Instruction level;
D O I
暂无
中图分类号
学科分类号
摘要
To explore whether new parallelism techniques can provide additional performance improvements in cryptographic hash functions, we conducted our study with the SW26010, which is a special-architecture processor on Sunway TaihuLight, one of the world’s fastest supercomputers. Secure Hash Algorithms (SHAs) are significant for secure transmission, with SHA-256 remaining a safe and most efficient SHA design. We propose SW-SHA-256, a parallel SHA-256 implementation for hashing of multiple messages on the SW26010. Our work explores the parallel schemes at the instruction and thread levels. At the instruction level, we use vector registers to load multiple messages to complete hashing simultaneously. Assembly-level optimization methods such as dual issue are used, and the pipeline is distinct from that of a general-purpose processor. At the thread level, the optimized DMA transmission strategy and double buffer technique are used to reduce the cost from memory to cache. As a result, we obtain 5.87 cycles per byte in a single core which is 8.18X speed up faster than the C code in OpenSSLv3.0.0. Moreover, our implementation achieves a throughput of 60.21 GB/s on a SW26010 processor and is highly scalable.
引用
收藏
页码:2332 / 2355
页数:23
相关论文
共 50 条
  • [21] Task Parallel Framework and Its Application in Nested Parallel Algorithms on the SW26010 Many-core Platform
    Sun Q.
    Li L.-S.
    Zhao H.-T.
    Zhao H.
    Wu C.-M.
    Wu, Chang-Mao (changmaowu@foxmail.com), 1600, Chinese Academy of Sciences (32): : 2352 - 2364
  • [22] Efficient parallelization of multilevel fast multipole algorithm for electromagnetic simulation on many-core SW26010 processor
    He, Wei-Jia
    Yang, Ming-Lin
    Wang, Wu
    Sheng, Xin-Qing
    JOURNAL OF SUPERCOMPUTING, 2021, 77 (02): : 1502 - 1516
  • [23] Enabling Highly Efficient k-Means Computations on the SW26010 Many-Core Processor of Sunway TaihuLight
    Li, Min
    Yang, Chao
    Sun, Qiao
    Ma, Wen-Jing
    Cao, Wen-Long
    Ao, Yu-Long
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2019, 34 (01) : 77 - 93
  • [24] Enabling Highly Efficient k-Means Computations on the SW26010 Many-Core Processor of Sunway TaihuLight
    Min Li
    Chao Yang
    Qiao Sun
    Wen-Jing Ma
    Wen-Long Cao
    Yu-Long Ao
    Journal of Computer Science and Technology, 2019, 34 : 77 - 93
  • [25] A Fast Sparse Triangular Solver for Structured-grid Problems on Sunway Many-core Processor SW26010
    Wang, Xinliang
    Xu, Ping
    Xue, Wei
    Ao, Yulong
    Yang, Chao
    Fu, Haohuan
    Gan, Lin
    Yang, Guangwen
    Zheng, Weimin
    PROCEEDINGS OF THE 47TH INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING, 2018,
  • [26] Efficient Parallelization of MLFMA for 3D Electromagnetic Scattering Problems on Sunway Many-core Processor SW26010
    He, W. J.
    Yang, M. L.
    Wang, W.
    Sheng, X. Q.
    2019 PHOTONICS & ELECTROMAGNETICS RESEARCH SYMPOSIUM - FALL (PIERS - FALL), 2019, : 1870 - 1876
  • [27] Parallel Computing and Optimization of Lattice Boltzmann Method Based on SW26010 Processor
    Zhang, Xiaoxiao
    Wang, Liangjun
    Chu, Xuesen
    Ding, Hu
    Zhang, Wu
    2020 IEEE INTL SYMP ON PARALLEL & DISTRIBUTED PROCESSING WITH APPLICATIONS, INTL CONF ON BIG DATA & CLOUD COMPUTING, INTL SYMP SOCIAL COMPUTING & NETWORKING, INTL CONF ON SUSTAINABLE COMPUTING & COMMUNICATIONS (ISPA/BDCLOUD/SOCIALCOM/SUSTAINCOM 2020), 2020, : 34 - 40
  • [28] Parallel Sparse Triangular Solver for Structured Grid Problems on SW26010 Processor
    Chen D.-K.
    Liu F.-F.
    Yang C.
    Ruan Jian Xue Bao/Journal of Software, 2022, 33 (12): : 4452 - 4463
  • [29] Parallel simulation of many-core processor and many-core clusters
    Lü, Huiwei
    Cheng, Yuan
    Bai, Lu
    Chen, Mingyu
    Fan, Dongrui
    Sun, Ninghui
    Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2013, 50 (05): : 1110 - 1117
  • [30] hsSpMV : A Heterogeneous and SPM-aggregated SpMV for SW26010-Pro many-core processor
    Pan, Jingshan
    Xiao, Lei
    Tian, Min
    Wang, Li
    Yang, Chaochao
    Chen, Renjiang
    Ren, Zenghui
    Liu, Anjun
    Zhu, Guanghui
    2023 IEEE/ACM 23RD INTERNATIONAL SYMPOSIUM ON CLUSTER, CLOUD AND INTERNET COMPUTING, CCGRID, 2023, : 62 - 70