encryptogroup / MOTION

An efficient, user-friendly, modular, and extensible framework for mixed-protocol secure multi-party computation with two or more parties
MIT License
85 stars 40 forks source link

Communication question #7

Closed maDnemo closed 3 years ago

maDnemo commented 3 years ago

I am trying to write a program that runs both Motion and another MPC framework that uses emp-tools' NetIO, is it possible for both to use the same communication channel?

Oleksandr-Tkachenko commented 3 years ago

I briefly looked into the docs for NetIO and it seems to be just a wrapper over a network socket. So the answer is no unless the other framework serializes its communication. Otherwise, you would need to kind of manually synchronize the communication in both frameworks, which is quite non-trivial.