{
  "id": "2021/383",
  "url": "https://opencryptology.org/2021/383",
  "original_url": "https://eprint.iacr.org/2021/383",
  "title": "GLV+HWCD for 2y^2=x^3+x/GF(8^91+5)",
  "authors": [
    "Daniel R. L. Brown"
  ],
  "affiliations": null,
  "abstract": "This report considers combining three well-known optimization methods for elliptic curve scalar multiplication: Gallant--Lambert--Vanstone (GLV) for complex multiplication endomorphisms $[i]$ and $[i+1]$; 3-bit fixed windows (signed base 8); and Hisil--Wong--Carter--Dawson (HWCD) curve arithmetic for twisted Edwards curves.\n\n\nAn $x$-only Diffie--Hellman scalar multiplication for curve $2y^2=x^3+x$ over field size $8^{91}+5$ has arithmetic cost $947\\textbf{M} + 1086\\textbf{S}$, where $\\textbf{M}$ is a field multiplication and $\\textbf{S}$ is a field squaring.  This is approximately $(3.55\\textbf{M} + 4.07\\textbf{S})$/bit, with $1\\textbf{S}$/bit for input decompression and $1\\textbf{S}$/bit for output normalization.  Optimizing speed by allowing uncompressed input points leads to an estimate $(3.38\\textbf{M}+2.95\\textbf{S})$/bit.\n\n\nTo mitigate some side-channel attacks, the secret scalar is only used to copy curve points from one array to another: the field operations used are fixed and independent of the secret scalar.  The method is likely vulnerable to cache-timing attacks, nonetheless.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“GLV+HWCD for 2y^2=x^3+x/GF(8^91+5)” by Daniel R. L. Brown, Cryptology ePrint Archive, Paper 2021/383, https://eprint.iacr.org/2021/383. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2021-03-27T07:10:44Z",
    "updated": "2021-03-27T07:10:44Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2021/383.pdf",
    "sha256": "3e1bc25688810ff45264467c4af8d2c1328b324a9b0bb5ab1c6b4339554d6250",
    "size": 119965,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:28Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2021/383/versions/20240114T061328Z.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/383.pdf",
      "size": 119965,
      "sha256": "3e1bc25688810ff45264467c4af8d2c1328b324a9b0bb5ab1c6b4339554d6250",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260102001546id_/https://eprint.iacr.org/2021/383.pdf",
      "captured_at": "2026-01-02T00:15:46Z",
      "size": 99445
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/383.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "size": 119965
    }
  ],
  "bibtex": "@misc{cryptoeprint:2021/383,\n      author = {Daniel R. L. Brown},\n      title = {GLV+HWCD for 2y^2=x^3+x/GF(8^91+5)},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2021/383},\n      year = {2021},\n      url = {https://eprint.iacr.org/2021/383}\n}"
}
