crypto: camellia - Use kernel-provided bitops, unaligned access helpers
authorHarvey Harrison <harvey.harrison@gmail.com>
Fri, 4 Jul 2008 11:42:24 +0000 (19:42 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jul 2008 12:35:17 +0000 (20:35 +0800)
commitbd699f2df6dbc2f4cba528fe598bd63a4d3702c5
tree6600dbcdb996b93d2a731cea4ae9bce28e77e507
parentebbcf3369224ae7d23bfee06d8c5ea87a9541db5
crypto: camellia - Use kernel-provided bitops, unaligned access helpers

Remove the private implementation of 32-bit rotation and unaligned
access with byteswapping.

As a bonus, fixes sparse warnings:
crypto/camellia.c:602:2: warning: cast to restricted __be32
crypto/camellia.c:603:2: warning: cast to restricted __be32
crypto/camellia.c:604:2: warning: cast to restricted __be32
crypto/camellia.c:605:2: warning: cast to restricted __be32
crypto/camellia.c:710:2: warning: cast to restricted __be32
crypto/camellia.c:711:2: warning: cast to restricted __be32
crypto/camellia.c:712:2: warning: cast to restricted __be32
crypto/camellia.c:713:2: warning: cast to restricted __be32
crypto/camellia.c:714:2: warning: cast to restricted __be32
crypto/camellia.c:715:2: warning: cast to restricted __be32
crypto/camellia.c:716:2: warning: cast to restricted __be32
crypto/camellia.c:717:2: warning: cast to restricted __be32

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/camellia.c