misc/simulators/hashbasedsig.py: fix an incorrect comment.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2014-02-25 00:58:38 +00:00
parent 6ca5f5fc39
commit 946a9f9ddd

View 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)