{
  "id": "2019/266",
  "url": "https://opencryptology.org/2019/266",
  "original_url": "https://eprint.iacr.org/2019/266",
  "title": "Fast constant-time gcd computation and modular inversion",
  "authors": [
    "Daniel J. Bernstein",
    "Bo-Yin Yang"
  ],
  "affiliations": null,
  "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.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Fast constant-time gcd computation and modular inversion” by Daniel J. Bernstein, Bo-Yin Yang, Cryptology ePrint Archive, Paper 2019/266, https://eprint.iacr.org/2019/266. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2019-03-06T03:05:10Z",
    "updated": "2019-04-13T09:59:43Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2019/266.pdf",
    "sha256": "2d4cd3d695ccd28010f29792f53fa3529ffcf5a7177b73923f84be148a1c3e98",
    "size": 844556,
    "source": "github-mirror",
    "source_date": "2019-07-09T19:49:17Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2019/266/versions/20190709T194917Z.pdf",
      "captured_at": "2019-07-09T19:49:17Z",
      "label": "copy captured 2019-07-09",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2019/266.pdf",
      "size": 844556,
      "sha256": "2d4cd3d695ccd28010f29792f53fa3529ffcf5a7177b73923f84be148a1c3e98",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260305033038id_/https://eprint.iacr.org/2019/266.pdf",
      "captured_at": "2026-03-05T03:30:38Z",
      "size": 844755
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2019/266.pdf",
      "captured_at": "2019-07-09T19:49:17Z",
      "size": 844556
    }
  ],
  "bibtex": "@misc{cryptoeprint:2019/266,\n      author = {Daniel J. Bernstein and Bo-Yin Yang},\n      title = {Fast constant-time gcd computation and modular inversion},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2019/266},\n      year = {2019},\n      url = {https://eprint.iacr.org/2019/266}\n}"
}
