lol-cpp: A fast C++ backend for < lol>.

[ crypto, gpl, library ] [ Propose Tags ]

Λ ∘ λ (Lol) is a general-purpose library for ring-based lattice cryptography. This package provides a C++ implementation of Lol's Tensor interface.

[Skip to Readme]
Versions [faq],,
Change log
Dependencies base (>=4.9 && <5), constraints (<0.10), deepseq (>= && <1.5), lol (>= && <0.7), MonadRandom (>=0.2 && <0.6), mtl (>=2.2.1 && <2.3), numeric-prelude (>=0.4.2 && <0.5), reflection (>=1.5.1 && <2.2), vector (>=0.11 && <0.13) [details]
License GPL-2.0-only
Copyright Eric Crockett, Chris Peikert
Author Eric Crockett <>, Chris Peikert <>
Maintainer Eric Crockett <>
Category Crypto
Home page
Bug tracker
Source repo head: git clone
Uploaded by crockeea at Fri Feb 24 07:07:33 UTC 2017
Distributions NixOS:
Downloads 1087 total (45 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2017-02-24 [all 1 reports]





Compile via LLVM. This produces much better object code, but you need to have the LLVM compiler installed.


Turn on library optimizations


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees

Readme for lol-cpp-

[back to package description]
This package contains a fast C++ implementation of the 'Tensor' interface for
Lol, via Haskell's FFI.

You can test this package by running `stack test lol-cpp`, and benchmark by
running `stack bench lol-cpp`.