diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2007-11-06 22:05:36 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-01-11 08:16:07 +1100 |
commit | 0af26d2d9ebe99763e31c1a06bb4e3f0166a5149 (patch) | |
tree | 9340b971b76603a04dd78ec2a19d78dd8cef53cd /crypto/hash.c | |
parent | c9db6c1ced2e0508e76dd771b883fc02e42c5594 (diff) | |
download | linux-crypto-0af26d2d9ebe99763e31c1a06bb4e3f0166a5149.tar.gz linux-crypto-0af26d2d9ebe99763e31c1a06bb4e3f0166a5149.zip |
[CRYPTO] camellia: Code cleanup
Rename some macros to shorter names: CAMELLIA_RR8 -> ROR8,
making it easier to understand that it is just a right rotation,
nothing camellia-specific in it.
CAMELLIA_SUBKEY_L() -> SUBKEY_L() - just shorter.
Move be32 <-> cpu conversions out of en/decrypt128/256 and into
camellia_en/decrypt - no reason to have that code duplicated twice.
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/hash.c')
0 files changed, 0 insertions, 0 deletions