b6b438
From b31a1e4fd75654c5995d631ac1961ee56fe3e937 Mon Sep 17 00:00:00 2001
b6b438
From: Andreas Schneider <asn@samba.org>
b6b438
Date: Tue, 26 Feb 2019 18:06:46 +0100
b6b438
Subject: [PATCH 110/187] libcli:smb: Define SMB2_AES_128_CCM_NONCE_SIZE
b6b438
b6b438
Signed-off-by: Andreas Schneider <asn@samba.org>
b6b438
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
b6b438
(cherry picked from commit 43a941f51b2954ffa1a7ab8a9d5c4a18e654b9f6)
b6b438
---
b6b438
 libcli/smb/smb2_constants.h | 3 +++
b6b438
 1 file changed, 3 insertions(+)
b6b438
b6b438
diff --git a/libcli/smb/smb2_constants.h b/libcli/smb/smb2_constants.h
b6b438
index 1430f02689c..5832c0e7f83 100644
b6b438
--- a/libcli/smb/smb2_constants.h
b6b438
+++ b/libcli/smb/smb2_constants.h
b6b438
@@ -282,4 +282,7 @@
b6b438
  */
b6b438
 #define SMB2_DHANDLE_FLAG_PERSISTENT 0x00000002
b6b438
 
b6b438
+/* The AES CCM nonce N of 15 - L octets. Where L=4 */
b6b438
+#define SMB2_AES_128_CCM_NONCE_SIZE 11
b6b438
+
b6b438
 #endif
b6b438
-- 
b6b438
2.23.0
b6b438