viff

changeset 1478:71012e8c4be5

BeDOZa: Removed wrong comment.
author Janus Dam Nielsen <janus.nielsen@alexandra.dk>
date Wed, 07 Jul 2010 16:31:50 +0200
parents 9b133830f06a
children aa1c7d6c98ca
files viff/bedoza.py
diffstat 1 files changed, 1 insertions(+), 9 deletions(-) [+]
line diff
     1.1 --- a/viff/bedoza.py	Wed Jul 07 16:30:01 2010 +0200
     1.2 +++ b/viff/bedoza.py	Wed Jul 07 16:31:50 2010 +0200
     1.3 @@ -201,15 +201,7 @@
     1.4          return self.open(share, receivers)
     1.5  
     1.6      def open(self, share, receivers=None):
     1.7 -        """Share reconstruction.
     1.8 - 
     1.9 -        Every partyi broadcasts a share pair ``(x_i', rho_x,i')``.
    1.10 -
    1.11 -        The parties compute the sums ``x'``, ``rho_x'`` and check
    1.12 -        ``Com_ck(x',rho_x') = C_x``.
    1.13 -
    1.14 -        If yes, return ``x = x'``, else else return :const:`None`.
    1.15 -        """
    1.16 +        """Share reconstruction."""
    1.17          assert isinstance(share, Share)
    1.18          # all players receive result by default
    1.19          if receivers is None: