viff

changeset 1390:b4b94221beee

active: more precise docstring
author Martin Geisler <mg@cs.au.dk>
date Thu, 05 Nov 2009 12:03:59 +0100
parents eb56e865f32b
children 866a0167ddeb
files viff/active.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/viff/active.py	Thu Nov 05 11:29:48 2009 +0100
     1.2 +++ b/viff/active.py	Thu Nov 05 12:03:59 2009 +0100
     1.3 @@ -193,7 +193,7 @@
     1.4          expected degree.
     1.5  
     1.6          If the verification succeeds, the T shares are returned,
     1.7 -        otherwise the errback is called.
     1.8 +        otherwise an exception is thrown.
     1.9          """
    1.10          shares = map(lambda (i, s): (field(i+1), s), enumerate(shares))
    1.11          assert shamir.verify_sharing(shares, degree), \
    1.12 @@ -208,7 +208,7 @@
    1.13          same value.
    1.14  
    1.15          If the verification succeeds, the T double shares are
    1.16 -        returned, otherwise the errback is called.
    1.17 +        returned, otherwise an exception is thrown.
    1.18          """
    1.19          si_1, si_2 = shares
    1.20          self._verify_single(si_1, rvec1, T, field, d1)