{
  "id": "2009/056",
  "url": "https://opencryptology.org/2009/056",
  "original_url": "https://eprint.iacr.org/2009/056",
  "title": "Designing an ASIP for Cryptographic Pairings over Barreto-Naehrig Curves",
  "authors": [
    "David Kammler",
    "Diandian Zhang",
    "Peter Schwabe",
    "Hanno Scharwaechter",
    "Markus Langenberg",
    "Dominik Auras",
    "Gerd Ascheid",
    "Rainer Leupers",
    "Rudolf Mathar",
    "Heinrich Meyr"
  ],
  "affiliations": null,
  "abstract": "This paper presents a design-space exploration of an application-specific instruction-set\nprocessor (ASIP) for the computation of various cryptographic pairings over Barreto-Naehrig\ncurves (BN curves). Cryptographic pairings are based on elliptic curves over finite fields--in\nthe case of BN curves a field Fp of large prime order p. Efficient arithmetic in these fields is\ncrucial for fast computation of pairings. Moreover, computation of cryptographic pairings is\nmuch more complex than elliptic-curve cryptography (ECC) in general. Therefore, we facilitate\nprogramming of the proposed ASIP by providing a C compiler.\nIn order to speed up $\\mathbb{F}_p$ -arithmetic, a RISC core is extended with additional functional units.\nThe critical path delay of these units is adjusted to the base architecture in order to maintain\nthe operating frequency. Independently from that adjustment, these units are scalable allowing\nfor a trade-off between execution time and area consumption. Because the resulting speedup\ncan be limited by the memory throughput, utilization of multiple data memories is proposed.\nHowever, developing a C compiler for multiple memories is a challenging task. Therefore, we\nintroduce an enhanced memory system enabling multiple concurrent memory accesses while\nremaining totally transparent to the C compiler.\nThe proposed design needs 15.8 ms for the computation of the Optimal-Ate pairing over a\n256-bit BN curve at 338 MHz implemented with a 130 nm standard cell library. The processor\ncore consumes 97 kGates making it suitable for the use in embedded systems.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Designing an ASIP for Cryptographic Pairings over Barreto-Naehrig Curves” by David Kammler, Diandian Zhang, Peter Schwabe, Hanno Scharwaechter, Markus Langenberg, Dominik Auras, Gerd Ascheid, Rainer Leupers, Rudolf Mathar, Heinrich Meyr, Cryptology ePrint Archive, Paper 2009/056, https://eprint.iacr.org/2009/056. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2009-02-06T14:37:28Z",
    "updated": "2009-07-14T10:54:36Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2009/056.pdf",
    "sha256": "b609940e729f9cacb960a0be14eeed59954d45b7401f58a19e9afce77514603e",
    "size": 667166,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:20:12Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2009/056/versions/20190225T162012Z.pdf",
      "captured_at": "2019-02-25T16:20:12Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2009/056.pdf",
      "size": 667166,
      "sha256": "b609940e729f9cacb960a0be14eeed59954d45b7401f58a19e9afce77514603e",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2009/056/versions/20090625T183159Z.pdf",
      "captured_at": "2009-06-25T18:31:59Z",
      "label": "copy captured 2009-06-25",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20090625183159id_/http://eprint.iacr.org/2009/056.pdf",
      "size": 662119,
      "sha256": "722fd7a1eb844099b4411ed2eec38c9a53499b1aecc8e16aa2643069324dbb7e",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260309023842id_/https://eprint.iacr.org/2009/056.pdf",
      "captured_at": "2026-03-09T02:38:42Z",
      "size": 635825
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2009/056.pdf",
      "captured_at": "2019-02-25T16:20:12Z",
      "size": 667166
    }
  ],
  "bibtex": "@misc{cryptoeprint:2009/056,\n      author = {David Kammler and Diandian Zhang and Peter Schwabe and Hanno Scharwaechter and Markus Langenberg and Dominik Auras and Gerd Ascheid and Rainer Leupers and Rudolf Mathar and Heinrich Meyr},\n      title = {Designing an ASIP for Cryptographic Pairings over Barreto-Naehrig Curves},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2009/056},\n      year = {2009},\n      url = {https://eprint.iacr.org/2009/056}\n}"
}
