]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Added FIXME comment.
authorNiels Möller <nisse@lysator.liu.se>
Sat, 24 Jul 2010 16:07:13 +0000 (18:07 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Sat, 24 Jul 2010 16:07:13 +0000 (18:07 +0200)
Rev: nettle/cast128.c:1.3

cast128.c

index e4ca0cbb4eb602ee639f02189d09230e04f93605..884cfa71b105ee8ae092886f11358c5d3072f6fd 100644 (file)
--- a/cast128.c
+++ b/cast128.c
@@ -178,6 +178,8 @@ cast128_set_key(struct cast128_ctx *ctx,
     if ((i*4+2) < keybytes) x[i] |= (uint32_t)rawkey[i*4+2] << 8;
     if ((i*4+3) < keybytes) x[i] |= (uint32_t)rawkey[i*4+3];
   }
+  /* FIXME: For the shorter key sizes, the last 4 subkeys are not
+     used, and need not be generatedd, nor stored. */
   /* Generate 32 subkeys, four at a time */
   for (i = 0; i < 32; i+=4) {
     switch (i & 4) {