cryptobiu/MPC-Benchmark

couldn't test the GMW example

pri8-phy opened this issue · 0 comments

Hello!

I am working on the implementation of the GMW protocol for a project. I tried to test the AES circuit (NigelAes3Parties.txt) example already provided for GMW, but could not understand the outputs for the first and second parties that appear after receiving 'segmentation fault (core dumped)' error (also, no output is being generated for the third party even though the circuit is for 3 parties). I suppose the outputs of all parties should sum (XOR) to the final output.

Hence, I tried to test a simple circuit consisting of AND and XOR gates, but that does not generate the correct output either. So I tried testing for a single XOR gate, and a simple circuit of 3 XOR gates, which worked fine I think, but for a single AND gate, I could not get the correct result. While debugging, I realised that parties.size() = 0 always, and probably that's why AND gates are not evaluated properly? Did the code work properly for you for this example of NigelAes3Parties provided by you?

I would really appreciate some help regarding this!

Thanks in advance!