Skip to content

Commit

Permalink
crypto: caam - remove unused keylen from session context
Browse files Browse the repository at this point in the history
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
Kim Phillips authored and Herbert Xu committed May 4, 2011
1 parent 3023b5b commit 701af31
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/crypto/caam/caamalg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 701af31

Please sign in to comment.