[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:45 CET 2019
Dmitry Eremin-Solenikov commented on a discussion on lib/nettle/gost_keywrap.c: https://gitlab.com/gnutls/gnutls/merge_requests/1097#note_239306587
> + }
> +
> + cek->size = GOST28147_KEY_SIZE;
> + cek->data = gnutls_malloc(cek->size);
> + if (cek->data == NULL) {
> + return gnutls_assert_val(GNUTLS_E_MEMORY_ERROR);
> + }
> +
> + ret = gost28147_key_unwrap_cryptopro(gp, kek->data,
> + ukm->data, ukm->size,
> + enc->data, imit->data,
> + cek->data);
> + if (ret == 0) {
> + gnutls_assert();
> + _gnutls_free_temp_key_datum(cek);
> + return GNUTLS_E_INTERNAL_ERROR;
Changed to `GNUTLS_E_DECRYPTION_FAILED`.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/1097#note_239306587
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/a42edddc/attachment.html>
More information about the Gnutls-devel
mailing list