[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:50:56 CET 2019




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

> +		digalg = GNUTLS_DIG_STREEBOG_256;
> +
> +	ret = _gnutls_pk_derive_nonce(pub->algo, &tmp_vko_key,
> +				      priv, pub, ukm);
> +	if (ret < 0)
> +		return gnutls_assert_val(ret);
> +
> +	kek->size = gnutls_hash_get_len(digalg);
> +	kek->data = gnutls_malloc(kek->size);
> +	if (kek->data == NULL) {
> +		gnutls_assert();
> +		ret = GNUTLS_E_MEMORY_ERROR;
> +		goto cleanup;
> +	}
> +
> +	ret = gnutls_hash_init(&dig, digalg);

fixed, thank you.

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


More information about the Gnutls-devel mailing list