See the instruction in APSI for needed dependencies. Moreover, libOTe for oblivious transfer extension is also needed.
Dependency | vcpkg name |
---|---|
Microsoft SEAL | seal[no-throw-tran] |
Microsoft Kuku | kuku |
Log4cplus | log4cplus |
cppzmq | cppzmq (needed only for ZeroMQ networking support) |
FlatBuffers | flatbuffers |
jsoncpp | jsoncpp |
TCLAP | tclap (needed only for building CLI) |
git clone https://github.com/xianglingzhang/uPCSI.git
cd uPCSI
mkdir build
cd build
cmake ..
make -j8
../bin/receiver_cli -d db.csv --port 60000 -p ../parameters/16M-1024.json -t 1 --len 16
../bin/sender_cli -q query.csv -a 127.0.0.1 -p ../parameters/16M-1024.json --port 60000 -t 1