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