gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] manuscripts/Sigs poss.py


From: Benja Fallenstein
Subject: [Gzz-commits] manuscripts/Sigs poss.py
Date: Mon, 19 May 2003 13:26:12 -0400

CVSROOT:        /cvsroot/gzz
Module name:    manuscripts
Changes by:     Benja Fallenstein <address@hidden>      03/05/19 13:26:12

Modified files:
        Sigs           : poss.py 

Log message:
        another error in reyzin_merkled

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/manuscripts/Sigs/poss.py.diff?tr1=1.20&tr2=1.21&r1=text&r2=text

Patches:
Index: manuscripts/Sigs/poss.py
diff -u manuscripts/Sigs/poss.py:1.20 manuscripts/Sigs/poss.py:1.21
--- manuscripts/Sigs/poss.py:1.20       Mon May 19 13:17:22 2003
+++ manuscripts/Sigs/poss.py    Mon May 19 13:26:12 2003
@@ -34,7 +34,7 @@
 def reyzin(h,b,t,k):
     return 1, b, k*h, t*h, h, t, 1, 1+k
 def reyzin_merkled(h, b, t, k):
-    return 1, b, k*ceil(log2(t)), h, h, 2t-1, 1, 1 + k + k*ceil(log2(t))
+    return 1, b, k*ceil(log2(t))*h, h, h, 2*t-1, 1, 1 + k + k*ceil(log2(t))
 
 def times(j, S):
     return (j*S[0], S[1], S[2], j*S[3], S[4], j*S[5], S[6], S[7])




reply via email to

[Prev in Thread] Current Thread [Next in Thread]