-
Notifications
You must be signed in to change notification settings - Fork 38
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
Does sh2pc do garbled circuit? #32
Comments
It is done using garbled circuits and OT. You need to look into emp-tool and emp-ot for these components as well. |
Now I understand that it is doing OT and Garbled circuit. Thank you. I have a quick follow-up question for garbling AES. Will the efficiency be improved a lot if Alice sends all garbled circuit tables to Bob first and let Bob evaluate the circuit offline instead of sending tables for each AND gate during the evaluation? It seems that it can make much much fewer round trips. |
the protocol is constant round regardless of how the data is sent. Sending a lot of data all at once will only make it slower because now when the garbling is done, the evaluator is just waiting and not doing anything. |
|
I am looking at circuit_file.cpp and try to understand how sh2pc works.
In circuit_file.cpp, Alice and Bob tries to compute AES function together, but it seems they do not run it on a garbled circuit or ot. Instead, they run on a straight-forward circuit evaluation.
I do not know whether it can be defined as semi-honest, since either Bob or Alice can easily learn the other's secret in the test function.
Is there any hint?
The text was updated successfully, but these errors were encountered: