[gnutls-devel] GnuTLS | Session ticket key rotation with TOTP (!695)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Fri Sep 14 14:07:18 CEST 2018
Nikos Mavrogiannopoulos started a new discussion on lib/stek.c:
> + return gnutls_assert_val(retval);
> +
> + _gnutls_write_uint64(t, t_be);
> +
> + if ((retval = _gnutls_hash(&hd, t_be, sizeof(t_be))) < 0)
> + return gnutls_assert_val(retval);
> + if ((retval = _gnutls_hash(&hd, secret->data, secret->size)) < 0)
> + return gnutls_assert_val(retval);
> +
> + _gnutls_hash_deinit(&hd, out);
> + return GNUTLS_E_SUCCESS;
> +}
> +
> +static uint64_t T(gnutls_session_t session, time_t t)
> +{
> + int numeral = t;
shouldn't numeral be 64-bit too?
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/695#note_101419620
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20180914/70fb14cd/attachment-0001.html>
More information about the Gnutls-devel
mailing list