{
  "id": "2020/009",
  "url": "https://opencryptology.org/2020/009",
  "original_url": "https://eprint.iacr.org/2020/009",
  "title": "Efficient Elliptic Curve Operations On Microcontrollers With Finite Field Extensions",
  "authors": [
    "Thomas Pornin"
  ],
  "affiliations": null,
  "abstract": "In order to obtain an efficient elliptic curve with 128-bit security and\na prime order, we explore the use of finite fields $GF(p^n)$, with $p$\na small modulus (less than $2^{16}$) and $n$ a prime. Such finite fields\nallow for an efficient inversion algorithm due to Itoh and Tsujii, which\nwe can leverage to make computations on an ordinary curve (short\nWeierstraß equation) in affine coordinates. We describe a very efficient\nvariant of Montgomery reduction for computations modulo $p$, and choose\n$p = 9767$ and $n = 19$ to better map the abilities of small\nmicrocontrollers of the ARM Cortex-M0+ class. Inversion cost is only six\ntimes the cost of multiplication. Our fully constant-time implementation\nof curve point multiplication runs in about 4.5 million cycles (only\n1.29 times slower than the best reported Curve25519 implementations); it\nalso allows for efficient key pair generation (about 1.9 million cycles)\nand Schnorr signature verification (about 5.6 million cycles). Moreover,\nwe describe variants of the Itoh-Tsujii algorithms that allow fast\ncomputations of square roots and cube roots (in less than twenty times\nthe cost of a multiplication), leading to efficient point compression\nand constant-time hash-to-curve operations with Icart's map.",
  "category": "Public-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Efficient Elliptic Curve Operations On Microcontrollers With Finite Field Extensions” by Thomas Pornin, Cryptology ePrint Archive, Paper 2020/009, https://eprint.iacr.org/2020/009. 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-01-06T08:33:08Z",
    "updated": "2020-01-06T08:33:08Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2020/009.pdf",
    "sha256": "39abee19fa6cf5850734dc986db5712154674a26142b080bcccd30a34598bc04",
    "size": 508558,
    "source": "github-mirror",
    "source_date": "2020-04-17T10:36:14Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2020/009/versions/20200417T103614Z.pdf",
      "captured_at": "2020-04-17T10:36:14Z",
      "label": "copy captured 2020-04-17",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/009.pdf",
      "size": 508558,
      "sha256": "39abee19fa6cf5850734dc986db5712154674a26142b080bcccd30a34598bc04",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260301081916id_/https://eprint.iacr.org/2020/009.pdf",
      "captured_at": "2026-03-01T08:19:16Z",
      "size": 509857
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/009.pdf",
      "captured_at": "2020-04-17T10:36:14Z",
      "size": 508558
    }
  ],
  "bibtex": "@misc{cryptoeprint:2020/009,\n      author = {Thomas Pornin},\n      title = {Efficient Elliptic Curve Operations On Microcontrollers With Finite Field Extensions},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2020/009},\n      year = {2020},\n      url = {https://eprint.iacr.org/2020/009}\n}"
}
