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 wrap: on
line diff
--- a/viff/active.py	Thu Nov 05 11:29:48 2009 +0100
+++ b/viff/active.py	Thu Nov 05 12:03:59 2009 +0100
@@ -193,7 +193,7 @@
         expected degree.
 
         If the verification succeeds, the T shares are returned,
-        otherwise the errback is called.
+        otherwise an exception is thrown.
         """
         shares = map(lambda (i, s): (field(i+1), s), enumerate(shares))
         assert shamir.verify_sharing(shares, degree), \
@@ -208,7 +208,7 @@
         same value.
 
         If the verification succeeds, the T double shares are
-        returned, otherwise the errback is called.
+        returned, otherwise an exception is thrown.
         """
         si_1, si_2 = shares
         self._verify_single(si_1, rvec1, T, field, d1)