viff

changeset 1499:24cee22d06bc

BeDOZa: Nicer layout.
author Janus Dam Nielsen <janus.nielsen@alexandra.dk>
date Thu, 15 Jul 2010 11:37:46 +0200
parents 9432d8d0d17e
children 74ad8413cc11
files viff/bedoza.py
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/viff/bedoza.py	Thu Jul 15 11:37:33 2010 +0200
     1.2 +++ b/viff/bedoza.py	Thu Jul 15 11:37:46 2010 +0200
     1.3 @@ -485,7 +485,10 @@
     1.4          return x.sub_public(c, self.id)
     1.5  
     1.6      def _wrap_in_share(self, shareContents, field):
     1.7 -        return BeDOZaShare(self, field, shareContents.get_value(), shareContents.get_keys(), shareContents.get_macs())
     1.8 +        return BeDOZaShare(self, field,
     1.9 +                           shareContents.get_value(),
    1.10 +                           shareContents.get_keys(),
    1.11 +                           shareContents.get_macs())
    1.12  
    1.13      def _minus_public_left(self, x, c, field):
    1.14          y = self._constant_multiply(x, field(-1))