summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2022-09-24 10:49:57 +0200
committerNiels Möller <nisse@lysator.liu.se>2023-02-06 20:20:01 +0100
commit58f2d03c446490ec2daabd30a1b995500c8ae9c4 (patch)
tree3fbefb000fa4b1ea47906bda2db6cdcd500e4a62
parent1a99a80c1aa3b5fda73689adc6d9c0f5a05c4bb6 (diff)
downloadnettle-58f2d03c446490ec2daabd30a1b995500c8ae9c4.tar.gz
Fix comment.
-rw-r--r--ocb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ocb.c b/ocb.c
index 37f821f7..40ad4aa7 100644
--- 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)