lucyq / emp-sh2pc

Semi-honest Two Party Computation Based on Garbled Circuits.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

emp-sh2pcBuild Status

Installation

  1. Install prerequisites using instructions here.
  2. Install emp-tool.
  3. Install emp-ot.
  4. git clone https://github.com/emp-toolkit/emp-sh2pc.git
  5. cd emp-sh2pc && cmake . && sudo make install

Test

  • 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

Question

Please send email to wangxiao@cs.umd.edu

Acknowledgement

This work was supported in part by the National Science Foundation under Awards #1111599 and #1563722.

About

Semi-honest Two Party Computation Based on Garbled Circuits.

License:Other


Languages

Language:C++ 93.8%Language:C 4.8%Language:CMake 1.2%Language:Shell 0.3%