commit | d00aa19b507b39ee9a680d0d2ac2ae483686453a | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Fri Dec 07 20:31:10 2007 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Jan 11 08:16:47 2008 +1100 |
tree | 87c4ad0b7aeee3524beec9f6b96fff0a84ec5dd8 | |
parent | 9ffde35a8edd3486cd7c80af931c15cec99a1a0d [diff] |
[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>