Poster: Framework for Semi-Private Function Evaluation with Application to Secure Insurance Rate Calculation
By Daniel Günther, Ágnes Kiss, Lukas Scheidel, and Thomas Schneider in 26. ACM Conference on Computer and Communications Security (CCS'19) Posters/Demos. Paper available here.
-
A Linux distribution of your choice (developed and tested on Ubuntu).
-
Required packages:
g++
(version >=8) or another compiler and standard library implementing C++17 including the filesystem librarymake
cmake
libgmp-dev
libssl-dev
libboost-all-dev
(version >= 1.66)flex
bison
python3
Install these packages with your favorite package manager, e.g,
sudo apt-get install <package-name>
. -
Optional packages:
doxygen
andgraphviz
to create your own Doxygen documentation of the code.
git clone --recursive https://github.com/danguenther/spfe-framework
cd spfe-framework
mkdir build
cd build
cmake ..
make
make -C ..
This frameworkdepends on the following libraries:
- boost
- googletest (optional)
These are referenced using the Git submodules in the extern/
directory. During the configure phase of the build (calling cmake ..
) CMake searches your system for these libraries.
- If they are already installed at a standard location, e.g., at
/usr
or/usr/local
, CMake should find these automatically. - In case they are installed at a nonstandard location, e.g., at
~/some/path/
, you can point CMake to their location via theCMAKE_PREFIX_PATH
option:cmake .. -DCMAKE_PREFIX_PATH=~/some/path/
You can choose the build type, e.g. Release
or Debug
using
CMAKE_BUILD_TYPE
:
cmake .. -DCMAKE_BUILD_TYPE=Release
# or
cmake .. -DCMAKE_BUILD_TYPE=Debug
Release
will enable optimizations whereas Debug
includes debug symbols.
To choose a different compiler, use the CXX
environment variable:
CXX=/usr/bin/clang++ cmake ..