summaryrefslogtreecommitdiff
path: root/fs/cifs/smb2glob.h
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2022-03-26 20:47:57 +0300
committerSteve French <stfrench@microsoft.com>2022-03-27 07:09:20 +0300
commit15e7b6d753b815b19b375dcd4593534c0f157c66 (patch)
treeae2537f896a392b33de75b5ef33c7b2f8ca28a3c /fs/cifs/smb2glob.h
parent113be37d87449836ebbca4ca2909dc4e1db9663d (diff)
downloadlinux-15e7b6d753b815b19b375dcd4593534c0f157c66.tar.xz
smb3: move defines for ioctl protocol header and SMB2 sizes to smbfs_common
The definitions for the ioctl SMB3 request and response as well as length of various fields defined in the protocol documentation were duplicated in fs/ksmbd and fs/cifs. Move these to the common code in fs/smbfs_common/smb2pdu.h Reviewed-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smb2glob.h')
-rw-r--r--fs/cifs/smb2glob.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/fs/cifs/smb2glob.h b/fs/cifs/smb2glob.h
index 4125fd113cfb..82e916ad167c 100644
--- a/fs/cifs/smb2glob.h
+++ b/fs/cifs/smb2glob.h
@@ -41,15 +41,4 @@
#define END_OF_CHAIN 4
#define RELATED_REQUEST 8
-#define SMB2_SIGNATURE_SIZE (16)
-#define SMB2_NTLMV2_SESSKEY_SIZE (16)
-#define SMB2_HMACSHA256_SIZE (32)
-#define SMB2_CMACAES_SIZE (16)
-#define SMB3_SIGNKEY_SIZE (16)
-#define SMB3_GCM128_CRYPTKEY_SIZE (16)
-#define SMB3_GCM256_CRYPTKEY_SIZE (32)
-
-/* Maximum buffer size value we can send with 1 credit */
-#define SMB2_MAX_BUFFER_SIZE 65536
-
#endif /* _SMB2_GLOB_H */