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/smb2pdu.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/smb2pdu.h')
-rw-r--r-- | fs/cifs/smb2pdu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/smb2pdu.h b/fs/cifs/smb2pdu.h index 05b010e5a061..851c6cd4742a 100644 --- a/fs/cifs/smb2pdu.h +++ b/fs/cifs/smb2pdu.h @@ -352,6 +352,7 @@ struct smb2_preauth_neg_context { /* Encryption Algorithms Ciphers */ #define SMB2_ENCRYPTION_AES128_CCM cpu_to_le16(0x0001) #define SMB2_ENCRYPTION_AES128_GCM cpu_to_le16(0x0002) +/* we currently do not request AES256_CCM since presumably GCM faster */ #define SMB2_ENCRYPTION_AES256_CCM cpu_to_le16(0x0003) #define SMB2_ENCRYPTION_AES256_GCM cpu_to_le16(0x0004) |