[gnutls-devel] GnuTLS | prf: add function to retrieve early keying material (!894)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon Apr 15 13:26:33 CEST 2019




Nikos Mavrogiannopoulos started a new discussion on lib/handshake.c: https://gitlab.com/gnutls/gnutls/merge_requests/894#note_160814768

>  			_mbuffer_xfree(&bufel);
>  			return ret;
>  		}
> +		/* If we are sending a PSK, generate early secrets here.
> +		 * This cannot be done in pre_shared_key.c, because it
> +		 * relies on transcript hash of a Client Hello. */
> +		if (type == GNUTLS_HANDSHAKE_CLIENT_HELLO &&

shouldn't this be guarded to run only under TLS1.3?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/894#note_160814768
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/20190415/f3647b3e/attachment.html>


More information about the Gnutls-devel mailing list