diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-07-04 19:42:24 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-07-10 20:35:17 +0800 |
commit | 9c770d77eb33f78452c9fad79fd84df279cad27d (patch) | |
tree | 00d322f4a399c128e01836b83cc6adcc60a9c8d5 /crypto/internal.h | |
parent | 2a5b3098e64ce75b01559789b542038b5ae8f945 (diff) | |
download | linux-crypto-9c770d77eb33f78452c9fad79fd84df279cad27d.tar.gz linux-crypto-9c770d77eb33f78452c9fad79fd84df279cad27d.zip |
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>
Diffstat (limited to 'crypto/internal.h')
0 files changed, 0 insertions, 0 deletions