Skip to main navigation Skip to search Skip to main content

Speeding up the montgomery exponentiation with CMM-SDR over GPU with maxwell and Pascal architecture

Research output: Chapter in Book/Report/Conference proceedingConference PaperResearch

Abstract

RSA is an algorithm widely used in protecting the key exchange between two parties for secure mobile and wireless communication. Modular exponentiation is the main operation involved in RSA, which is very time consuming when the bit-size is large, usually in the range of 1024-bit to 4096-bit. The speed performance of RSA comes to concerns when thousands or millions of authentication requests are needed to handle by the server at a time, through a massive number of connected mobile and wireless devices. The performance of RSA can be improved by utilizing parallel computing architecture or enhancing existing modular exponentiation algorithm. In this paper, we exploit the massively parallel architecture in GPU to perform RSA computations. Various optimization techniques were proposed in this paper to achieve higher throughput in RSA computation in two GPU platforms. Moreover, we also incorporated signed-digit recoding to further improve the performance. To allow a fair comparison with existing implementation techniques, we proposed to evaluate the speed performance in the best case (least ‘0’ in exponent bits), average case (random exponent bits) and worse case (all ‘1’ in exponent bits). The overall throughput achieved by our implementation is about 12% higher in random exponent bits and 50% higher in all 1’s exponent bits compared to the implementation without signed-digit recoding technique. Our implementation is able to achieve 17713 and 89043 1024-bit modular exponentiation per second on random exponent bits in GTX 960 M and GTX 1080, which represent the two state of the art GPU architecture.

Original languageEnglish
Title of host publicationMobile and Wireless Technologies 2017 - ICMWT 2017
EditorsKuinam J. Kim, Nikolai Joukov
Place of PublicationSingapore Singapore
PublisherSpringer
Pages75-85
Number of pages11
ISBN (Electronic)9789811052811
ISBN (Print)9789811052804
DOIs
Publication statusPublished - 2018
Externally publishedYes
EventiCatse Conference on Mobile and Wireless Technology 2017 - Kuala Lumpur, Malaysia
Duration: 26 Jun 201729 Jun 2017
Conference number: 4th
https://link.springer.com/book/10.1007/978-981-10-5281-1 (Proceedings)

Publication series

NameLecture Notes in Electrical Engineering
PublisherSpringer
Volume425
ISSN (Print)1876-1100
ISSN (Electronic)1876-1119

Conference

ConferenceiCatse Conference on Mobile and Wireless Technology 2017
Abbreviated titleICMWT 2017
Country/TerritoryMalaysia
CityKuala Lumpur
Period26/06/1729/06/17
Internet address

Keywords

  • GPU
  • Montgomery exponentiation
  • RSA
  • Signed-digit recoding

Cite this