emp-toolkit / emp-pvc Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
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
relic-toolkit is massively modified relic-toolkit/relic@5518ed1 , so that emp-tool, emp-ot, and emp-pvc should follow it.
See https://github.com/tell/emp-env and its Travis CI results for details.
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
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.
As shown in travis
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?
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?
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?
The second link failed during installation, how to Install relic using script ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.