From 38606a3818c31ffb8f46482981140cd0fc5823d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Sat, 24 Jul 2010 18:07:13 +0200 Subject: [PATCH] Added FIXME comment. Rev: nettle/cast128.c:1.3 --- cast128.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cast128.c b/cast128.c index e4ca0cbb..884cfa71 100644 --- 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) { -- GitLab