From: Jo Sutton Date: Tue, 9 Jan 2024 01:14:23 +0000 (+1300) Subject: lib:crypto: Comment on GKDI definitions X-Git-Tag: tdb-1.4.11~1755 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cac31aac34e411e0935115c7209b4d45c29efbfc;p=thirdparty%2Fsamba.git lib:crypto: Comment on GKDI definitions Signed-off-by: Jo Sutton Reviewed-by: Andrew Bartlett --- diff --git a/lib/crypto/gkdi.h b/lib/crypto/gkdi.h index a8cc6fe7d12..1c98216e147 100644 --- a/lib/crypto/gkdi.h +++ b/lib/crypto/gkdi.h @@ -85,8 +85,8 @@ bool gkid_is_valid(const struct Gkid gkid); 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; -static const int64_t gkdi_max_clock_skew = 3000000000; +static const int64_t gkdi_key_cycle_duration = 360000000000; /* ten hours */ +static const int64_t gkdi_max_clock_skew = 3000000000; /* five minutes */ #define GKDI_KEY_LEN 64