ladnir / aby3

A Three Party MPC framework for Machine learning and Databases
MIT License
202 stars 55 forks source link

Implementation of "Sh3Task toSi64Matrix(Sh3Task dep, const sbMatrix& in, si64Matrix& dest)" #54

Open GGBOND121382 opened 3 months ago

GGBOND121382 commented 3 months ago

Could you please implement the method Sh3Task toSi64Matrix(Sh3Task dep, const sbMatrix& in, si64Matrix& dest) in Sh3Converter.h that converts sbMatrix to si64Matrix?

ladnir commented 3 months ago

I can help you implement it if you're interested.

GGBOND121382 commented 3 months ago

Thank you for your reply. I am interested in the efficiency of this conversion, particularly when conducting queries involving Boolean and arithmetic shares. To evaluate the efficiency, I have implemented a prototype program that consists of k parallel FA circuits and one prefix-adder addition circuit, as mentioned in your paper, where k represents the bit-length of the numbers. However, my prototype program does not seamlessly integrate with your project to conduct more complex queries. It would be extremely helpful if you could implement the toSi64Matrix method.

ladnir commented 3 months ago

I unfortunately do not have time.