Hello, Mikkel and I restructured some code yesterday in preparation for implementing a Bracha broadcast, which in turn will help implement protocols for active security.
The restructuring made it much easier to implement asynchronous protocols -- and we now have an asymmetric Shamir sharing method. It works as described in http://article.gmane.org/gmane.comp.cryptography.viff.devel/59 e.g., you write stuff like this: # Share two inputs in "backwards" order: if runtime.id == 1 or runtime.id == 3: c, a = runtime.shamir_share(input, [3, 1]) else: c, a = runtime.shamir_share(None, [3, 1]) Fixing old programs is easy: add [1, 2, 3] as a second argument to all calls to shamir_share (assuming three players). Making the prss_share and open methods asymmetric is still on the TODO list, as an updated doc strings for shamir_share... There's plenty of other cleanup work I can do, so let me know if you want to take a stab at converting one of the methods. -- Martin Geisler
pgpAhL3NVOPLq.pgp
Description: PGP signature
_______________________________________________ viff-devel mailing list (http://viff.dk/) [email protected] http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk
