ABY
ABY copied to clipboard
Accessing elements from SMID gate
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...
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.
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