{
  "id": "2020/1497",
  "url": "https://opencryptology.org/2020/1497",
  "original_url": "https://eprint.iacr.org/2020/1497",
  "title": "A note on the calculation of some functions in finite fields: Tricks of the Trade",
  "authors": [
    "Michael Scott"
  ],
  "affiliations": null,
  "abstract": "Optimization of finite field arithmetic is important for the deployment of public key cryptography, particularly in the context of elliptic curve cryptography. Until now the primary concern has been operations over the prime field $\\F_p$, where $p$ is a prime. With the advent of pairing-based cryptography there arises a need to also look at optimal arithmetic over extension fields $\\F_{p^n}$ for small values of $n$. Here we focus on the determination of quadratic residuosity and the calculation of inverses and square roots over these fields, operations often carried out in conjunction with one another. We demonstrate with a minor improvement in a hash-to-curve algorithm, and a major speed-up in the calculation of square roots in quadratic extensions.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“A note on the calculation of some functions in finite fields: Tricks of the Trade” by Michael Scott, Cryptology ePrint Archive, Paper 2020/1497, https://eprint.iacr.org/2020/1497. 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-12-02T10:01:23Z",
    "updated": "2023-11-18T07:40:43Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2020/1497.pdf",
    "sha256": "e2ae10e8ae178ec1febd395c7c3863468dedfc51e194dd1c10d11403dc2760a3",
    "size": 314792,
    "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/1497/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/1497.pdf",
      "size": 314792,
      "sha256": "e2ae10e8ae178ec1febd395c7c3863468dedfc51e194dd1c10d11403dc2760a3",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2020/1497/versions/20220131T054545Z.pdf",
      "captured_at": "2022-01-31T05:45:45Z",
      "label": "copy captured 2022-01-31",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20220131054545id_/https://eprint.iacr.org/2020/1497.pdf",
      "size": 99323,
      "sha256": "f4939707a8d4bd9c935363b13ed5a353ea146d6b69fdab924a80cf0eb9890d6a",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2020/1497/versions/20210116T063441Z.pdf",
      "captured_at": "2021-01-16T06:34:41Z",
      "label": "copy captured 2021-01-16",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20210116063441id_/https://eprint.iacr.org/2020/1497.pdf",
      "size": 284413,
      "sha256": "14f32fb4978e057f6cf3675cb6d23145650f2d52d01a83cc71be69009273b237",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260420025610id_/https://eprint.iacr.org/2020/1497.pdf",
      "captured_at": "2026-04-20T02:56:10Z",
      "size": 308269
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/1497.pdf",
      "captured_at": "2024-01-14T06:13:14Z",
      "size": 314792
    }
  ],
  "bibtex": "@misc{cryptoeprint:2020/1497,\n      author = {Michael Scott},\n      title = {A note on the calculation of some functions in finite fields: Tricks of the Trade},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2020/1497},\n      year = {2020},\n      url = {https://eprint.iacr.org/2020/1497}\n}"
}
