Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.7 KB

README.md

File metadata and controls

36 lines (24 loc) · 1.7 KB

EMP-ag2pc

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

Authenticated Garbling and Efficient Maliciously Secure Two-Party Computation. More details of the protocol can be found in the paper.

Installation

  1. wget https://raw.githubusercontent.com/emp-toolkit/emp-readme/master/scripts/install.py
  2. python install.py --install --tool --ot --ag2pc
    1. By default it will build for Release. -DCMAKE_BUILD_TYPE=[Release|Debug] option is also available.
    2. 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 address is hardcoded in the test files. Please replace IP variable to the real ip.

Question

Please send email to [email protected]

Acknowledgement

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