]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libcli/smb: add SMB2_SIGNING_CAPABILITIES related defines to smb2_constants.h
authorStefan Metzmacher <metze@samba.org>
Wed, 11 Nov 2020 12:47:11 +0000 (13:47 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 15 Jul 2021 00:06:31 +0000 (00:06 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
libcli/smb/smb2_constants.h

index 9aed9aee6a4c0f46a23368a923b6e33f13428061..886989d89edaf9bf692fc870fef3eb645f79616f 100644 (file)
 #define SMB2_NETNAME_NEGOTIATE_CONTEXT_ID   0x0005
 #define SMB2_TRANSPORT_CAPABILITIES         0x0006
 #define SMB2_RDMA_TRANSFORM_CAPABILITIES    0x0007
+#define SMB2_SIGNING_CAPABILITIES           0x0008
 
 /* Values for the SMB2_PREAUTH_INTEGRITY_CAPABILITIES Context (>= 0x310) */
 #define SMB2_PREAUTH_INTEGRITY_SHA512       0x0001
 
+/* Values for the SMB2_SIGNING_CAPABILITIES Context (>= 0x311) */
 #define SMB2_SIGNING_INVALID_ALGO          0xffff /* only used internally */
 #define SMB2_SIGNING_MD5_SMB1              0xfffe /* internally for SMB1 */
 #define SMB2_SIGNING_HMAC_SHA256           0x0000 /* default <= 0x210 */
 #define SMB2_SIGNING_AES128_CMAC           0x0001 /* default >= 0x224 */
+#define SMB2_SIGNING_AES128_GMAC           0x0002 /* only in dialect >= 0x311 */
 
 /* Values for the SMB2_ENCRYPTION_CAPABILITIES Context (>= 0x311) */
 #define SMB2_ENCRYPTION_INVALID_ALGO       0xffff /* only used internally */