[CRYPTO] camellia: Code cleanup
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 6 Nov 2007 14:13:40 +0000 (22:13 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jan 2008 21:16:07 +0000 (08:16 +1100)
commit1ce73e8d6d95ceb860184c34fa1a91a82e51cbb3
tree9c6c9b99f46b74f329e4ad850273c023b85f78c0
parent3a5e5f8108fe440657e8041afd973d2fe72180bb
[CRYPTO] camellia: Code cleanup

Optimize GETU32 to use 4-byte memcpy (modern gcc will convert
such memcpy to single move instruction on i386).
Original GETU32 did four byte fetches, and shifted/XORed those.

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