[gnutls-devel] GnuTLS | Allow using implicit IV for stream ciphers with TLS (!1099)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Thu Oct 17 15:19:31 CEST 2019




Nikos Mavrogiannopoulos started a new discussion on lib/constate.c: https://gitlab.com/gnutls/gnutls/merge_requests/1099#note_231875124

>  		if (_gnutls_cipher_type(params->cipher) == CIPHER_BLOCK)
>  			iv = &_iv;
>  	}
> +	if (_gnutls_cipher_type(params->cipher) == CIPHER_STREAM &&

LGTM, however it follows the opposite logic of the previous check. Should we reverse it, and also add a comment that this is in order to enforce the GOST cipher requirements?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/1099#note_231875124
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/20191017/b907ffca/attachment.html>


More information about the Gnutls-devel mailing list