-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for other SMC protocols in MP-SPDZ #2
Comments
Hi Quantum-SMC, first off, I don't know how many protocols provide by MP-SPDZ can be used to run our code. We only have tested it for the four protocols specified in the README. Most protocols should work because of the way MP-SPDZ is designed. I will give you some directions on how to integrate other protocols so you can try out the protocols you need. Second, you may need to change the compilation arguments used to compile the MP-SPDZ code. Currently, we are using -R 64 -X, but this may not work with other protocols. Line 380 in 31773ec
Other than that, I don't think that more changes are needed to integrate new protocols into the framework. |
I just tried it out and got Mascot working. I believe you made an error in the compilation I highlighted above: Line 380 in 31773ec
According to the error, MP-SPDZ is looking for a file named In my case, I got MASCOT working by adding the protocol like you did and changing the I hope this fixes your problem. |
Thank you. I was able to run
Regards, |
Thank you. Do you know if there is something problematic with building MP-SPDZ that is causing this error:
Best, |
I looked into the problem, and it appears that the newer MP-SPDZ versions changed how the multiplication triples are generated. The problem is that in 0.3.2 there was a bug in the SAFEFL/mpspdz/ExternalIO/client.py Lines 36 to 38 in 31773ec
The data structure was the wrong format. Therefore, we have this file in the repository to override the existing file present in MP-SPDZ to make the framework work. This bug in the example was apparently fixed in version 0.3.3 looking at the change log (https://github.com/data61/MP-SPDZ/releases/tag/v0.3.3). Now the problem is that TLDR, things have changed in MP-SPDZ, which make our provided files needed for 0.3.2 no longer valid. Therefore, using a newer version of MP-SPDZ will simply not work. |
Hi,
Can other types of protocols in MP-SPDZ (e.g. MASCOT) be integrated to your platform? I need to use a protocol that utilises OT.
Thank you.
The text was updated successfully, but these errors were encountered: