Paper 2019/266

Fast constant-time gcd computation and modular inversion

Daniel J. Bernstein
Bo-Yin Yang
Abstract

This paper introduces streamlined constant-time variants of Euclid's algorithm, both for polynomial inputs and for integer inputs. As concrete applications, this paper saves time in (1) modular inversion for Curve25519, which was previously believed to be handled much more efficiently by Fermat's method, and (2) key generation for the ntruhrss701 and sntrup4591761 lattice-based cryptosystems.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2019/266,
      author = {Daniel J. Bernstein and Bo-Yin Yang},
      title = {Fast constant-time gcd computation and modular inversion},
      howpublished = {Cryptology {ePrint} Archive, Paper 2019/266},
      year = {2019},
      url = {https://eprint.iacr.org/2019/266}
}
Category
Implementation
License
CC BY
Submitted
Updated
Versions

Report a problem

Comments

Log in or create an account

Privacy