projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ca5f5f
)
misc/simulators/hashbasedsig.py: fix an incorrect comment.
author
Daira Hopwood
<daira@jacaranda.org>
Tue, 25 Feb 2014 00:58:38 +0000
(
00:58
+0000)
committer
Daira 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
patch
|
blob
|
history
diff --git
a/misc/simulators/hashbasedsig.py
b/misc/simulators/hashbasedsig.py
index 640331aec7d4d8d39ccaca4446d322d145368db3..36eed3a0502a8957998dcee90b45fc3befee1813 100644
(file)
--- a/
misc/simulators/hashbasedsig.py
+++ b/
misc/simulators/hashbasedsig.py
@@
-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-outpu
ts
+# number of compression function evaluations to hash k
bi
ts
# we assume that there is a label in each block
def compressions(k):
return ceil_div(k + L_pad, L_block - L_label)