Skip to main content
Top
Published in: The Journal of Supercomputing 2/2023

13-08-2022

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

Authors: Ziheng Wang, Xiaoshe Dong, Yan Kang, Heng Chen

Published in: The Journal of Supercomputing | Issue 2/2023

Log in

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

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.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Literature
5.
go back to reference D’Anvers JP, Karmakar A, Sinha Roy S, Vercauteren F (2018) Saber: module-LWR based key exchange, CPA-Secure Encryption and CCA-Secure KEM. In: Progress in cryptology - AFRICACRYPT 2018-10th International Conference on Cryptology in Africa, Marrakesh, Morocco, May 7–9, 2018, Proceedings, vol 10831, pp 282–305. https://doi.org/10.1007/978-3-319-89339-6_16 D’Anvers JP, Karmakar A, Sinha Roy S, Vercauteren F (2018) Saber: module-LWR based key exchange, CPA-Secure Encryption and CCA-Secure KEM. In: Progress in cryptology - AFRICACRYPT 2018-10th International Conference on Cryptology in Africa, Marrakesh, Morocco, May 7–9, 2018, Proceedings, vol 10831, pp 282–305. https://​doi.​org/​10.​1007/​978-3-319-89339-6_​16
6.
go back to reference Bos J, Ducas L, Kiltz E, Lepoint T, Lyubashevsky V, Schanck JM, Schwabe P, Seiler G, Stehle D (2018) CRYSTALS-Kyber: a CCA-secure module-lattice-based KEM, In: 2018 IEEE European symposium on security and privacy, EuroS &P 2018, London, United Kingdom, pp 353–367. https://doi.org/10.1109/EuroSP.2018.00032 Bos J, Ducas L, Kiltz E, Lepoint T, Lyubashevsky V, Schanck JM, Schwabe P, Seiler G, Stehle D (2018) CRYSTALS-Kyber: a CCA-secure module-lattice-based KEM, In: 2018 IEEE European symposium on security and privacy, EuroS &P 2018, London, United Kingdom, pp 353–367. https://​doi.​org/​10.​1109/​EuroSP.​2018.​00032
14.
go back to reference Coughlin A, Cusack G, Wampler J, Keller E, Wustrow E (2019) Reaking the trust dependence on third party processes for reconfigurable secure hardware. In: Proceedings of the 2019 ACM/SIGDA international symposium on field-programmable gate arrays, vol 282. FPGA, p 291. https://doi.org/10.1145/3289602.3293895 Coughlin A, Cusack G, Wampler J, Keller E, Wustrow E (2019) Reaking the trust dependence on third party processes for reconfigurable secure hardware. In: Proceedings of the 2019 ACM/SIGDA international symposium on field-programmable gate arrays, vol 282. FPGA, p 291. https://​doi.​org/​10.​1145/​3289602.​3293895
15.
18.
go back to reference Liu Z, Chu X, Lv X, Meng H, Shi S, Han W, Xu J, Fu H, Yang G (2019) SunwayLB: enabling extreme-scale lattice boltzmann method based computing fluid dynamics simulations on sunway taihu light. In: In 2019 IEEE international parallel and distributed processing symposium (IPDPS), pp 557–566. https://doi.org/10.1109/IPDPS.2019.00065 Liu Z, Chu X, Lv X, Meng H, Shi S, Han W, Xu J, Fu H, Yang G (2019) SunwayLB: enabling extreme-scale lattice boltzmann method based computing fluid dynamics simulations on sunway taihu light. In: In 2019 IEEE international parallel and distributed processing symposium (IPDPS), pp 557–566. https://​doi.​org/​10.​1109/​IPDPS.​2019.​00065
Metadata
Title
Parallel SHA-256 on SW26010 many-core processor for hashing of multiple messages
Authors
Ziheng Wang
Xiaoshe Dong
Yan Kang
Heng Chen
Publication date
13-08-2022
Publisher
Springer US
Published in
The Journal of Supercomputing / Issue 2/2023
Print ISSN: 0920-8542
Electronic ISSN: 1573-0484
DOI
https://doi.org/10.1007/s11227-022-04750-7

Other articles of this Issue 2/2023

The Journal of Supercomputing 2/2023 Go to the issue

Premium Partner