Commit aae2e6a1 authored by Jean Delvare's avatar Jean Delvare Committed by Thadeu Lima de Souza Cascardo

cifs: Only select the required crypto modules

BugLink: http://bugs.launchpad.net/bugs/1670508

The sha256 and cmac crypto modules are only needed for SMB2+, so move
the select statements to config CIFS_SMB2. Also select CRYPTO_AES
there as SMB2+ needs it.
Reviewed-by: default avatarPavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: default avatarJean Delvare <jdelvare@suse.de>
Cc: Steve French <sfrench@samba.org>
(cherry picked from commit 3692304b)
Signed-off-by: default avatarJoseph Salisbury <joseph.salisbury@canonical.com>
parent 6905de7a
...@@ -9,8 +9,6 @@ config CIFS ...@@ -9,8 +9,6 @@ config CIFS
select CRYPTO_ARC4 select CRYPTO_ARC4
select CRYPTO_ECB select CRYPTO_ECB
select CRYPTO_DES select CRYPTO_DES
select CRYPTO_SHA256
select CRYPTO_CMAC
help help
This is the client VFS module for the Common Internet File System This is the client VFS module for the Common Internet File System
(CIFS) protocol which is the successor to the Server Message Block (CIFS) protocol which is the successor to the Server Message Block
...@@ -173,6 +171,9 @@ config CIFS_SMB2 ...@@ -173,6 +171,9 @@ config CIFS_SMB2
select KEYS select KEYS
select FSCACHE select FSCACHE
select DNS_RESOLVER select DNS_RESOLVER
select CRYPTO_AES
select CRYPTO_SHA256
select CRYPTO_CMAC
help help
This enables support for the Server Message Block version 2 This enables support for the Server Message Block version 2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment