{
  "id": "2024/779",
  "url": "https://opencryptology.org/2024/779",
  "original_url": "https://eprint.iacr.org/2024/779",
  "title": "Elliptic Curve Cryptography for the masses: Simple and fast finite field arithmetic",
  "authors": [
    "Michael Scott"
  ],
  "affiliations": null,
  "abstract": "Shaped prime moduli are often considered for use in elliptic curve and isogeny-based cryptography to allow for faster modular reduction. Here we focus on the most common choices for shaped primes that have been suggested, that is pseudo-Mersenne, generalized Mersenne and Montgomery-friendly primes. We consider how best to to exploit these shapes for maximum efficiency, and  provide an open source tool to automatically generate, test and time working high-level language finite-field code. Next we consider the advantage to be gained from implementations that are written in assembly language and which exploit special instructions, SIMD hardware if present, and the particularities of the algorithm being implemented.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Elliptic Curve Cryptography for the masses: Simple and fast finite field arithmetic” by Michael Scott, Cryptology ePrint Archive, Paper 2024/779, https://eprint.iacr.org/2024/779. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2024-05-21T11:13:57Z",
    "updated": "2024-10-05T06:07:55Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/779.pdf",
    "sha256": "089ca8b9f4dd09344fb1ddd0d3232140aa64b1cbbc9b232582f319ddbb763dc2",
    "size": 436860,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2024/779/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/779.pdf",
      "size": 436860,
      "sha256": "089ca8b9f4dd09344fb1ddd0d3232140aa64b1cbbc9b232582f319ddbb763dc2",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2024/779/versions/20240926T233202Z.pdf",
      "captured_at": "2024-09-26T23:32:02Z",
      "label": "copy captured 2024-09-26",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240926233202id_/https://eprint.iacr.org/2024/779.pdf",
      "size": 436723,
      "sha256": "b23ee4202f8a4a301a48857842ddd158a7a834a865f279ef365ce7b0c76216fc",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2024/779/versions/20240524T230608Z.pdf",
      "captured_at": "2024-05-24T23:06:08Z",
      "label": "copy captured 2024-05-24",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240524230608id_/https://eprint.iacr.org/2024/779.pdf",
      "size": 436449,
      "sha256": "f6054211a1881ff71d9e4cc99c3c1f6c9836b0d22b2278fe90c9301c9fb46529",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/779.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 436860
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260219124552id_/https://eprint.iacr.org/2024/779.pdf",
      "captured_at": "2026-02-19T12:45:52Z",
      "size": 419297
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/779,\n      author = {Michael Scott},\n      title = {Elliptic Curve Cryptography for the masses: Simple and fast finite field arithmetic},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/779},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/779}\n}"
}
