Commit 38606a38 authored by Niels Möller's avatar Niels Möller

Added FIXME comment.

Rev: nettle/cast128.c:1.3
parent c1552ab2
...@@ -178,6 +178,8 @@ cast128_set_key(struct cast128_ctx *ctx, ...@@ -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+2) < keybytes) x[i] |= (uint32_t)rawkey[i*4+2] << 8;
if ((i*4+3) < keybytes) x[i] |= (uint32_t)rawkey[i*4+3]; 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 */ /* Generate 32 subkeys, four at a time */
for (i = 0; i < 32; i+=4) { for (i = 0; i < 32; i+=4) {
switch (i & 4) { switch (i & 4) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment