ABY icon indicating copy to clipboard operation
ABY copied to clipboard

Load a share object on a circuit

Open jpmcruz opened this issue 6 years ago • 2 comments

Hi,

How can I load a share object on a circuit (Assuming the share object is an output of another circuit). The PutINGate and PutSIMDINGate seem to only accept plaintext values (unsigned int).

Thank you.

jpmcruz avatar May 17 '18 07:05 jpmcruz

This currently only works with the content of secret-shared values using Boolean or arithmetic sharing, but not with Yao and not with share objects directly.

A value x is secret shared as x = x_1 XOR/ADD x_2, where one party has x_1 and the other one has x_2.

With PutSharedINGate() you can directly load such an x_i share and with PutSharedOUTGate() you can output it.

dd23 avatar May 17 '18 12:05 dd23

@dd23 Can you further explain this please ? I have shares that i want to use in another ABY instance but i don't really get how.

ziyedbe avatar Jul 22 '20 14:07 ziyedbe