{
  "id": "2023/1688",
  "url": "https://opencryptology.org/2023/1688",
  "original_url": "https://eprint.iacr.org/2023/1688",
  "title": "Faster Complete Formulas for the GLS254 Binary Curve",
  "authors": [
    "Thomas Pornin"
  ],
  "affiliations": null,
  "abstract": "GLS254 is an elliptic curve defined over a finite field of characteristic 2; it contains a 253-bit prime order subgroup, and supports an endomorphism that can be efficiently computed and helps speed up some typical operations such as multiplication of a curve element by a scalar. That curve offers on x86 and ARMv8 platforms the best known performance for elliptic curves at the 128-bit security level.\n\nIn this paper we present a number of new results related to GLS254:\n\n  - We describe new efficient and complete point doubling formulas (2M+4S) applicable to all ordinary binary curves.\n\n  - We apply the previously described (x,s) coordinates to GLS254, enhanced with the new doubling formulas. We obtain formulas that are not only fast, but also complete, and thus allow generic constant-time usage in arbitrary cryptographic protocols.\n\n  - Our strictly constant-time implementation multiplies a point by a scalar in 31615 cycles on an x86 Coffee Lake, and 77435 cycles on an ARM Cortex-A55, improving previous records by 13% and 11.7% on these two platforms, respectively.\n\n  - We take advantage of the completeness of the formulas to define some extra operations, such as canonical encoding with (x, s) compression, constant-time hash-to-curve, and signatures. Our Schnorr signatures have size only 48 bytes, and offer good performance: signature generation in 18374 cycles, and verification in 27376 cycles, on x86; this is about four times faster than the best reported Ed25519 implementations on the same platform.\n\n  - The very fast implementations leverage the carryless multiplication opcodes offered by the target platforms. We also investigate performance on CPUs that do not offer such an operation, namely a 64-bit RISC-V CPU (SiFive-U74 core) and a 32-bit ARM Cortex-M4 microcontroller. While the achieved performance is substantially poorer, it is not catastrophic; on both platforms, GLS254 signatures are only about 2x to 2.5x slower than Ed25519.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Faster Complete Formulas for the GLS254 Binary Curve” by Thomas Pornin, Cryptology ePrint Archive, Paper 2023/1688, https://eprint.iacr.org/2023/1688. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2023-11-01T01:03:23Z",
    "updated": "2023-11-01T01:03:23Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/1688.pdf",
    "sha256": "d6026138447bb07d83364ad4780085f5e3d958abb8318bc691ec88503fc8f506",
    "size": 452686,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:41Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/1688/versions/20240114T061341Z.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1688.pdf",
      "size": 452686,
      "sha256": "d6026138447bb07d83364ad4780085f5e3d958abb8318bc691ec88503fc8f506",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251028150541id_/https://eprint.iacr.org/2023/1688.pdf",
      "captured_at": "2025-10-28T15:05:41Z",
      "size": 453606
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1688.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "size": 452686
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/1688,\n      author = {Thomas Pornin},\n      title = {Faster Complete Formulas for the GLS254 Binary Curve},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/1688},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/1688}\n}"
}
