{
  "id": "2017/289",
  "url": "https://opencryptology.org/2017/289",
  "original_url": "https://eprint.iacr.org/2017/289",
  "title": "On the Hardness of Trivium and Grain with respect to Generic Time-Memory-Data Tradeoff Attacks",
  "authors": [
    "Matthias Krause"
  ],
  "affiliations": null,
  "abstract": "Time-Memory-Data tradeoff attacks (TMD-attacks) like those of Babbage, Biryukov and Shamir, and Dunkelman and Keller reduce the security level of keystream generator based-stream ciphers to $L/2$, where $L$ denotes the inner state length. This is one of the reasons why stream ciphers like  Trivium and Grain use a session key length $n$ of at most $L/2$. In this paper, we deal with the question if this small-key-large-state design principle really provides the maximal possible security of $\\min\\{n,\\frac{L}{2}\\}$ w.r.t. to TMD-attacks, or if it opens the door for new TMD-attack approaches, which possibly allow to discover a secret inner state and/or the secret session key with cost essentially lower than $2^n$. We give an answer by analyzing the security of stream ciphers like Trivium and Grain w.r.t. generic TMD-attacks in an appropriate random oracle model. We show that each  TMD-attacker with TMD-costs bounded by $M$ can only achieve an advantage of $\\min\\left\\{\\frac{2M}{2^n-M},\\frac{(8L-4)M^2}{2^L-(4L-2)M^2}\\right\\}$ for distinguishing a truly random bitstream from a pseudorandom bitstream generated by the stream cipher. This lower bound matches the security upper bounds defined by exhaustive key search and the classical TMD-attacks mentioned above.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“On the Hardness of Trivium and Grain with respect to Generic Time-Memory-Data Tradeoff Attacks” by Matthias Krause, Cryptology ePrint Archive, Paper 2017/289, https://eprint.iacr.org/2017/289. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2017-04-03T15:33:31Z",
    "updated": "2017-04-03T15:33:31Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2017/289.pdf",
    "sha256": "935308d9217ace83706a26acc6fb6ee5e0154538b43e6a3a26b36ab40b532265",
    "size": 402498,
    "source": "github-mirror",
    "source_date": "2019-02-25T17:41:11Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2017/289/versions/20190225T174111Z.pdf",
      "captured_at": "2019-02-25T17:41:11Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2017/289.pdf",
      "size": 402498,
      "sha256": "935308d9217ace83706a26acc6fb6ee5e0154538b43e6a3a26b36ab40b532265",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20220119114232id_/https://eprint.iacr.org/2017/289.pdf",
      "captured_at": "2022-01-19T11:42:32Z",
      "size": 400446
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2017/289.pdf",
      "captured_at": "2019-02-25T17:41:11Z",
      "size": 402498
    }
  ],
  "bibtex": "@misc{cryptoeprint:2017/289,\n      author = {Matthias Krause},\n      title = {On the Hardness of Trivium and Grain with respect to Generic Time-Memory-Data Tradeoff Attacks},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2017/289},\n      year = {2017},\n      url = {https://eprint.iacr.org/2017/289}\n}"
}
