From: Denys Vlasenko Date: Tue, 6 Nov 2007 14:05:36 +0000 (+0800) Subject: [CRYPTO] camellia: Code cleanup X-Git-Tag: v2.6.25-rc1~1242^2~113 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a5e5f8108fe440657e8041afd973d2fe72180bb;p=pandora-kernel.git [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 Acked-by: Noriaki TAKAMIYA Signed-off-by: Herbert Xu --- Reading git-diff-tree failed