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?
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?
I am trying to use EMP-sh2pc with FerretOT, see also issue #31.
What I have done so far is:
SemiHonestParty
constructor 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.SemiHonestGen
constructor 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?).SemiHonestEva
constructor 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?