[gnutls-devel] GnuTLS | crypto-api: add gnutls_aead_cipher_{en, de}crypt_vec (!1052)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Thu Aug 8 14:31:46 CEST 2019



Merge request https://gitlab.com/gnutls/gnutls/merge_requests/1052 was reviewed by Daiki Ueno

--
  
Daiki Ueno commented on a discussion on lib/crypto-api.c: https://gitlab.com/gnutls/gnutls/merge_requests/1052#note_201591763

> +		}
> +
> +		ret = copy_to_iov(&ptext, iov, iovcnt);

That makes sense. I've removed the capacity field and check the length in the caller side.

--
  
Daiki Ueno commented on a discussion on lib/iov.c: https://gitlab.com/gnutls/gnutls/merge_requests/1052#note_201591767

> +		iter->iov_offset = 0;
> +	}
> +	return GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE;

I believe it is legal, but yes the documentation is not clear enough. Added detailed doc comment in gdoc.


-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/1052
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/20190808/f20625b9/attachment.html>


More information about the Gnutls-devel mailing list