[gnutls-devel] GnuTLS | WIP: GOST key exchange support (!1097)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Sun Nov 3 15:51:12 CET 2019




Dmitry Eremin-Solenikov commented on a discussion on lib/vko.c: https://gitlab.com/gnutls/gnutls/merge_requests/1097#note_239306643

> +	if ((ret = asn1_write_value(kx, "transportParameters.encryptionParamSet",
> +				    gnutls_gost_paramset_get_oid(pub->gost_params),
> +				    1)) != ASN1_SUCCESS) {
> +		gnutls_assert();
> +		ret = _gnutls_asn2err(ret);
> +		goto cleanup;
> +	}
> +
> +	ret = _gnutls_x509_write_value(kx, "sessionEncryptedKey.encryptedKey", &enc);
> +	if (ret != ASN1_SUCCESS) {
> +		gnutls_assert();
> +		goto cleanup;
> +	}
> +
> +	ret = _gnutls_x509_write_value(kx, "sessionEncryptedKey.maskKey", &zero_data);
> +	if (ret != ASN1_SUCCESS) {

ack

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/1097#note_239306643
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/20191103/c72e39ba/attachment-0001.html>


More information about the Gnutls-devel mailing list