{
  "id": "2015/1236",
  "url": "https://opencryptology.org/2015/1236",
  "original_url": "https://eprint.iacr.org/2015/1236",
  "title": "A Bounded-Space Near-Optimal Key Enumeration Algorithm for Multi-Dimensional Side-Channel Attacks",
  "authors": [
    "Liron David",
    "Avishai Wool"
  ],
  "affiliations": null,
  "abstract": "Enumeration of cryptographic keys in order of likelihood based on side-channel leakages has a significant importance in cryptanalysis. Previous algorithms enumerate the keys in optimal order, however their space complexity is $\\Omega(n^{d/2})$ when there are d subkeys and n candidate values per subkey. We propose a new key enumeration algorithm that has a space complexity bounded by $O(d^2 w+dn)$, when w is a design parameter, which allows the enumeration of many more keys without exceeding the available space. The trade-off is that the enumeration order is only near-optimal, with a bounded ratio between optimal and near-optimal ranks.\n\nBefore presenting our algorithm we provide bounds on the guessing entropy of the full key in terms of the easy-to-compute guessing entropies of the individual subkeys. We use these results to quantify the near-optimality of our algorithm's ranking, and to bound its guessing entropy.\n\nWe evaluated our algorithm through extensive simulations. We show that our algorithm continues its near-optimal-order enumeration far beyond the rank at which the optimal algorithm fails due to insufficient memory, on realistic SCA scenarios. Our simulations utilize a new model of the true rank distribution, based on long tail Pareto distributions, that is validated by empirical data and may be of independent interest.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“A Bounded-Space Near-Optimal Key Enumeration Algorithm for Multi-Dimensional Side-Channel Attacks” by Liron David, Avishai Wool, Cryptology ePrint Archive, Paper 2015/1236, https://eprint.iacr.org/2015/1236. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2015-12-28T16:29:40Z",
    "updated": "2018-11-11T08:28:52Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2015/1236.pdf",
    "sha256": "db7894b2d0f05b2d87d5b5364d8d06e1864df67f5f202c495d49a8efebb98724",
    "size": 506085,
    "source": "github-mirror",
    "source_date": "2019-02-25T17:07:53Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2015/1236/versions/20190225T170753Z.pdf",
      "captured_at": "2019-02-25T17:07:53Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2015/1236.pdf",
      "size": 506085,
      "sha256": "db7894b2d0f05b2d87d5b5364d8d06e1864df67f5f202c495d49a8efebb98724",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260108175940id_/https://eprint.iacr.org/2015/1236.pdf",
      "captured_at": "2026-01-08T17:59:40Z",
      "size": 401804
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2015/1236.pdf",
      "captured_at": "2019-02-25T17:07:53Z",
      "size": 506085
    }
  ],
  "bibtex": "@misc{cryptoeprint:2015/1236,\n      author = {Liron David and Avishai Wool},\n      title = {A Bounded-Space Near-Optimal Key Enumeration Algorithm for Multi-Dimensional Side-Channel Attacks},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2015/1236},\n      year = {2015},\n      url = {https://eprint.iacr.org/2015/1236}\n}"
}
