emp-sh2pc
emp-sh2pc copied to clipboard
Changes for using Ferret with sh2pc
I am trying to use EMP-sh2pc with FerretOT, see also issue #31.
What I have done so far is:
- For the
SemiHonestPartyconstructor insh_party.h, I have replacedot = new IKNP<IO>(io)byot = 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
SemiHonestGenconstructor insh_gen.h, I have replacedthis->ot->setup_send(delta_bool)bythis->ot->setup(this->gc->delta), to initialize the COT delta to the one used by 2PC (is that correct?). - For the
SemiHonestEvaconstructor insh_eva.h, I have replacedthis->ot->setup_recv()bythis->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?
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?