-
Notifications
You must be signed in to change notification settings - Fork 16
Concrete
Concrete is an FHE library written in Rust. It is being developed by Zama and implements their version of the CGGI/TFHE scheme. See their documentation for more information on the library itself.
The documentation provides tutorials for linux and macOS.
You need to install Rust and vcpkg.
After installing vcpkg, you need to run vcpkg integrate install
from the windows command line (in the folder where you installed vpckg).
You will also need to install OpenSSL, since the rust openssl crate only installs a wrapper, not the libary itself. To do so, run vcpkg install openssl:x64-windows-static-md
as usual. The same goes for fftw3, so run vcpkg install fftw3:x64-windows-static-md
as usual.
Actually, installing fftw3 still leads to errors, and the rust fftw wrapper says system-installed fftw isn't supported on Windows, so we need to amend the dependency in the original concrete library.
The local workaround is to clone concrete to an appropriate location, remove the [dependencies.fftw]
block in Cargo.toml
and instead add fftw="=0.6.0"
under [dependencies]
. Note that the version is important, as later versions are not compatible with Concrete.
If you want to use IntelliJ, you need to install the rust plugin and run rustup component add rust-src
from the windows command line to add the rust sources that the plugin requires.
- Home
- Compilers & Optimizations
- Libraries
- Benchmark Programs
- Implementation Docs