viff

changeset 1488:cfcfb46f9450

BeDOZa: Added documentation of dummy implementation.
author Janus Dam Nielsen <janus.nielsen@alexandra.dk>
date Mon, 12 Jul 2010 11:34:44 +0200
parents c6f29ad5c91e
children f3c3dba59fd8
files viff/bedoza.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/viff/bedoza.py	Mon Jul 12 11:33:09 2010 +0200
     1.2 +++ b/viff/bedoza.py	Mon Jul 12 11:34:44 2010 +0200
     1.3 @@ -114,7 +114,8 @@
     1.4          return str(self)
     1.5      
     1.6  class RandomShareGenerator:
     1.7 -
     1.8 +    """ TODO: This is a dummy implementation, and should be replaced with proper code."""
     1.9 +    
    1.10      def generate_random_shares(self, field, number_of_shares):
    1.11          self.init_keys(field)
    1.12          shares = []
    1.13 @@ -500,6 +501,7 @@
    1.14          return (zi, zks, zms)
    1.15  
    1.16      def _get_triple(self, field):
    1.17 +        """ TODO: This is a dummy implementation, and should be replaced with proper code."""
    1.18          self.init_keys(field)
    1.19          a, b, c = 0, 0, 0
    1.20          share_a = field(2)