{
  "id": "2014/371",
  "url": "https://opencryptology.org/2014/371",
  "original_url": "https://eprint.iacr.org/2014/371",
  "title": "On the Enumeration of Double-Base Chains with Applications to Elliptic Curve Cryptography",
  "authors": [
    "Christophe Doche"
  ],
  "affiliations": null,
  "abstract": "The Double-Base Number System (DBNS) uses two bases, $2$ and $3$, in order to represent any integer $n$.  A Double-Base Chain (DBC) is a special case of a DBNS expansion. DBCs have been introduced to speed up the scalar multiplication $[n]P$ on certain families of elliptic curves used in cryptography.  In this context, our contributions are twofold.  First, given integers $n$, $a$, and $b$, we outline a recursive algorithm to compute the number of different DBCs with a leading factor dividing $2^a3^b$ and representing $n$. A simple modification of the algorithm allows to determine the number of DBCs with a specified length as well as the actual expansions. In turn, this gives rise to a method to compute an optimal DBC representing $n$, i.e. an expansion with minimal length.  Our implementation is able to return an optimal expansion for most integers up to $2^{60}$ bits in a few minutes.  Second, we introduce an original and potentially more efficient approach to compute a random scalar multiplication $[n]P$, based on the concept of controlled DBC. Instead of generating a random integer $n$ and then trying to find an optimal, or at least a short DBC to represent it, we propose to directly generate $n$ as a random DBC with a chosen leading factor $2^a3^b$ and length $\\ell$.  To inform the selection of those parameters, in particular $\\ell$, which drives the trade-off between the efficiency and the security of the underlying cryptosystem, we enumerate the total number of DBCs having a given leading factor $2^a3^b$ and a certain length $\\ell$.  The comparison between this total number of DBCs and the total number of integers that we wish to represent a priori provides some guidance regarding the selection of suitable parameters.  Experiments indicate that our new Near Optimal Controlled DBC approach provides a speedup of at least $10\\%$ with respect to the NAF for sizes from $192$ to $512$ bits. Computations involve elliptic curves defined over $\\F_p$, using the Inverted Edwards coordinate system and state of the art scalar multiplication techniques.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“On the Enumeration of Double-Base Chains with Applications to Elliptic Curve Cryptography” by Christophe Doche, Cryptology ePrint Archive, Paper 2014/371, https://eprint.iacr.org/2014/371. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2014-05-27T10:21:12Z",
    "updated": "2014-09-16T04:44:29Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2014/371.pdf",
    "sha256": "825aff98c02bf18ecfe1f91a6c8b906c70d676f78aea8aaa32d64c08376f17f0",
    "size": 459510,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:55:32Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2014/371/versions/20190225T165532Z.pdf",
      "captured_at": "2019-02-25T16:55:32Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2014/371.pdf",
      "size": 459510,
      "sha256": "825aff98c02bf18ecfe1f91a6c8b906c70d676f78aea8aaa32d64c08376f17f0",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260226112101id_/https://eprint.iacr.org/2014/371.pdf",
      "captured_at": "2026-02-26T11:21:01Z",
      "size": 429623
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2014/371.pdf",
      "captured_at": "2019-02-25T16:55:32Z",
      "size": 459510
    }
  ],
  "bibtex": "@misc{cryptoeprint:2014/371,\n      author = {Christophe Doche},\n      title = {On the Enumeration of Double-Base Chains with Applications to Elliptic Curve Cryptography},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2014/371},\n      year = {2014},\n      url = {https://eprint.iacr.org/2014/371}\n}"
}
