]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Fix comment.
authorNiels Möller <nisse@lysator.liu.se>
Sat, 24 Sep 2022 08:49:57 +0000 (10:49 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Mon, 6 Feb 2023 19:20:01 +0000 (20:20 +0100)
ocb.c

diff --git a/ocb.c b/ocb.c
index 37f821f79e85a9bb06e209b2fa2cb732671e6d0a..40ad4aa7deab29bc35aef6e3d5bd0e6bf6d37fb4 100644 (file)
--- a/ocb.c
+++ b/ocb.c
@@ -79,7 +79,7 @@ ocb_set_key (struct ocb_key *key, const void *cipher, nettle_cipher_func *f)
   block16_mulx_be (&key->L[2], &key->L[1]);
 }
 
-/* Add x^k L[2], where k is the number of trailing bits in i. */
+/* Add x^k L[2], where k is the number of trailing zero bits in i. */
 static void
 update_offset(const struct ocb_key *key,
              union nettle_block16 *offset, size_t i)