]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
lib:crypto: Add constant denoting maximum GKDI clock skew in minutes
authorJo Sutton <josutton@catalyst.net.nz>
Tue, 16 Apr 2024 04:05:55 +0000 (16:05 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 16 May 2024 02:11:36 +0000 (02:11 +0000)
Signed-off-by: Jo Sutton <josutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/crypto/gkdi.h

index ea0f8b9357fb0ed8bca213c3f3121277fbb41fa7..1c028999f3ecfde7eb1f53c354c0d55b913ce847 100644 (file)
@@ -129,6 +129,7 @@ static const int gkdi_l1_key_iteration = 32;
 static const int gkdi_l2_key_iteration = 32;
 
 static const int64_t gkdi_key_cycle_duration = 360000000000; /* ten hours */
+static const int gkdi_max_clock_skew_mins = 5;
 static const int64_t gkdi_max_clock_skew = 3000000000;      /* five minutes */
 
 #define GKDI_KEY_LEN 64