cifs: Select all required crypto modules

Message ID 20171019200929.4055-1-benjamin.gilbert@coreos.com
State New
Headers show
Series
  • cifs: Select all required crypto modules
Related show

Commit Message

Benjamin Gilbert Oct. 19, 2017, 8:09 p.m.
Some dependencies were lost when CIFS_SMB2 was merged into CIFS.

Fixes: 2a38e12053b7 ("[SMB3] Remove ifdef since SMB3 (and later) now STRONGLY preferred")
Signed-off-by: Benjamin Gilbert <benjamin.gilbert@coreos.com>
---
 fs/cifs/Kconfig | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Aurélien Aptel Oct. 22, 2017, 9:14 a.m. | #1
Looks good to me.

Reviewed-by: Aurelien Aptel <aaptel@suse.com>

Patch

diff --git a/fs/cifs/Kconfig b/fs/cifs/Kconfig
index f7243617316c..d5b2e12b5d02 100644
--- a/fs/cifs/Kconfig
+++ b/fs/cifs/Kconfig
@@ -5,9 +5,14 @@  config CIFS
 	select CRYPTO
 	select CRYPTO_MD4
 	select CRYPTO_MD5
+	select CRYPTO_SHA256
+	select CRYPTO_CMAC
 	select CRYPTO_HMAC
 	select CRYPTO_ARC4
+	select CRYPTO_AEAD2
+	select CRYPTO_CCM
 	select CRYPTO_ECB
+	select CRYPTO_AES
 	select CRYPTO_DES
 	help
 	  This is the client VFS module for the SMB3 family of NAS protocols,