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 条
  • [1] Parallel SHA-256 on SW26010 many-core processor for hashing of multiple messages
    Wang, Ziheng
    Dong, Xiaoshe
    Kang, Yan
    Chen, Heng
    JOURNAL OF SUPERCOMPUTING, 2023, 79 (02): : 2332 - 2355
  • [2] Benchmarking SW26010 Many-core Processor
    Xu, Zhigeng
    Lin, James
    Matsuoka, Satoshi
    2017 IEEE INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS (IPDPSW), 2017, : 743 - 752
  • [3] SW-LZMA: Parallel Implementation of LZMA Based on SW26010 Many-Core Processor
    Li, Bingzheng
    Xu, Jinchen
    Liu, Zijing
    WIRELESS COMMUNICATIONS & MOBILE COMPUTING, 2021, 2021
  • [4] A PARALLEL APPROACH FOR OIL PALM TREE DETECTION ON A SW26010 MANY-CORE PROCESSOR
    Zheng, Juepeng
    Wu, Wenzhao
    Zhao, Yi
    Yuan, Shuai
    Dong, Runmin
    Zhang, Lixian
    Fu, Haohuan
    2022 IEEE INTERNATIONAL GEOSCIENCE AND REMOTE SENSING SYMPOSIUM (IGARSS 2022), 2022, : 1548 - 1551
  • [5] UNAT: UNstructured Acceleration Toolkit on SW26010 many-core processor
    Liu, Hongbin
    Ren, Hu
    Gu, Hanfeng
    Gao, Fei
    Yang, Guangwen
    ENGINEERING COMPUTATIONS, 2020, 37 (09) : 3187 - 3208
  • [6] Runtime Adaptive Matrix Multiplication for the SW26010 Many-Core Processor
    Wu, Zheng
    Li, Mingfan
    Chi, Mengxian
    Xu, Le
    An, Hong
    IEEE ACCESS, 2020, 8 : 156915 - 156928
  • [7] Towards Highly Efficient DGEMM on the Emerging SW26010 Many-core Processor
    Jiang, Lijuan
    Yang, Chao
    Ao, Yulong
    Yin, Wanwang
    Ma, Wenjing
    Sun, Qiao
    Liu, Fangfang
    Lin, Rongfen
    Zhang, Peng
    2017 46TH INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING (ICPP), 2017, : 422 - 431
  • [8] Bandwidth Reduced Parallel SpMV on the SW26010 Many-Core Platform
    Sun, Qiao
    Zhang, Changyou
    Wu, Changmao
    Zhang, Jiajia
    Li, Leisheng
    PROCEEDINGS OF THE 47TH INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING, 2018,
  • [9] Enabling Highly Efficient Batched Matrix Multiplications on SW26010 Many-core Processor
    Jiang, Lijuan
    Yang, Chao
    Ma, Wenjing
    ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2020, 17 (01)
  • [10] swATOP: Automatically Optimizing Deep Learning Operators on SW26010 Many-Core Processor
    Gao, Wei
    Fang, Jiarui
    Zhao, Wenlai
    Yang, Jinzhe
    Wang, Long
    Gan, Lin
    Fu, Haohuan
    Yang, Guangwen
    PROCEEDINGS OF THE 48TH INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING (ICPP 2019), 2019,