cryptobiu / libscapi

Comprehensive Open Source Library for Secure Multiparty Computation
MIT License
180 stars 66 forks source link

How to generate circuit using C++? #77

Closed Zeinab-Rahmani closed 4 years ago

Zeinab-Rahmani commented 4 years ago

Hello, Does libscapi supports generating circuits for c++ using a software or something similar? We are developing a framework that uses large circuits consist of many gates and they can not be written manually (like creating a file and defining the circuit). Many thanx.

liorko87 commented 4 years ago

Hello,

If I understand you correctly, your requirement is that libscapi will read the circuit at runtime during the protocol execution from another stream/pipeline? If so, the answer is no - libscapi currently supports reading circuits from files.

Zeinab-Rahmani commented 4 years ago

Hello, in fact, what I mean is to generate a circuit from an analytical function (for example a function that adds to number). Thank you.

liorko87 commented 4 years ago

Hello,

No, libscapi supports only reading circuits from file.

Lior

Zeinab-Rahmani commented 4 years ago

Thank you.