]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0dc6a175c7e5be99be519677eff7021b139f2094
tree6600dbcdb996b93d2a731cea4ae9bce28e77e507
parentb0792dadffe9a9de5d96060109fb68232c408252
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