From: Jo Sutton Date: Tue, 16 Apr 2024 04:05:55 +0000 (+1200) Subject: lib:crypto: Add constant denoting maximum GKDI clock skew in minutes X-Git-Tag: tdb-1.4.11~658 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbdeb4b0b47db09dea56fec379f487ea709f994f;p=thirdparty%2Fsamba.git lib:crypto: Add constant denoting maximum GKDI clock skew in minutes Signed-off-by: Jo Sutton Reviewed-by: Andrew Bartlett --- diff --git a/lib/crypto/gkdi.h b/lib/crypto/gkdi.h index ea0f8b9357f..1c028999f3e 100644 --- a/lib/crypto/gkdi.h +++ b/lib/crypto/gkdi.h @@ -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