ABY icon indicating copy to clipboard operation
ABY copied to clipboard

Accessing elements from SMID gate

Open MohamadMansouri opened this issue 6 years ago • 2 comments

How can we access an element in a SMID gate ( Boolean and arithmetic )? If the answer is using PutSplitterGate and getting the element using a getter methods, then please give me a working example, since it is not working for me... Thanks...

MohamadMansouri avatar Aug 30 '18 13:08 MohamadMansouri

How can we access an element in a SMID gate ( Boolean and arithmetic )? If the answer is using PutSplitterGate and getting the element using a getter methods, then please give me a working example, since it is not working for me... Thanks...

Have you solved the problem? I have the same issue now.

Ye-D avatar Jul 28 '20 02:07 Ye-D

Easy to find an example for an arithmetic circuit here: https://github.com/encryptogroup/ABY/blob/public/src/examples/innerproduct/common/innerproduct.cpp#L134

But for boolean, look here https://github.com/encryptogroup/ABY/blob/08baa853de76a9070cb8ed8d41e96569776e4773/src/examples/psi_scs/common/sort_compare_shuffle.cpp#L228

eigmax avatar Aug 25 '21 12:08 eigmax