You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
suoivilbo2
changed the title
Change for using Ferret with sh2pc
Changes for using Ferret with sh2pc
Mar 13, 2023
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?The text was updated successfully, but these errors were encountered: