summaryrefslogtreecommitdiff
path: root/drivers/crypto/ccree
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <linux@treblig.org>2024-05-11 17:52:00 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2024-05-31 12:34:56 +0300
commite793f6c4dabe56cb8b93db26bbfcfba2a65f7215 (patch)
treea411993fcad3bbfa770d682b44be247560883c7b /drivers/crypto/ccree
parent2dcdf3be65e968b4a67209a825a69b098e73cb25 (diff)
downloadlinux-e793f6c4dabe56cb8b93db26bbfcfba2a65f7215.tar.xz
crypto: ccree - Remove unused struct 'tdes_keys'
'tdes_keys' appears unused. Remove it. Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Acked-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ccree')
-rw-r--r--drivers/crypto/ccree/cc_cipher.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/crypto/ccree/cc_cipher.c b/drivers/crypto/ccree/cc_cipher.c
index cd66a580e8b6..3fb667a17bbb 100644
--- a/drivers/crypto/ccree/cc_cipher.c
+++ b/drivers/crypto/ccree/cc_cipher.c
@@ -261,12 +261,6 @@ static void cc_cipher_exit(struct crypto_tfm *tfm)
kfree_sensitive(ctx_p->user.key);
}
-struct tdes_keys {
- u8 key1[DES_KEY_SIZE];
- u8 key2[DES_KEY_SIZE];
- u8 key3[DES_KEY_SIZE];
-};
-
static enum cc_hw_crypto_key cc_slot_to_hw_key(u8 slot_num)
{
switch (slot_num) {