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 | 3a5e5f8108fe440657e8041afd973d2fe72180bb (patch) | |
tree | 3038a3aef4b3d75f02636eae7f7a47f29bebaa90 /include/net | |
parent | 1721a81256ed7f7bfdd1a721f3a6c9c85efeac53 (diff) |
[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 'include/net')
0 files changed, 0 insertions, 0 deletions