summaryrefslogtreecommitdiff
path: root/crypto/tcrypt.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2007-11-06 22:13:40 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2008-01-11 08:16:07 +1100
commit1ce73e8d6d95ceb860184c34fa1a91a82e51cbb3 (patch)
tree9c6c9b99f46b74f329e4ad850273c023b85f78c0 /crypto/tcrypt.c
parent3a5e5f8108fe440657e8041afd973d2fe72180bb (diff)
[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>
Diffstat (limited to 'crypto/tcrypt.c')
0 files changed, 0 insertions, 0 deletions