Re: [viff-devel] [PATCH 02 of 12] Implemented secret sharing command

2009-06-22 Thread Martin Geisler
Janus Dam Nielsen writes: >>> +s1, xi = ls[0] >>> +s2, rhoi1 = ls[1] >>> +s3, rhoi2 = ls[2] >>> +s4, Cx = ls[3] >>> +if not (s1 and s2 and s3 and s4): >>> +raise OrlandiException("Cannot share number, >>> trying to create

Re: [viff-devel] [PATCH 02 of 12] Implemented secret sharing command

2009-06-21 Thread Janus Dam Nielsen
+s1, xi = ls[0] +s2, rhoi1 = ls[1] +s3, rhoi2 = ls[2] +s4, Cx = ls[3] +if not (s1 and s2 and s3 and s4): +raise OrlandiException("Cannot share number, trying to create share," + \ +

Re: [viff-devel] [PATCH 02 of 12] Implemented secret sharing command

2009-06-19 Thread Martin Geisler
Janus Dam Nielsen writes: > # HG changeset patch > # User Janus Dam Nielsen > # Date 1245394849 -7200 > # Node ID f780a9ea514acb7de9d70022a8845938599696c8 > # Parent 15c0283f7cb6dad3d7a41e9095bb4fd18a30d909 > Implemented secret sharing command. > > diff --git a/viff/orlandi.py b/viff/orlandi.py