cifs: Only select the required crypto modules
authorJean Delvare <jdelvare@suse.de>
Wed, 25 Jan 2017 15:08:17 +0000 (16:08 +0100)
committerSteve French <smfrench@gmail.com>
Wed, 1 Feb 2017 22:46:34 +0000 (16:46 -0600)
commit3692304bba6164be3810afd41b84ecb0e1e41db1
treeb92e5cd35693c3e1b0e1588058ed170ba5b6c854
parentc1ecea87471bbb614f8121e00e5787f363140365
cifs: Only select the required crypto modules

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: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Steve French <sfrench@samba.org>
fs/cifs/Kconfig