esonghori / TinyGarble

TinyGarble: Logic Synthesis and Sequential Descriptions for Yao's Garbled Circuits
GNU General Public License v3.0
119 stars 29 forks source link

SCD documentation is incorrect #18

Open dvdrndlph opened 5 years ago

dvdrndlph commented 5 years ago

The SCD documentation says there are seven values in the first line of the flag. But all of the included files have 10 values. The code names these values in order like this:

  1. p_init_size
  2. g_init_size
  3. e_init_size
  4. p_input_size
  5. g_input_size
  6. e_input_size
  7. dff_size
  8. output_size
  9. terminate_id
  10. gate_size

It would help me if you could correct the documentation and expand it describe the precise semantics of each of these inputs.

Many thanks.

dvdrndlph commented 5 years ago

Do the p values imply you have some support for three-party computation?

esonghori commented 5 years ago

Hi David,

The p stands for public. It is known to both party and should be provided by both of them to the algorithm.

Sincerely yours, Ebrahim M.Songhori.

On Thu, Aug 22, 2019 at 8:54 AM David Randolph notifications@github.com wrote:

Do the p values imply you have some support for three-party computation?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/esonghori/TinyGarble/issues/18?email_source=notifications&email_token=ABKKGW7TJY3D2ZCTW2FWLUDQF2ZCLA5CNFSM4IHY3ZNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD45RLLQ#issuecomment-523965870, or mute the thread https://github.com/notifications/unsubscribe-auth/ABKKGW37V2UXZV75QUGTRYTQF2ZCLANCNFSM4IHY3ZNA .