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

From: Herbert Xu
Date: Thu Aug 06 2009 - 01:34:48 EST


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, because some hardware
> accelerated GHASH implementation needs asynchronous interface.
>
> v2:
> - Add parameter to gcm_base to choose ghash implementation.
> - Fix a memory leak about gcm_zeros (Thanks Sebastian)
> - Some minor fixes
>
> Signed-off-by: Huang Ying <ying.huang@xxxxxxxxx>

Patch applied.
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/