Speed records for multi-prime RSA using AVX2 architectures

Shay Gueron, Vlad Krasnov

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

RSA is a popular public key algorithm. Its private key operation is modular exponentiation with a composite 2k-bit modulus that is the product of two kbit primes. Computing 2k-bit modular exponentiation can be sped up four fold with the Chinese Remainder Theorem (CRT), requiring two k-bit modular exponentiations (plus recombination). Multi-prime RSA is the generalization to the case where the modulus is a product of r ≥ 3 primes of (roughly) equal bit-length, 2k/r. Here, CRT trades 2k-bit modular exponentiation with r modular exponentiations, with 2k/r-bit moduli (plus recombination). This paper discusses multi-prime RSA with key lengths (=2k) of 2048/3072/4096 bits, and r = 3 or r = 4 primes. With these parameters, the security of multi-prime RSA is comparable to that of classical RSA. We show how to optimize multi-prime RSA on modern processors, by parallelizing r modular exponentiations and leveraging “vector” instructions, achieving performance gains of up to 5.07x.

Original languageAmerican English
Title of host publicationInformation Technology
Subtitle of host publicationNew Generations - 13th International Conference on Information Technology
EditorsShahram Latifi
PublisherSpringer Verlag
Pages237-245
Number of pages9
ISBN (Print)9783319324661
DOIs
StatePublished - 2016
Event13th International Conference on Information Technology- New Generations, ITNG 2016 - Las Vegas, United States
Duration: 4 Apr 20166 Apr 2016

Publication series

NameAdvances in Intelligent Systems and Computing
Volume448

Conference

Conference13th International Conference on Information Technology- New Generations, ITNG 2016
Country/TerritoryUnited States
CityLas Vegas
Period4/04/166/04/16

Keywords

  • AVX2
  • AVX512
  • Haswell broadwell skylake
  • Multi-prime RSA
  • RSA

All Science Journal Classification (ASJC) codes

  • General Computer Science
  • Control and Systems Engineering

Fingerprint

Dive into the research topics of 'Speed records for multi-prime RSA using AVX2 architectures'. Together they form a unique fingerprint.

Cite this