changeset 1150:3ed76dce61d6

Removed obsolete comments.
author Martin Geisler <mg@daimi.au.dk>
date Fri, 27 Mar 2009 14:18:47 +0100
parents e2759515f57f
children 56f0b5a1b41e
files viff/config.py viff/prss.py
diffstat 2 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/viff/config.py	Thu Mar 05 21:02:57 2009 +0100
+++ b/viff/config.py	Fri Mar 27 14:18:47 2009 +0100
@@ -69,8 +69,6 @@
             for subset, key in self.keys.iteritems():
                 prfs[subset] = PRF(key, modulus)
             self.prfs_cache[modulus] = prfs
-        # TODO: the PRFs ought to be cached
-        # Yes, they probably should.
         return prfs
 
     def dealer_prfs(self, modulus):
--- a/viff/prss.py	Thu Mar 05 21:02:57 2009 +0100
+++ b/viff/prss.py	Fri Mar 27 14:18:47 2009 +0100
@@ -80,8 +80,6 @@
     result = 0
     all = frozenset(range(1, n+1))
     for subset, share in rep_shares:
-        # TODO: should we cache the f_in_j values?
-        # Yes, we probably should.
         if ((field, n, j, subset) in _f_in_j_cache):
             f_in_j = _f_in_j_cache[(field, n, j, subset)]
         else: