Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ksmbd: Remove unnecessary selection of CRYPTO_ECB

Since the SMB server never uses any ecb(...) algorithm from the
crypto_skcipher API, selecting CRYPTO_ECB is unnecessary.

Remove it along with the unused CRYPTO_BLK_* constants.

Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>

authored by

Eric Biggers and committed by
Steve French
1c137636 49110a8c

-7
-1
fs/smb/server/Kconfig
··· 7 7 select NLS_UTF8 8 8 select NLS_UCS2_UTILS 9 9 select CRYPTO 10 - select CRYPTO_ECB 11 10 select CRYPTO_LIB_ARC4 12 11 select CRYPTO_LIB_DES 13 12 select CRYPTO_LIB_MD5
-5
fs/smb/server/crypto_ctx.h
··· 20 20 CRYPTO_AEAD_MAX, 21 21 }; 22 22 23 - enum { 24 - CRYPTO_BLK_ECBDES = 32, 25 - CRYPTO_BLK_MAX, 26 - }; 27 - 28 23 struct ksmbd_crypto_ctx { 29 24 struct list_head list; 30 25
-1
fs/smb/server/server.c
··· 629 629 MODULE_AUTHOR("Namjae Jeon <linkinjeon@kernel.org>"); 630 630 MODULE_DESCRIPTION("Linux kernel CIFS/SMB SERVER"); 631 631 MODULE_LICENSE("GPL"); 632 - MODULE_SOFTDEP("pre: ecb"); 633 632 MODULE_SOFTDEP("pre: nls"); 634 633 MODULE_SOFTDEP("pre: aes"); 635 634 MODULE_SOFTDEP("pre: cmac");