{
  "id": "2010/354",
  "url": "https://opencryptology.org/2010/354",
  "original_url": "https://eprint.iacr.org/2010/354",
  "title": "High-Speed Software Implementation of the Optimal Ate Pairing over Barreto-Naehrig Curves",
  "authors": [
    "Jean-Luc Beuchat",
    "Jorge Enrique González Díaz",
    "Shigeo Mitsunari",
    "Eiji Okamoto",
    "Francisco Rodríguez-Henríquez",
    "Tadanori Teruya"
  ],
  "affiliations": null,
  "abstract": "This paper describes the design of a fast software library for the computation of the optimal ate pairing on a Barreto--Naehrig elliptic curve.  Our library is able to compute the optimal ate pairing over a $254$-bit prime field $\\mathbb{F}_{p}$, in just $2.63$ million of clock cycles on a single core of an Intel Core i7 $2.8$GHz processor, which implies that the pairing computation takes $0.942$msec.  We are able to achieve this performance by a careful implementation of the base field arithmetic through the usage of the customary Montgomery multiplier for prime fields. The prime field is constructed via the Barreto--Naehrig polynomial parametrization of the prime $p$ given as, $p = 36t^4 +36t^3 +24t^2 +6t+1$, with $t = 2^{62} - 2^{54} + 2^{44}$. This selection of $t$ allows us to obtain important savings for both the Miller loop as well as the final exponentiation steps of the optimal ate pairing.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“High-Speed Software Implementation of the Optimal Ate Pairing over Barreto-Naehrig Curves” by Jean-Luc Beuchat, Jorge Enrique González Díaz, Shigeo Mitsunari, Eiji Okamoto, Francisco Rodríguez-Henríquez, Tadanori Teruya, Cryptology ePrint Archive, Paper 2010/354, https://eprint.iacr.org/2010/354. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2010-06-18T18:40:46Z",
    "updated": "2010-09-13T17:35:15Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2010/354.pdf",
    "sha256": "ab20e5011d9c6c0f864cc88fad4a0f43a27a28c8d7846ead9c312d2dafac54a8",
    "size": 182551,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:24:28Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2010/354/versions/20190225T162428Z.pdf",
      "captured_at": "2019-02-25T16:24:28Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2010/354.pdf",
      "size": 182551,
      "sha256": "ab20e5011d9c6c0f864cc88fad4a0f43a27a28c8d7846ead9c312d2dafac54a8",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2010/354/versions/20100702T191609Z.pdf",
      "captured_at": "2010-07-02T19:16:09Z",
      "label": "copy captured 2010-07-02",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20100702191609id_/http://eprint.iacr.org/2010/354.pdf",
      "size": 296262,
      "sha256": "12feb5c061dcab139b4d1f62c82e01afc96dde71474d75cd7c7ec98de9e6c793",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260926090809id_/https://eprint.iacr.org/2010/354.pdf",
      "captured_at": "2026-09-26T09:08:09Z",
      "size": 183851
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2010/354.pdf",
      "captured_at": "2019-02-25T16:24:28Z",
      "size": 182551
    }
  ],
  "bibtex": "@misc{cryptoeprint:2010/354,\n      author = {Jean-Luc Beuchat and Jorge Enrique González Díaz and Shigeo Mitsunari and Eiji Okamoto and Francisco Rodríguez-Henríquez and Tadanori Teruya},\n      title = {High-Speed Software Implementation of the Optimal Ate Pairing over Barreto-Naehrig Curves},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2010/354},\n      year = {2010},\n      url = {https://eprint.iacr.org/2010/354}\n}"
}
