Open shao-hua-li opened 6 years ago
Consider this: https://bitbucket.org/jackdoerner/absentminded-crypto-kit
There is currently no native Integer-Division built into ABY.
However, we have Integer- and Floating-Point (FP) division from circuits that are read from file. Here's an example how to use FP gates in general: https://github.com/encryptogroup/ABY/blob/public/src/examples/float/abyfloat.cpp
The Integer-Division circuits are int_div_<bitlen>.aby
in bin/circ
. You can use them with PutGateFromFile().
If you want to convert Integer values to Floaing-Point, have a look at PutConvTypeGate().
Floating-Point to Integer conversion is not yet implemented.
I would like to ask if there is any solution to division using ABY framework :)