Skip to content

Commit 314ef7f

Browse files
Eric Biggerssmfrench
authored andcommitted
smb: client: Remove unnecessary selection of CRYPTO_ECB
Since the SMB client never uses any ecb(...) algorithm from the crypto_skcipher API, selecting CRYPTO_ECB is unnecessary. Specifically, it has been unnecessary since commit 06deeec ("cifs: Fix smbencrypt() to stop pointing a scatterlist at the stack") in 2016. Signed-off-by: Eric Biggers <ebiggers@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
1 parent 59ea368 commit 314ef7f

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

fs/smb/client/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ config CIFS
99
select CRYPTO_AEAD2
1010
select CRYPTO_CCM
1111
select CRYPTO_GCM
12-
select CRYPTO_ECB
1312
select CRYPTO_AES
1413
select CRYPTO_LIB_ARC4
1514
select CRYPTO_LIB_MD5

fs/smb/client/cifsfs.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2154,7 +2154,6 @@ MODULE_DESCRIPTION
21542154
("VFS to access SMB3 servers e.g. Samba, Macs, Azure and Windows (and "
21552155
"also older servers complying with the SNIA CIFS Specification)");
21562156
MODULE_VERSION(CIFS_VERSION);
2157-
MODULE_SOFTDEP("ecb");
21582157
MODULE_SOFTDEP("nls");
21592158
MODULE_SOFTDEP("aes");
21602159
MODULE_SOFTDEP("cmac");

0 commit comments

Comments
 (0)