summaryrefslogtreecommitdiff
path: root/cast128.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2010-07-24 18:07:13 +0200
committerNiels Möller <nisse@lysator.liu.se>2010-07-24 18:07:13 +0200
commit38606a3818c31ffb8f46482981140cd0fc5823d1 (patch)
treeb8610db0f74cf45e8493dcfec4f94d5533ba07aa /cast128.c
parentc1552ab2821946603a57e0fc4a35cb1afb20454b (diff)
downloadnettle-38606a3818c31ffb8f46482981140cd0fc5823d1.tar.gz
Added FIXME comment.
Rev: nettle/cast128.c:1.3
Diffstat (limited to 'cast128.c')
-rw-r--r--cast128.c2
1 files changed, 2 insertions, 0 deletions
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) {