-
Notifications
You must be signed in to change notification settings - Fork 78
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
SecFlt's output bug #83
Comments
There should be no problem here. The calls to the |
But if the node performing the output is not in the set of receivers, then the _output method inside it, which calls the output method in runtime.py to retrieve the significand and exponent, will return None. As a result, the assertions and return values cannot handle None. I noticed that while mpyc provides senders and receivers parameters in both input and output, there doesn't seem to be a demo for scenarios where each party has different inputs and outputs. |
Yes, now I see. Good catch, thx! I've fixed the |
Did you see the Oblivious Transfer demo mpyc/demos/ot.py? That demo has private inputs and private outputs for the parties in the OT protocol. |
In the output method of runtime.py, the output of SecFlt uses the SecureFloat._output method. However, the SecureFloat._output method recursively calls the output method in runtime.py. This can lead to issues where, if the current node is not in the receivers, x_s and x_e become None, resulting in assertion errors and errors in the return values in the SecureFloat._output method.
I hope to find a solution for this issue. If my understanding is incorrect, please let me know.
The text was updated successfully, but these errors were encountered: