summaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2011-05-03 01:27:41 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2011-05-04 07:15:05 +0200
commit701af31ce0cc6a1114001d792c21108c7f49ac86 (patch)
tree4ef7482c657dcaf8f2b59fdcd3821fe7f61c2743 /drivers/crypto
parenthwrng: amd - enable AMD hw rnd driver for Maple PPC boards (diff)
downloadlinux-701af31ce0cc6a1114001d792c21108c7f49ac86.tar.xz
linux-701af31ce0cc6a1114001d792c21108c7f49ac86.zip
crypto: caam - remove unused keylen from session context
Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/caam/caamalg.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/crypto/caam/caamalg.c b/drivers/crypto/caam/caamalg.c
index 245cfe42a8ff..5c16019cf306 100644
--- a/drivers/crypto/caam/caamalg.c
+++ b/drivers/crypto/caam/caamalg.c
@@ -82,7 +82,6 @@ struct caam_ctx {
u32 alg_op;
u8 *key;
dma_addr_t key_phys;
- unsigned int keylen;
unsigned int enckeylen;
unsigned int authkeylen;
unsigned int split_key_len;
@@ -330,7 +329,6 @@ static int aead_authenc_setkey(struct crypto_aead *aead,
ctx->split_key_pad_len + enckeylen, 1);
#endif
- ctx->keylen = keylen;
ctx->enckeylen = enckeylen;
ctx->authkeylen = authkeylen;