Commit 701af31c authored by Kim Phillips's avatar Kim Phillips Committed by Herbert Xu

crypto: caam - remove unused keylen from session context

Signed-off-by: default avatarKim Phillips <kim.phillips@freescale.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 3023b5b6
...@@ -82,7 +82,6 @@ struct caam_ctx { ...@@ -82,7 +82,6 @@ struct caam_ctx {
u32 alg_op; u32 alg_op;
u8 *key; u8 *key;
dma_addr_t key_phys; dma_addr_t key_phys;
unsigned int keylen;
unsigned int enckeylen; unsigned int enckeylen;
unsigned int authkeylen; unsigned int authkeylen;
unsigned int split_key_len; unsigned int split_key_len;
...@@ -330,7 +329,6 @@ static int aead_authenc_setkey(struct crypto_aead *aead, ...@@ -330,7 +329,6 @@ static int aead_authenc_setkey(struct crypto_aead *aead,
ctx->split_key_pad_len + enckeylen, 1); ctx->split_key_pad_len + enckeylen, 1);
#endif #endif
ctx->keylen = keylen;
ctx->enckeylen = enckeylen; ctx->enckeylen = enckeylen;
ctx->authkeylen = authkeylen; ctx->authkeylen = authkeylen;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment