Vole-PSI implements the protocols described in VOLE-PSI: Fast OPRF and Circuit-PSI from Vector-OLE and Blazing Fast PSI from Improved OKVS and Subfield VOLE. The library implements stardnard Private Set Intersection (PSI) along with a variant called Circuit PSI where the result is secret shared between the two parties.
The library is cross platform (win,linux,mac) and depends on libOTe, sparsehash, Coproto.
The library can be cloned and built with networking support as
git clone https://github.com/Visa-Research/volepsi.git
cd volepsi
python3 build.py -DCOPROTO_ENABLE_BOOST=ON -DCOPROTO_ENABLE_OPENSSL=ON
If TCP/IP and or TLS socket support is not required, then a minimal version of the library can be build by calling python3 build.py
. See the cmake/python output for additional options.
The user can manualy call cmake as well.
The output library volePSI
and executable frontend
will be written to out/build/<platform>/
. The frontend
can perform PSI based on files as input sets and communicate via sockets. See the output of frontend
for details. There is also two example on how to perform networking or manually get & send the protocol messages.
The library and any fetched dependancies can be installed.
python3 build.py --install
or
python3 build.py --install=install/prefix/path
if a custom install prefix is perfered. Install can also be performed via cmake.
By default the depenancies are fetched automaticly. This can be turned off by using cmake directly or adding -D FETCH_AUTO=OFF
. For other options see the cmake output or that of python build.py --help
.
If the dependancie is installed to the system, then cmake should automaticly find it. If they are installed to a specific location, then you call tell cmake about them as
python3 build.py -D CMAKE_PREFIX_PATH=install/prefix/path