I'm classifying this as a bug -- it is most likely a performance bug.
I don't think it should be all too difficult to fix this, one only has
to take care of converting the mpz objects into bytes and back again
when the data is sent over the network. As far as I remember mpz
objects have a method for this.
Other than that, the tricky part is to make sure that all numbers used
in VIFF are converted to mpz objects when we first encounter them. So
the arguments to the overloaded __add__, __mul__, etc. methods of
Share should be converted, as should arguments to shamir_share.
Please write a comment here if any of you wants to look at this.
|