[PATCH v4] crypto: add support for Orion5X crypto engine

2009-08-05 Thread Sebastian Andrzej Siewior
From: Sebastian Andrzej Siewior sebast...@breakpoint.cc This adds support for Marvell's Cryptographic Engines and Security Accelerator (CESA) which can be found on a few SoC. Tested with dm-crypt. Acked-by: Nicolas Pitre n...@marvell.com Signed-off-by: Sebastian Andrzej Siewior

Re: [PATCH -v2 2/5] crypto: Use GHASH digest algorithm in GCM

2009-08-05 Thread Herbert Xu
On Mon, Aug 03, 2009 at 03:45:28PM +0800, Huang Ying wrote: Remove the dedicated GHASH implementation in GCM, and uses the GHASH digest algorithm instead. This will make GCM uses hardware accelerated GHASH implementation automatically if available. ahash instead of shash interface is used,

Re: [PATCH -v2 3/5] crypto: cryptd: Add support to access underlaying shash

2009-08-05 Thread Herbert Xu
On Mon, Aug 03, 2009 at 03:45:29PM +0800, Huang Ying wrote: cryptd_alloc_ahash() will allocate a cryptd-ed ahash for specified algorithm name. The new allocated one is guaranteed to be cryptd-ed ahash, so the shash underlying can be gotten via cryptd_ahash_child(). Signed-off-by: Huang Ying