Files
ubports_kernel_google_msm/crypto
Denys Vlasenko 1721a81256 [CRYPTO] camellia: Code cleanup
Move code blocks around so that related pieces are closer together:
e.g. CAMELLIA_ROUNDSM macro does not need to be separated
from the rest of the code by huge array of constants.

Remove unused macros (COPY4WORD, SWAP4WORD, XOR4WORD[2])

Drop SUBL(), SUBR() macros which only obscure things.
Same for CAMELLIA_SP1110() macro and KEY_TABLE_TYPE typedef.

Remove useless comments:
/* encryption */ -- well it's obvious enough already!
void camellia_encrypt128(...)

Combine swap with copying at the beginning/end of encrypt/decrypt.

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>
2008-01-11 08:16:06 +11:00
..
2007-10-10 16:55:39 -07:00
2007-11-02 08:47:06 +01:00
2007-11-02 08:47:06 +01:00
2008-01-11 08:16:06 +11:00
2007-11-02 08:47:06 +01:00
2007-10-22 19:40:16 +02:00
2007-10-10 16:55:44 -07:00
2007-11-02 08:47:06 +01:00
2007-10-10 16:55:38 -07:00
2006-10-10 16:15:33 -07:00
2007-11-02 08:47:06 +01:00
2007-11-02 08:47:06 +01:00
2007-11-02 08:47:06 +01:00
2006-09-21 11:16:28 +10:00
2007-11-02 08:47:06 +01:00
2007-10-22 19:40:16 +02:00
2007-07-13 08:06:14 -07:00