[CRYPTO] gcm: Allow block cipher parameter
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 7 Dec 2007 12:31:10 +0000 (20:31 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jan 2008 21:16:47 +0000 (08:16 +1100)
This patch adds the gcm_base template which takes a block cipher
parameter instead of cipher.  This allows the user to specify a
specific CTR implementation.

This also fixes a leak of the cipher algorithm that was previously
looked up but never freed.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

No differences found