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

Janus Dam Nielsen janus.nielsen at alexandra.dk
Sun Jun 21 23:52:07 PDT 2009


>> +            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

R&D SCIENTIST, PhD.
CENTRE FOR IT-SECURITY

THE ALEXANDRA INSTITUTE LTD.

T +45 42 22 93 56
E janus.nielsen at alexandra.dk
W alexandra.dk
____________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.viff.dk/pipermail/viff-devel-viff.dk/attachments/20090622/b6da0e01/attachment.htm>


More information about the viff-devel mailing list