diff options
author | Steve French <stfrench@microsoft.com> | 2020-10-16 06:41:40 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-10-19 22:11:11 +0200 |
commit | 63ca5656350a9b798a20a8e5bd55be164a5abeb6 (patch) | |
tree | 1ce70a9d87c39ef7184529ec59517aa93536a039 /fs/cifs/smb2glob.h | |
parent | smb3.1.1: rename nonces used for GCM and CCM encryption (diff) | |
download | linux-63ca5656350a9b798a20a8e5bd55be164a5abeb6.tar.xz 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.h | 1 |
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 |