ladnir / emp-sh2pc

Semi-honest Two Party Computation Based on Garbled Circuits.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

emp-sh2pc

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_semi_honest 1 12345 123 & ./bin/example_semi_honest 2 12345 124

    because different parrties needs different numbers

Question

Please send email to wangxiao@cs.umd.edu

About

Semi-honest Two Party Computation Based on Garbled Circuits.


Languages

Language:C++ 84.7%Language:CMake 12.3%Language:Shell 3.0%