Comments (8)
(Can you also attach a Makefile or something for the compilation commands?)
from emp-ag2pc.
Sure, for max-circuit-gen.cpp, I add that to the test directory of emp-tool repo, and then add a line "add_test(max-circuit-gen)" to the end of CMakeLists.txt in emp-tool repo. And for max-ag2.cpp, I do the same thing on emp-ag2pc repo. I can quickly fork those two repos and put the files under them, if that makes things easier. But that might require you complie/install the emp-tool & emp-ag2pc again? Please let me know which way works best for you, thank you!
from emp-ag2pc.
I reproduced a similar incorrect result:
A[0]: 4
A[1]: 6
A[2]: 2
B[0]: 5
B[1]: 1
B[2]: 3
A[0]+B[0]: 9
A[1]+B[1]: 7
A[2]+B[2]: 5
with the modification that A[0]+B[0] follows a different order.
I am on the way to look into it...
from emp-ag2pc.
Ah, sorry, I think we got the same result. I made a typo when pasting the results of A[i]+B[i]. Have pushed to my repo.
from emp-ag2pc.
from emp-ag2pc.
Made a pull request here: kzhong130/emp-ag2pc-max-example#1
It seems that the current plaintext engine demands Alice's input be allocated before Bob's input.
from emp-ag2pc.
Works now! Thank you so much. Sorry that I did not find any related stuff to that requirement before... So I am following another survey repo for this tool: https://github.com/MPC-SoK/frameworks/wiki/EMP-toolkit. In their example it seems find to just allocate both inputs in one loop. So maybe it would be great to mention that there as well.
from emp-ag2pc.
I would say it is a limitation of emp-tool
at this moment. The Bristol fashion circuits are not easy to work with. (This might be changed in the coming years.)
from emp-ag2pc.
Related Issues (19)
- Input Bits HOT 2
- Run's out of memory for large circuits HOT 2
- How can both parties receive the output? HOT 4
- Support non-flattened circuits? HOT 2
- executing circuit error HOT 4
- Problem with amortized_2pc HOT 5
- on travis failure when that vm does not have bmi2 HOT 4
- emp-ag2pc no longer compiles: small issue with "triple" test HOT 1
- class C2PC does not accept FileIO type HOT 1
- transmitting authenticated circuit in online phase HOT 1
- Communication compexity of the independent phase. HOT 2
- Encounter Segmentation Fault when using external circuit file HOT 4
- Setting ```__debug``` in ```amortized_2pc.h``` is broken HOT 1
- Should these loops iterate from 1? HOT 2
- Overview of this repository HOT 1
- Matrix-multiplication can be optimized
- Is only BOB getting the answer? HOT 5
- Alice is party 2 in the circuit? HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emp-ag2pc.