提交 701af31c 编写于 作者: K Kim Phillips 提交者: Herbert Xu

crypto: caam - remove unused keylen from session context

Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 3023b5b6
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册