diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-10-12 20:40:12 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-12-25 11:01:15 +1100 |
commit | 32bd78e0a5d34cd8e34046502bddcf31aeb38e64 (patch) | |
tree | 28d8ad92b77bafd4217832123e17a3225ddbbea6 /ipc | |
parent | d12d6b6d37cad766b390467e770eb0ab81345d78 (diff) | |
download | op-kernel-dev-32bd78e0a5d34cd8e34046502bddcf31aeb38e64.zip op-kernel-dev-32bd78e0a5d34cd8e34046502bddcf31aeb38e64.tar.gz |
crypto: camellia - use kernel-provided bitops, unaligned access
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
[Thanks to Tomoyuki Okazaki for spotting the typo]
Tested-by: Carlo E. Prelz <fluido@fluido.as>
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions