summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2glob.h
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2020-10-15 23:41:40 -0500
committerSteve French <stfrench@microsoft.com>2020-10-19 15:11:11 -0500
commit63ca5656350a9b798a20a8e5bd55be164a5abeb6 (patch)
tree1ce70a9d87c39ef7184529ec59517aa93536a039 /fs/cifs/smb2glob.h
parentfd08f2dbf0c2e95f8503e2c79339fe5711f1aa1d (diff)
downloadlinux-63ca5656350a9b798a20a8e5bd55be164a5abeb6.tar.gz
linux-63ca5656350a9b798a20a8e5bd55be164a5abeb6.tar.bz2
linux-63ca5656350a9b798a20a8e5bd55be164a5abeb6.zip
smb3.1.1: set gcm256 when requested
update smb encryption code to set 32 byte key length and to set gcm256 when requested on mount. Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smb2glob.h')
-rw-r--r--fs/cifs/smb2glob.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/smb2glob.h b/fs/cifs/smb2glob.h
index cf20f0b5d836..99a1951a01ec 100644
--- a/fs/cifs/smb2glob.h
+++ b/fs/cifs/smb2glob.h
@@ -58,6 +58,7 @@
#define SMB2_HMACSHA256_SIZE (32)
#define SMB2_CMACAES_SIZE (16)
#define SMB3_SIGNKEY_SIZE (16)
+#define SMB3_GCM256_CRYPTKEY_SIZE (32)
/* Maximum buffer size value we can send with 1 credit */
#define SMB2_MAX_BUFFER_SIZE 65536