ABY
ABY copied to clipboard
PutGateFromFile: tokens are of type int in general
In general, .aby
tokens can have a sign.
https://github.com/encryptogroup/ENCRYPTO_utils/pull/13 has to be merged first.
Please comment @lenerd
We kind of misused -2 and -3 to signal constant 0 and 1 in the circuits files here: https://github.com/encryptogroup/ABY/tree/public/bin/circ See also https://github.com/encryptogroup/ABY/blob/public/bin/circ/circuitformat.md
Currently the negative numbers end up interpreted as unsigned ones, so e.g. as 4294967294. This is ugly, but worked so far, as long as no one loads files with 4294967294 or more wires...
If this change does not break the circuits (https://github.com/encryptogroup/ABY/tree/public/src/examples/float), we can merge it. Or we should check what else needs to be fixed, so we can merge it.