[gnutls-devel] GnuTLS | crypto: add API to retrieve the final IV for CFB ciphers (!988)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Wed May 1 19:55:56 CEST 2019

Thanks, but looking at it again, it seems that ciphers can also be registered externally by the application using `gnutls_crypto_register_cipher` and even internally we register ciphers using `gnutls_crypto_single_cipher_register` in `lib/accelerated`. In these ciphers the `get_iv` pointer will not be set. I'm not sure what's the best approach here. Maybe we should prohibit this API for anything else than CFB (which is only internally defined), and also prohibit registering CFB when the `get_iv` is not set. What do you think?

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/988#note_165928917
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/20190501/9bb55e0b/attachment.html>

More information about the Gnutls-devel mailing list