]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
misc/simulators/hashbasedsig.py: fix an incorrect comment.
authorDaira Hopwood <daira@jacaranda.org>
Tue, 25 Feb 2014 00:58:38 +0000 (00:58 +0000)
committerDaira Hopwood <daira@jacaranda.org>
Tue, 25 Feb 2014 00:58:54 +0000 (00:58 +0000)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
misc/simulators/hashbasedsig.py

index 640331aec7d4d8d39ccaca4446d322d145368db3..36eed3a0502a8957998dcee90b45fc3befee1813 100644 (file)
@@ -34,7 +34,7 @@ def ceil_div(x, y):
 def floor_div(x, y):
     return int(floor(float(x) / float(y)))
 
-# number of compression function evaluations to hash k hash-outputs
+# number of compression function evaluations to hash k bits
 # we assume that there is a label in each block
 def compressions(k):
     return ceil_div(k + L_pad, L_block - L_label)