Skip to content

Wrong output with the SemiHonestYao protocol #10

Description

@andremmvgabriel

Hello!

So, after following the instruction to use the semi honest yao protocol, I've decided to test it.

I went to the YaoConfig.txt and changed the following lines:

print_output = true
input_section = ADD

[ADD-Linux]
circuit_file = Bristol_ADD.txt
input_file_party_1 = ../../examples/assets/circuits/ADD/ADDPartyOneInputs.txt
input_file_party_2 = ../../examples/assets/circuits/ADD/ADDPartyTwoInputs.txt

So, in this case, with my understanding, it is summing the inputs from Party One (which are all 0's) with the inputs from Party Two (which are also all 0's) and the output should be straightforward and give all 0's as well right?

This is the output that I'm getting:

Delete_After

Did I do something wrong? Or is this an issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions