summaryrefslogtreecommitdiffstats
path: root/fs/cifs
diff options
context:
space:
mode:
authorAurelien Aptel <aaptel@suse.com>2019-06-14 21:46:35 +0200
committerSteve French <stfrench@microsoft.com>2019-07-08 05:37:42 +0200
commit5fc3681fa5ed5cbbe70592967dcfa8f0848f75c0 (patch)
tree4a76ca36ae31e929a4b97d3ba00fc05734cd9936 /fs/cifs
parentSMB3.1.1: Add GCM crypto to the encrypt and decrypt functions (diff)
downloadlinux-5fc3681fa5ed5cbbe70592967dcfa8f0848f75c0.tar.xz
linux-5fc3681fa5ed5cbbe70592967dcfa8f0848f75c0.zip
cifs: add missing GCM module dependency
Signed-off-by: Aurelien Aptel <aaptel@suse.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r--fs/cifs/Kconfig1
-rw-r--r--fs/cifs/cifsfs.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/Kconfig b/fs/cifs/Kconfig
index aae2b8b2adf5..62ad5ed26de7 100644
--- a/fs/cifs/Kconfig
+++ b/fs/cifs/Kconfig
@@ -13,6 +13,7 @@ config CIFS
select CRYPTO_ARC4
select CRYPTO_AEAD2
select CRYPTO_CCM
+ select CRYPTO_GCM
select CRYPTO_ECB
select CRYPTO_AES
select CRYPTO_DES
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index 65d9771e49f9..d06edebf3a73 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -1604,5 +1604,6 @@ MODULE_SOFTDEP("pre: sha256");
MODULE_SOFTDEP("pre: sha512");
MODULE_SOFTDEP("pre: aead2");
MODULE_SOFTDEP("pre: ccm");
+MODULE_SOFTDEP("pre: gcm");
module_init(init_cifs)
module_exit(exit_cifs)