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

2009-06-22 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, + \
+but a component did  
arrive properly.)


Same problem as above with the backslashes. Also, I think we talked
about this, but it looks like gather_shares would be better than
ShareList since you must have all four shares anyway.


I don't agree with this entirely. gather_shares ignores errors.



Janus Dam Nielsen

RD SCIENTIST, PhD.
CENTRE FOR IT-SECURITY

THE ALEXANDRA INSTITUTE LTD.

T +45 42 22 93 56
E janus.niel...@alexandra.dk
W alexandra.dk


___
viff-devel mailing list (http://viff.dk/)
viff-devel@viff.dk
http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk


Re: [viff-devel] [PATCH 00 of 12] Partial implementation of the Orlandi runtime.

2009-06-22 Thread Janus Dam Nielsen

Thanks for your comments. Great to get feedback on the code.


If I've understood things correctly, then this gives us an actively
secure protocol for full threshold scenarios, right?


Yes! When the protocol is completed it is indeed true.

Maybe you should publish the patches as a tree on hg.viff.dk like  
Marcel

has done -- and then let me know when you're happy with it and want me
to pull it into the main tree.

How do I get such a nice tree?

This patchbomb contains partial implementation of the Orlandi  
runtime.


Wow, cool! I've just looked through the first couple of patches and  
even

though I had some style-complaints, I think this is great!

Let me know if you have comments for the other patches.



Janus Dam Nielsen

RD SCIENTIST, PhD.
CENTRE FOR IT-SECURITY

THE ALEXANDRA INSTITUTE LTD.

T +45 42 22 93 56
E janus.niel...@alexandra.dk
W alexandra.dk


___
viff-devel mailing list (http://viff.dk/)
viff-devel@viff.dk
http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk


Re: [viff-devel] [PATCH 00 of 12] Partial implementation of the Orlandi runtime.

2009-06-22 Thread Martin Geisler
Janus Dam Nielsen janus.niel...@alexandra.dk writes:

 Maybe you should publish the patches as a tree on hg.viff.dk like
 Marcel has done -- and then let me know when you're happy with it and
 want me to pull it into the main tree.
 How do I get such a nice tree?

You already have SSH access right? Then just create a repository under
~/repos and it will automatically show up in the web interface. Add
metadata in .hg/hgrc like for the other repositories.

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.


pgp2onnPWLd7a.pgp
Description: PGP signature
___
viff-devel mailing list (http://viff.dk/)
viff-devel@viff.dk
http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk


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

2009-06-22 Thread Martin Geisler
Janus Dam Nielsen janus.niel...@alexandra.dk 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 share, + \
 +but a component did
 arrive properly.)

 Same problem as above with the backslashes. Also, I think we talked
 about this, but it looks like gather_shares would be better than
 ShareList since you must have all four shares anyway.

 I don't agree with this entirely. gather_shares ignores errors.

Yeah, sort of. It will still pass on the list of results in case of an
error, but some of them will be None or a Failure instance. But so
ShareList is fine.

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.


pgphQleYB548n.pgp
Description: PGP signature
___
viff-devel mailing list (http://viff.dk/)
viff-devel@viff.dk
http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk