Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load a share object on a circuit #45

Open
jpmcruz opened this issue May 17, 2018 · 2 comments
Open

Load a share object on a circuit #45

jpmcruz opened this issue May 17, 2018 · 2 comments

Comments

@jpmcruz
Copy link

jpmcruz commented May 17, 2018

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.

@dd23
Copy link
Member

dd23 commented May 17, 2018

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.

@ziyedbe
Copy link

ziyedbe commented Jul 22, 2020

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants