- Install prerequisites using instructions here.
- Install emp-tool.
- Install emp-ot.
- git clone https://github.com/emp-toolkit/emp-sh2pc.git
- cd emp-sh2pc && cmake . && sudo make install
-
If you want to test the code in local machine, type
./run ./bin/[binaries] 12345 [more opts]
-
IF you want to test the code over two machine, type
./bin/[binaries] 1 12345 [more opts]
on one machine and./bin/[binaries] 2 12345 [more opts]
on the other.IP address is hardcoded in the test files. Please replace SERVER_IP variable to the real ip.
-
example_semi_honest should run as
./bin/example 1 12345 123 & ./bin/example 2 12345 124
because different parrties needs different numbers
Please send email to wangxiao@cs.umd.edu
This work was supported in part by the National Science Foundation under Awards #1111599 and #1563722.