This repo is a work in progress. Please contact James Choncholas for more information.
The auction can run in 3 security models, semi-honest 2pc, publicly verifiable covert, and authenticated garbling 2pc.
Specifically for semihonest 2pc there are a few different applications.
- sh2pc_auction is a usable application that computes an auction for resources.
- sh2pc_auction_benchmark is a tool to run the auction repeatedly with increasing size and performance measurements.
- sh2pc_auction_benchmark_dc2 is just like benchmark except the evaluator (bob) has ALL the data.
- install FlameGraph repo and point path in docker/run.sh
-
Install necessary dependencies
> ./install.sh
-
Build and run the sh2pc tests
> ./scripts/build_all.sh > ./scripts/run_all.sh
-
First install normal dependancies.
> ./install.sh
-
Build a circuit file with circuit generator program.
> mkdir build > cd build > cmake .. > make > ./bin/gen_auction
-
Install special pvc dependancies.
> ./install_pvc.sh
-
Copy the circuit to PVC location
> cp to pvc test dir with special name (aes or something)
-
Run the pvc test but with the new circuit
> cd emp-pvc/test > run the test
Copy the following two lines into emp-agmpc/CMakeLists.txt right above the test cases
install(DIRECTORY emp-agmpc DESTINATION include)
install(DIRECTORY cmake/ DESTINATION cmake)
Run make install from that directory