{
  "id": "2015/1134",
  "url": "https://opencryptology.org/2015/1134",
  "original_url": "https://eprint.iacr.org/2015/1134",
  "title": "$\\Lambda \\circ \\lambda$: Functional Lattice Cryptography",
  "authors": [
    "Eric Crockett",
    "Chris Peikert"
  ],
  "affiliations": null,
  "abstract": "This work describes the design, implementation, and evaluation of\n\\lol, a general-purpose software framework for lattice-based\ncryptography.  The \\lol framework has several novel properties that\ndistinguish it from prior implementations of lattice cryptosystems,\nincluding the following.\n\n\\emph{Generality, modularity, concision:} \\lol defines a collection of\ngeneral, highly composable interfaces for mathematical operations used\nacross lattice cryptography, allowing for a wide variety of schemes to\nbe expressed very naturally and at a high level of abstraction.  For\nexample, we implement an advanced fully homomorphic encryption (FHE)\nscheme in as few as 2--5 lines of code per feature, via code that very\nclosely matches the scheme's mathematical definition.\n\n\\emph{Theory affinity:} \\lol is designed from the ground-up around the\nspecialized ring representations, fast algorithms, and worst-case\nhardness proofs that have been developed for the Ring-LWE problem and\nits cryptographic applications.  In particular, it implements fast\nalgorithms for sampling from \\emph{theory-recommended} error\ndistributions over \\emph{arbitrary} cyclotomic rings, and provides\ntools for maintaining tight control of error growth in cryptographic\nschemes.\n\n\\emph{Safety:} \\lol has several facilities for reducing code\ncomplexity and programming errors, thereby aiding the \\emph{correct}\nimplementation of lattice cryptosystems.  In particular, it uses\nstrong typing to \\emph{statically enforce}---i.e., at compile time---a\nwide variety of constraints among the various parameters.\n\n\\emph{Advanced features:} \\lol exposes the rich \\emph{hierarchy} of\ncyclotomic rings to cryptographic applications.  We use this to give\nthe first-ever implementation of a collection of FHE operations known\nas ``ring switching,'' and also define and analyze a more efficient\nvariant that we call ``ring tunneling.''\n\nLastly, this work defines and analyzes a variety of mathematical\nobjects and algorithms for the recommended usage of Ring-LWE in\ncyclotomic rings, which we believe will serve as a useful knowledge\nbase for future implementations.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“$\\Lambda \\circ \\lambda$: Functional Lattice Cryptography” by Eric Crockett, Chris Peikert, Cryptology ePrint Archive, Paper 2015/1134, https://eprint.iacr.org/2015/1134. 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-11-26T19:37:19Z",
    "updated": "2016-08-17T06:41:32Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2015/1134.pdf",
    "sha256": "1db9ebb7e3aa8a1fab6ce874ab52a835daa96e1af75e6d95b98bb86d16466c4e",
    "size": 619235,
    "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/1134/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/1134.pdf",
      "size": 619235,
      "sha256": "1db9ebb7e3aa8a1fab6ce874ab52a835daa96e1af75e6d95b98bb86d16466c4e",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2015/1134/versions/20160612T015847Z.pdf",
      "captured_at": "2016-06-12T01:58:47Z",
      "label": "copy captured 2016-06-12",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20160612015847id_/https://eprint.iacr.org/2015/1134.pdf",
      "size": 614224,
      "sha256": "f19e83509d587b98c2cb0f84509377a64a4ecfac44068eb83882d46462f7b2a5",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2015/1134/versions/20160310T014753Z.pdf",
      "captured_at": "2016-03-10T01:47:53Z",
      "label": "copy captured 2016-03-10",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20160310014753id_/http://eprint.iacr.org/2015/1134.pdf",
      "size": 554512,
      "sha256": "4b774e50a9b47627f7142c21e644bed8776dd31e2d6682b0a3cf2d056c747a84",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260303082630id_/https://eprint.iacr.org/2015/1134.pdf",
      "captured_at": "2026-03-03T08:26:30Z",
      "size": 620548
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2015/1134.pdf",
      "captured_at": "2019-02-25T17:07:53Z",
      "size": 619235
    }
  ],
  "bibtex": "@misc{cryptoeprint:2015/1134,\n      author = {Eric Crockett and Chris Peikert},\n      title = {$\\Lambda \\circ \\lambda$: Functional Lattice Cryptography},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2015/1134},\n      year = {2015},\n      url = {https://eprint.iacr.org/2015/1134}\n}"
}
