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 条
  • [31] Shenwei-26010: A High-Performance Many-Core Processor
    Hu X.
    Ke X.
    Yin F.
    Zhao X.
    Ma Y.
    Yan S.
    Ma C.
    Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2021, 58 (06): : 1155 - 1165
  • [32] General SpMV Implementation in Many-Core Domestic Sunway 26010 Processor
    Liu F.-F.
    Yang C.
    Yuan X.-H.
    Wu C.-M.
    Ao Y.-L.
    Ruan Jian Xue Bao/Journal of Software, 2018, 29 (12): : 3921 - 3932
  • [33] Implementation and optimization of SpMV algorithm based on SW26010P many-core processor and stored in BCSR format
    Ma, Mengfei
    Huang, Xianqing
    Xu, Jiali
    Jia, Dongning
    SCIENTIFIC REPORTS, 2024, 14 (01):
  • [34] Massive parallelization of multilevel fast multipole algorithm for 3-D electromagnetic scattering problems on SW26010 many-core cluster
    Liu, Xin-Duo
    He, Wei-Jia
    Yang, Ming-Lin
    Sheng, Xin-Qing
    JOURNAL OF SUPERCOMPUTING, 2024, 80 (07): : 8702 - 8718
  • [35] Massive parallelization of multilevel fast multipole algorithm for 3-D electromagnetic scattering problems on SW26010 many-core cluster
    Xin-Duo Liu
    Wei-Jia He
    Ming-Lin Yang
    Xin-Qing Sheng
    The Journal of Supercomputing, 2024, 80 : 8702 - 8718
  • [36] xMath2.0: a high-performance extended math library for SW26010-Pro many-core processor
    Fangfang Liu
    Wenjing Ma
    Yuwen Zhao
    Daokun Chen
    Yi Hu
    Qinglin Lu
    WanWang Yin
    Xinhui Yuan
    Lijuan Jiang
    Hao Yan
    Min Li
    Hongsen Wang
    Xinyu Wang
    Chao Yang
    CCF Transactions on High Performance Computing, 2023, 5 : 56 - 71
  • [37] Parallel Image Processing on the Sunway Many-core Processor
    Zhao, Meiting
    Liu, Rui
    Liu, Yi
    Song, Kaida
    Qian, Depei
    PROCEEDINGS OF 2016 IEEE 18TH INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING AND COMMUNICATIONS; IEEE 14TH INTERNATIONAL CONFERENCE ON SMART CITY; IEEE 2ND INTERNATIONAL CONFERENCE ON DATA SCIENCE AND SYSTEMS (HPCC/SMARTCITY/DSS), 2016, : 679 - 686
  • [38] Parallel deblocking filter for HEVC on many-core processor
    Yan, Chenggang
    Zhang, Yongdong
    Dai, Feng
    Wang, Xi
    Li, Liang
    Dai, Qionghai
    ELECTRONICS LETTERS, 2014, 50 (05) : 367 - +
  • [39] Tsunami: massively parallel homomorphic hashing on many-core GPUs
    Chu, Xiaowen
    Zhao, Kaiyong
    Li, Zongpeng
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2012, 24 (17): : 2028 - 2039
  • [40] Many-core Optimization of Level 1 and Level 2 BLAS Routines on SW26010-Pro
    Hu Y.
    Chen D.-K.
    Yang C.
    Liu F.-F.
    Ma W.-J.
    Yin W.-W.
    Yuan X.-H.
    Lin R.-F.
    Ruan Jian Xue Bao/Journal of Software, 2023, 34 (09): : 4421 - 4436