Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

crypto: caam - remove unused keylen from session context

parent 3023b5b6
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;