projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3023b5b
)
crypto: caam - remove unused keylen from session context
author
Kim Phillips
<kim.phillips@freescale.com>
Mon, 2 May 2011 23:27:41 +0000
(18:27 -0500)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Wed, 4 May 2011 05:15:05 +0000
(15:15 +1000)
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamalg.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/caam/caamalg.c
b/drivers/crypto/caam/caamalg.c
index
245cfe4
..
5c16019
100644
(file)
--- 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;