summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/caam
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2011-05-15 05:08:11 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2011-05-19 06:37:59 +0200
commit66664487b137d71fd43667ac2a6a90970a040eb7 (patch)
tree8b8a40f43f78d95bd6613caa53d24f7d39d2757e /drivers/crypto/caam
parentcrypto: caam - fix decryption shared vs. non-shared key setting (diff)
downloadlinux-66664487b137d71fd43667ac2a6a90970a040eb7.tar.xz
linux-66664487b137d71fd43667ac2a6a90970a040eb7.zip
crypto: caam - remove unused authkeylen from caam_ctx
Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam')
-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 4c69ba79f900..672abf35d037 100644
--- a/drivers/crypto/caam/caamalg.c
+++ b/drivers/crypto/caam/caamalg.c
@@ -83,7 +83,6 @@ struct caam_ctx {
u8 *key;
dma_addr_t key_phys;
unsigned int enckeylen;
- unsigned int authkeylen;
unsigned int split_key_len;
unsigned int split_key_pad_len;
unsigned int authsize;
@@ -330,7 +329,6 @@ static int aead_authenc_setkey(struct crypto_aead *aead,
#endif
ctx->enckeylen = enckeylen;
- ctx->authkeylen = authkeylen;
ret = build_sh_desc_ipsec(ctx);
if (ret) {