[CRYPTO] camellia: Move common code into camellia_setup_tail
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 23 Nov 2007 13:14:24 +0000 (21:14 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jan 2008 21:16:21 +0000 (08:16 +1100)
commitdedcf8b0647572ca00547efef58dfab6b8dddf83
tree88febb70f930871b46cde46848c0fc2484dc1017
parentacca79a664859e3ddaea87af86d4ccfb2e07cd65
[CRYPTO] camellia: Move common code into camellia_setup_tail

Move "key XOR is end of F-function" code part into
camellia_setup_tail(), it is sufficiently similar
between camellia_setup128 and camellia_setup256.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/camellia.c