[gnutls-devel] GnuTLS | WIP: GOST key exchange support (!1097)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Tue Nov 5 13:18:09 CET 2019
Dmitry Eremin-Solenikov commented on a discussion on lib/auth/vko_gost.c: https://gitlab.com/gnutls/gnutls/merge_requests/1097#note_240208693
> + }
> +
> + has_pcert = 1;
> + }
> +
> + ret = _gnutls_gost_keytrans_decrypt(has_pcert ? &peer_cert.pubkey->params : NULL,
> + &privkey->key.x509->params,
> + &cek, &ukm, &session->key.key);
> + if (ret < 0) {
> + gnutls_assert();
> + _gnutls_free_datum(&ukm);
> + goto cleanup;
> + }
> +
> + if (ret == 0)
> + session->internals.hsk_flags &= ~HSK_CRT_VRFY_EXPECTED;
Dropping this now. It was a leftover from old [cptls draft](https://tools.ietf.org/html/draft-chudov-cryptopro-cptls-04), where client should have used non-ephemeral keys when it had sent a certificate.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/1097#note_240208693
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/20191105/86831205/attachment-0001.html>
More information about the Gnutls-devel
mailing list