[CRYPTO] camellia: De-unrolling
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 6 Nov 2007 14:15:19 +0000 (22:15 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jan 2008 21:16:08 +0000 (08:16 +1100)
commitd3e7480572bf882dee5baa2891bccbfa3db0b1a1
tree40281dcc543e1b76b835b4f63a6feadcc9720166
parent1ce73e8d6d95ceb860184c34fa1a91a82e51cbb3
[CRYPTO] camellia: De-unrolling

Move huge unrolled pieces of code (3 screenfuls) at the end of
128/256 key setup routines into common camellia_setup_tail(),
convert it to loop there.
Loop is still unrolled six times, so performance hit is very small,
code size win is big.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Acked-by: Noriaki TAKAMIYA <takamiya@po.ntts.co.jp>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/camellia.c