[PATCH v2 04/30] crypto: sa2ul - remove unused context fields

From: Manorit Chawdhry

Date: Wed Nov 04 2026 - 00:48:49 EST


Remove unused context fields, their assignments and kernel-doc.

Signed-off-by: Manorit Chawdhry <m-chawdhry@xxxxxx>
---
drivers/crypto/sa2ul.h | 4 ----
1 file changed, 4 deletions(-)

diff --git a/drivers/crypto/sa2ul.h b/drivers/crypto/sa2ul.h
index dad60aa77d1a..ebaf10cd7dd4 100644
--- a/drivers/crypto/sa2ul.h
+++ b/drivers/crypto/sa2ul.h
@@ -279,18 +279,14 @@ struct sa_ctx_info {
* @dev_data: struct sa_crypto_data pointer
* @enc: struct sa_ctx_info for encryption
* @dec: struct sa_ctx_info for decryption
- * @keylen: encrption/decryption keylength
* @iv_idx: Initialization vector index
- * @key: encryption key
* @fallback: SW fallback algorithm
*/
struct sa_tfm_ctx {
struct sa_crypto_data *dev_data;
struct sa_ctx_info enc;
struct sa_ctx_info dec;
- int keylen;
int iv_idx;
- u32 key[AES_KEYSIZE_256 / sizeof(u32)];
/* for fallback */
union {
struct crypto_skcipher *skcipher;

--
2.43.0