Giter Club home page Giter Club logo

emp-pvc's People

Contributors

fionser avatar wangxiao1254 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

emp-pvc's Issues

ECC implementation in emp-tool updated

relic is no longer the default ECC implementation. So this repo works only with commit 50c01ba99e5d257de05ef0e74ce6a0294a9ff471. Should update the installation procedure to use this commit.

problem when I install the program

Hi Xiao Wang,
I want to install emp PVC on my work computer (Linux), but I have encountered some problems.

When I compile emp-pvc with cmake . I got the following error:

CMake Error at CMakeLists.txt:17 (include):
include could not find requested file:

/usr/local/cmake/common.cmake

CMake Error at CMakeLists.txt:18 (include):
include could not find requested file:

/usr/local/cmake/source_of_randomness.cmake

CMake Error at CMakeLists.txt:19 (include):
include could not find requested file:

/usr/local/cmake/threading.cmake

problem when I test the program

Hello,I had a problem testing the program locally when I input bin/test_pvc.cpp_exe sha1 alice & bin/test_pvc.cpp_exe sha1 bob
image

Comparison with ag2pc

emp-pvc appears to be almost as slow as ag2pc over 32 core LAN machines. Is it because of the more efficient multi-threaded implementation of ag2pc over pvc?

Initializing inputs and capturing outputs

I'm trying to convert a semihonest code to pvc code. I had moved all the initialization before the TPCF_OT_ONLY flag, however that doesn't seem to working. The circuit inputs are still being initialized to some random values. Also, printing the circuit output (using reveal) doesn't seem to be getting the right output (even for the test examples). Do the input and output values needs to be dealt with in a different manner?

Make install and TLS reference error

Make install doesn't seem to work. Apparently "install" hasn't been defined in the makefile.
Also, I get the following error while I perform make.

[ 75%] Linking CXX executable ../bin/test_pvc.cpp_exe
/usr/bin/ld: _ZN3emp16CircuitExecution9circ_execE: TLS reference in CMakeFiles/test_pvc.cpp_exe.dir/test_pvc.cpp.o mismatches non-TLS definition in /usr/local/lib/libemp-tool.so section .bss
/usr/local/lib/libemp-tool.so: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
test/CMakeFiles/test_pvc.cpp_exe.dir/build.make:106: recipe for target 'bin/test_pvc.cpp_exe' failed
make[2]: *** [bin/test_pvc.cpp_exe] Error 1
CMakeFiles/Makefile2:140: recipe for target 'test/CMakeFiles/test_pvc.cpp_exe.dir/all' failed
make[1]: *** [test/CMakeFiles/test_pvc.cpp_exe.dir/all] Error 2
Makefile:94: recipe for target 'all' failed
make: *** [all] Error 2

Missing emp-ot/table.h , unable to build

Following the installation process in emp-readme, emp-ot , emp-tools & emp-sh2pc are installed but when running cmake . & make to install emp-pvc I get the following error:

fatal error: emp-ot/table.h: No such file or directory
#include <emp-ot/table.h>
^~~~~~~~~~~~~~~~
The emp-ot repository does not contain any table.h file.
When I comment the include, I get the next error:

emp-pvc/internal_eva.h:5:10: fatal error: emp-ot/mextension_kos.h: No such file or directory
#include <emp-ot/mextension_kos.h>

So it seems emp-pvc is using some old references. Any fix possible?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.