Skip to content
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

Changes for using Ferret with sh2pc #35

Open
suoivilbo2 opened this issue Mar 13, 2023 · 1 comment
Open

Changes for using Ferret with sh2pc #35

suoivilbo2 opened this issue Mar 13, 2023 · 1 comment

Comments

@suoivilbo2
Copy link

suoivilbo2 commented Mar 13, 2023

I am trying to use EMP-sh2pc with FerretOT, see also issue #31.

What I have done so far is:

  • For the SemiHonestParty constructor in sh_party.h, I have replaced ot = new IKNP<IO>(io) by ot = new FerretCOT<IO>(party, 1, &io, false, false) (and adopted the declaration at the beginning of the file). In my understanding, the second false of the FerretCOT constructor implies that the setup operations will be done later.
  • For the SemiHonestGen constructor in sh_gen.h, I have replaced this->ot->setup_send(delta_bool) by this->ot->setup(this->gc->delta), to initialize the COT delta to the one used by 2PC (is that correct?).
  • For the SemiHonestEva constructor in sh_eva.h, I have replaced this->ot->setup_recv() by this->ot->setup() to initialize the evaluator side.

When I run 2PC, I get a segfault in the extend() operation on the garbler/Gen. What am I doing wrong?

@suoivilbo2 suoivilbo2 changed the title Change for using Ferret with sh2pc Changes for using Ferret with sh2pc Mar 13, 2023
@Stu-Yang
Copy link

Stu-Yang commented Aug 5, 2024

hi, @suoivilbo2 , I came across your post and was wondering if you have managed to resolve the issue. If so, could you please share any follow-up information or updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants