-
Notifications
You must be signed in to change notification settings - Fork 95
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
unused value sent over the wire #161
Comments
They are used in "public_label()", right? |
Sorry for the noise, I was confused. |
@wangxiao1254 , I'm still confused why the garbler does emp-tool/emp-tool/gc/halfgate_gen.h Line 61 in 203bc53
after sending the public constants to the evaluator? |
It's because halfgate_gen works by propagating the wire keys corresponding to zeros, so it expects the key for the "wire" of constant[1] if that wire were to be 0. |
emp-tool/emp-tool/gc/halfgate_gen.h
Line 60 in 203bc53
constant[0] is sent to the evaluator. After that it is never used neither by the garbler nor by the evaluator.
Could you pls clarify the purpose of sending it and also the purpose of having it since it is never used.
The text was updated successfully, but these errors were encountered: