{
  "id": "2016/351",
  "url": "https://opencryptology.org/2016/351",
  "original_url": "https://eprint.iacr.org/2016/351",
  "title": "How (Not) to Instantiate Ring-LWE",
  "authors": [
    "Chris Peikert"
  ],
  "affiliations": null,
  "abstract": "The \\emph{learning with errors over rings} (Ring-LWE) problem---or\nmore accurately, family of problems---has emerged as a promising\nfoundation for cryptography due to its practical efficiency,\nconjectured quantum resistance, and provable \\emph{worst-case\nhardness}: breaking certain instantiations of Ring-LWE is at least\nas hard as quantumly approximating the Shortest Vector Problem on\n\\emph{any} ideal lattice in the ring.\n\nDespite this hardness guarantee, several recent works have shown that\ncertain instantiations of Ring-LWE can be broken by relatively simple\nattacks.  While the affected instantiations are not supported by\nworst-case hardness theorems (and were not ever proposed for\ncryptographic purposes), this state of affairs raises natural\nquestions about what other instantiations might be vulnerable, and in\nparticular whether certain classes of rings are inherently unsafe for\nRing-LWE.\n\nThis work comprehensively reviews the known attacks on Ring-LWE and\nvulnerable instantiations.  We give a new, unified exposition which\nreveals an elementary geometric reason why the attacks work, and\nprovide rigorous analysis to explain certain phenomena that were\npreviously only exhibited by experiments.  In all cases, the\ninsecurity of an instantiation is due to the fact that the error\ndistribution is insufficiently ``well spread'' relative to the ring.\nIn particular, the insecure instantiations use the so-called\n\\emph{non-dual} form of Ring-LWE, together with \\emph{spherical} error\ndistributions that are much narrower and of a very different shape\nthan the ones supported by hardness proofs.\n\nOn the positive side, we show that any Ring-LWE instantiation which\nsatisfies (or only almost satisfies) the hypotheses of the\n``worst-case hardness of search'' theorem is \\emph{provably immune} to\nbroad generalizations of the above-described attacks: the running time\ndivided by advantage is at least exponential in the degree of the\nring.  This holds for the ring of integers in \\emph{any} number field,\nso the rings themselves are not the source of insecurity in the\nvulnerable instantiations.  Moreover, the hypotheses of the worst-case\nhardness theorem are \\emph{nearly minimal} ones which provide these\nimmunity guarantees.",
  "category": "Foundations",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“How (Not) to Instantiate Ring-LWE” by Chris Peikert, Cryptology ePrint Archive, Paper 2016/351, https://eprint.iacr.org/2016/351. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2016-04-04T16:26:00Z",
    "updated": "2016-07-18T20:14:19Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2016/351.pdf",
    "sha256": "aa447df6317e8f2889dcdba4deeaa4db17be483b0a3a9b1769308ae8a0d52792",
    "size": 584353,
    "source": "github-mirror",
    "source_date": "2019-02-25T17:24:56Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2016/351/versions/20190225T172456Z.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/351.pdf",
      "size": 584353,
      "sha256": "aa447df6317e8f2889dcdba4deeaa4db17be483b0a3a9b1769308ae8a0d52792",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260217232912id_/https://eprint.iacr.org/2016/351.pdf",
      "captured_at": "2026-02-17T23:29:12Z",
      "size": 579580
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/351.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "size": 584353
    }
  ],
  "bibtex": "@misc{cryptoeprint:2016/351,\n      author = {Chris Peikert},\n      title = {How (Not) to Instantiate Ring-LWE},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2016/351},\n      year = {2016},\n      url = {https://eprint.iacr.org/2016/351}\n}"
}
