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


연구 분야: Cryptography



학회: The Journal of Supercomputing


초록

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.


Author Profile
Yan Kang

School of Computer Science and Technology Xi’an Jiaotong University West Xianning Road Xi’an 710049 Shaanxi China

Andorra
Author Profile
Xiaoshe Dong

School of Computer Science and Technology Xi’an Jiaotong University West Xianning Road Xi’an 710049 Shaanxi China

Andorra
Author Profile
Ziheng Wang

School of Computer Science and Technology Xi’an Jiaotong University West Xianning Road Xi’an 710049 Shaanxi China

Andorra

📄 논문 정보

발행 연도 2022년
인용수 9
출판 국가 Andorra
사이트 Springer
좋아요 수 0

연관 논문 목록 (383건)