Paper 2015/193

Improving Modular Inversion in RNS using the Plus-Minus Method

Karim Bigou
Arnaud Tisserand
Abstract

The paper describes a new RNS modular inversion algorithm based on the extended Euclidean algorithm and the plus-minus trick. In our algorithm, comparisons over large RNS values are replaced by cheap computations modulo 4. Comparisons to an RNS version based on Fermat’s little theorem were carried out. The number of elementary modular operations is significantly reduced: a factor 12 to 26 for multiplications and 6 to 21 for additions. Virtex 5 FPGAs implementations show that for a similar area, our plus-minus RNS modular inversion is 6 to 10 times faster.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2015/193,
      author = {Karim Bigou and Arnaud Tisserand},
      title = {Improving Modular Inversion in RNS using the Plus-Minus Method},
      howpublished = {Cryptology {ePrint} Archive, Paper 2015/193},
      year = {2015},
      url = {https://eprint.iacr.org/2015/193}
}
Category
Implementation
License
CC BY
Submitted
Versions

Report a problem

Comments

Log in or create an account

Privacy