[gnutls-devel] GnuTLS | Session ticket key rotation with TOTP (!695)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon Sep 17 11:30:49 CEST 2018


Nikos Mavrogiannopoulos commented on a discussion on lib/gnutls_int.h:

>  #define TICKET_CIPHER_KEY_SIZE 32
>  #define TICKET_MAC_SECRET_SIZE 16
>  
> +/* These are restricted by TICKET_CIPHER_KEY_SIZE and TICKET_MAC_SECRET_SIZE */
> +#define CIPHER GNUTLS_CIPHER_AES_256_CBC
> +#define IV_SIZE 16
> +#define BLOCK_SIZE 16
> +
> +#define MAC_ALGO GNUTLS_MAC_SHA1
> +#define MAC_SIZE 20 /* HMAC-SHA1 */
> +
> +struct ticket_st {
> +	uint8_t key_name[TICKET_KEY_NAME_SIZE];

Let's not. We can do that later.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/695#note_101775016
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/20180917/1965e1ff/attachment.html>


More information about the Gnutls-devel mailing list