[gnutls-devel] GnuTLS | WIP: Add support for CNT_IMIT TLS 1.2 GOST cipher suite (!920)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Fri Aug 2 13:10:20 CEST 2019




Dmitry Eremin-Solenikov commented on a discussion on lib/auth/vko_gost.c: https://gitlab.com/gnutls/gnutls/merge_requests/920#note_199443699

> +	ret =
> +	    _gnutls_get_auth_info_pcert(&peer_cert,
> +					session->security_parameters.
> +					server_ctype, info);
> +
> +	if (ret < 0) {
> +		gnutls_assert();
> +		return ret;
> +	}
> +
> +	/* just in case we are resuming a session */
> +	gnutls_pk_params_release(&session->key.kshare.ecdh_params);
> +
> +	gnutls_pk_params_init(&session->key.kshare.ecdh_params);
> +
> +	curve = peer_cert.pubkey->params.curve;

We limit VKO KX to GOST public keys in `pk_mappings` struct.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/920#note_199443699
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/20190802/dbb570bf/attachment-0001.html>


More information about the Gnutls-devel mailing list