ABY
ABY copied to clipboard
Load a share object on a circuit
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.
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 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.