[gnutls-devel] GnuTLS | gnutls_session_set_secret_hook_function: new function (!1112)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Tue Dec 3 16:52:45 CET 2019




Nikos Mavrogiannopoulos commented on a discussion on lib/constate.c: https://gitlab.com/gnutls/gnutls/merge_requests/1112#note_254043549

>  		ret = _tls13_expand_secret(session, "iv", 2, NULL, 0, session->key.proto.tls13.ap_ckey, iv_size, iv_block);
>  		if (ret < 0)
>  			return gnutls_assert_val(ret);
> +

Indeed that doesn't make sense. By similar I meant some indicator on the secret that is being communicated. For example there is the `APPLICATION_CLIENT_TRAFFIC_LABEL`. Though I see there is already the `ENCRYPTION_LEVEL`, but it is not clear to me what are they. Are they quic-related, or they are mapping these labels to an enumeration (the level part of the name is confusing to me).

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/1112#note_254043549
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/20191203/7f6f605c/attachment.html>


More information about the Gnutls-devel mailing list