markkurossi / mpc

Secure Multi-Party Computation (MPC) with Go. This project implements secure two-party computation with Garbled circuit protocol.
https://www.markkurossi.com/mpcl/index.html
MIT License
110 stars 22 forks source link

help: Possible to implement 3 party MPC? #18

Closed xomexh closed 11 months ago

xomexh commented 1 year ago

Is it possible to implement a solution with a setup of one garbler and two evaluator, where each garbler has a 2-pc connection with each of the two evaluators, with the help of this library?

Can you give some insight on this?

markkurossi commented 11 months ago

Sorry the slow response. The library has no direct support for your setup. But you could run separate pairs of garbler/evaluator between each 2-party pair. I also started working on n-party protocol (n>2) so the network could run the computation with n>2 peers. But this protocol requires still more work.

xomexh commented 11 months ago

Thank you so much for the response Mark. As you mentioned, we are running separate pairs of 2-party pairs, and it works fine.