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/.

Attachment: pgphQleYB548n.pgp
Description: PGP signature

viff-devel mailing list (http://viff.dk/)

Reply via email to