From: Daira Hopwood Date: Tue, 25 Feb 2014 00:58:38 +0000 (+0000) Subject: misc/simulators/hashbasedsig.py: fix an incorrect comment. X-Git-Tag: allmydata-tahoe-1.10.1a1~199 X-Git-Url: https://git.rkrishnan.org/?a=commitdiff_plain;h=946a9f9ddd6ac6b91604e98f42d635ff3b315e24;p=tahoe-lafs%2Ftahoe-lafs.git misc/simulators/hashbasedsig.py: fix an incorrect comment. Signed-off-by: Daira Hopwood --- diff --git a/misc/simulators/hashbasedsig.py b/misc/simulators/hashbasedsig.py index 640331ae..36eed3a0 100644 --- 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-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)