[gnutls-devel] gnutls_cipher_decrypt2() is broken for AES-GCM

Nikos Mavrogiannopoulos nmav at gnutls.org
Mon Jan 28 01:55:36 CET 2013

On 01/26/2013 06:40 PM, William McGovern wrote:

> Hello,
> It seems that gnutls_cipher_decrypt2() does not work for the AES-GCM
> ciphers and does not generate any data in the output buffer or return
> any error code. In-place decryption of the same ciphertext with
> gnutls_cipher_decrypt() works correctly.

Thank you for reporting and for the code to reproduce. Indeed
gnutls_cipher_decrypt2() had a bug with AEAD ciphers. I've fixed that in



More information about the Gnutls-devel mailing list