Message ID | 20210502210040.18628-2-tim.gardner@canonical.com |
---|---|
State | New |
Headers | show |
Series | Enable CIFS GCM256 | expand |
diff --git a/fs/cifs/smb2pdu.h b/fs/cifs/smb2pdu.h index 10f6e6cdf257..65780e02fb65 100644 --- a/fs/cifs/smb2pdu.h +++ b/fs/cifs/smb2pdu.h @@ -298,6 +298,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