{
  "id": "2020/437",
  "url": "https://opencryptology.org/2020/437",
  "original_url": "https://eprint.iacr.org/2020/437",
  "title": "Faster Montgomery and double-add ladders for short Weierstrass curves",
  "authors": [
    "Mike Hamburg"
  ],
  "affiliations": null,
  "abstract": "The Montgomery ladder and Joye ladder are well-known algorithms for elliptic curve scalar multiplication with a regular structure.  The Montgomery ladder is best known for its implementation on Montgomery curves, which requires $5\\mathbf{M} + 4\\mathbf{S} + 1\\mathbf{m} + 8\\mathbf{A}$ per scalar bit, and 6 field registers.  Here $(\\mathbf{M},\\mathbf{S},\\mathbf{m},\\mathbf{A})$ represent respectively field $\\mathbf{M}$ultiplications, $\\mathbf{S}$quarings, $\\mathbf{m}$ultiplications by a curve constant, and $\\mathbf{A}$dditions or subtractions.  This ladder is also complete, meaning that it works on all input points and all scalars.\n\nMany protocols do not use Montgomery curves, but instead use prime-order curves in short Weierstrass form.  These have historically been much slower, with ladders costing at least 14 multiplications or squarings per bit: $8\\mathbf{M}+6\\mathbf{S}+27\\mathbf{A}$ for the Montgomery ladder and $8\\mathbf{M}+6\\mathbf{S}+30\\mathbf{A}$ for the Joye ladder.  In 2017, Kim et al. improved the Montgomery ladder to $8\\mathbf{M}+4\\mathbf{S}+12\\mathbf{A}+1\\mathbf{H}$ per bit using 9 registers, where the $\\mathbf{H}$ represents a halving.  Hamburg simplified Kim et al.'s formulas to $8\\mathbf{M}+4\\mathbf{S}+8\\mathbf{A}+1\\mathbf{H}$ per bit using 6 registers.\n\nHere we present improved formulas which compute the Montgomery ladder on short Weierstrass curves using $8\\mathbf{M}+3\\mathbf{S}+7\\mathbf{A}$ per bit, and requiring 6 registers.   We also give formulas for the Joye ladder that use $9\\mathbf{M}+3\\mathbf{S}+7\\mathbf{A}$ per bit, requiring 5 registers.  One of our new formulas supports very efficient 4-way vectorization.\n\nWe also discuss curve invariants, exceptional points, side-channel protection and how to set up and finish these ladder operations.  Finally, we show a novel technique to make these ladders complete when the curve order is not divisible by 2 or 3, at a modest increase in cost.\n\nA sample implementation of these techniques is given in the supplementary material, also posted at https://github.com/bitwiseshiftleft/ladder_formulas.",
  "category": "Public-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Faster Montgomery and double-add ladders for short Weierstrass curves” by Mike Hamburg, Cryptology ePrint Archive, Paper 2020/437, https://eprint.iacr.org/2020/437. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2020-04-19T15:47:54Z",
    "updated": "2020-07-20T15:59:09Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2020/437.pdf",
    "sha256": "46626f61ede983a0bec5dfb2b956884da5ef4ad122d7fb02bb33d390e70df7e4",
    "size": 540443,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:14Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2020/437/versions/20240114T061314Z.pdf",
      "captured_at": "2024-01-14T06:13:14Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/437.pdf",
      "size": 540443,
      "sha256": "46626f61ede983a0bec5dfb2b956884da5ef4ad122d7fb02bb33d390e70df7e4",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260107102353id_/https://eprint.iacr.org/2020/437.pdf",
      "captured_at": "2026-01-07T10:23:53Z",
      "size": 531107
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/437.pdf",
      "captured_at": "2024-01-14T06:13:14Z",
      "size": 540443
    }
  ],
  "bibtex": "@misc{cryptoeprint:2020/437,\n      author = {Mike Hamburg},\n      title = {Faster Montgomery and double-add ladders for short Weierstrass curves},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2020/437},\n      year = {2020},\n      url = {https://eprint.iacr.org/2020/437}\n}"
}
