spring-epfl / emp-sh2pc

Semi-honest Two Party Computation Based on Garbled Circuits.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

emp-sh2pc

arm x86 Total alerts Language grade: C/C++

Installation

  1. wget https://raw.githubusercontent.com/emp-toolkit/emp-readme/master/scripts/install.py
  2. python install.py --deps --tool --ot --sh2pc
    1. You can use --ot=[release] to install a particular branch or release
    2. By default it will build for Release. -DCMAKE_BUILD_TYPE=[Release|Debug] option is also available.
    3. No sudo? Change CMAKE_INSTALL_PREFIX.

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 addresses are hardcoded in the test files.

  • example_semi_honest should run as ./bin/example 1 12345 123 & ./bin/example 2 12345 124

    because different parties need different numbers

Question

Please send email to wangxiao@cs.northwestern.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++ 81.7%Language:Python 6.3%Language:Shell 6.0%Language:CMake 5.5%Language:C 0.4%