diff options
author | Niels Möller <nisse@lysator.liu.se> | 2010-07-24 18:07:13 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2010-07-24 18:07:13 +0200 |
commit | 38606a3818c31ffb8f46482981140cd0fc5823d1 (patch) | |
tree | b8610db0f74cf45e8493dcfec4f94d5533ba07aa /cast128.c | |
parent | c1552ab2821946603a57e0fc4a35cb1afb20454b (diff) | |
download | nettle-38606a3818c31ffb8f46482981140cd0fc5823d1.tar.gz |
Added FIXME comment.
Rev: nettle/cast128.c:1.3
Diffstat (limited to 'cast128.c')
-rw-r--r-- | cast128.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) { |