]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[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)
commitd00aa19b507b39ee9a680d0d2ac2ae483686453a
tree87c4ad0b7aeee3524beec9f6b96fff0a84ec5dd8
parent9ffde35a8edd3486cd7c80af931c15cec99a1a0d
[CRYPTO] gcm: Allow block cipher parameter

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>
crypto/gcm.c