diff options
author | Steve French <stfrench@microsoft.com> | 2020-03-18 06:51:48 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-10-12 06:57:18 +0200 |
commit | 119e489681f769e497637da16d5df530213f5720 (patch) | |
tree | b27c97664f7fe82c44c9d24eaa8fef3246e2ef86 /fs/cifs | |
parent | Convert trailing spaces and periods in path components (diff) | |
download | linux-119e489681f769e497637da16d5df530213f5720.tar.xz linux-119e489681f769e497637da16d5df530213f5720.zip |
smb3: add defines for new crypto algorithms
In encryption capabilities negotiate context can now request
AES256 GCM or CCM
Signed-off-by: Steve French <stfrench@microsoft.com>
Acked-by: Ronnie Sahlberg <lsahlber@redhat.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/smb2pdu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/smb2pdu.h b/fs/cifs/smb2pdu.h index c3f1baf5bde2..7b6db162f516 100644 --- a/fs/cifs/smb2pdu.h +++ b/fs/cifs/smb2pdu.h @@ -325,6 +325,8 @@ 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) +#define SMB2_ENCRYPTION_AES256_CCM cpu_to_le16(0x0003) +#define SMB2_ENCRYPTION_AES256_GCM cpu_to_le16(0x0004) /* Min encrypt context data is one cipher so 2 bytes + 2 byte count field */ #define MIN_ENCRYPT_CTXT_DATA_LEN 4 |