Re: [PATCH v2 11/17] crypto/cipher-gnutls: Implement AES-GCM

Daniel P. Berrangé <[email protected]>
Newsgroups org.nongnu.qemu-arm,org.nongnu.qemu-devel
Message-ID <[email protected]>
On Wed, Jul 15, 2026 at 03:33:31AM +0000, Jamin Lin wrote:
> Add the AES-GCM AEAD mode to the gnutls backend so it is available when
> QEMU is built with gnutls (neither gcrypt nor nettle). GCM uses the
> incremental gnutls_cipher_* API with the GNUTLS_CIPHER_AES_*_GCM
> algorithms: gnutls_cipher_set_iv() sets the nonce, gnutls_cipher_add_auth()
> feeds the associated data, gnutls_cipher_encrypt2()/decrypt2() process the
> message, and gnutls_cipher_tag() reads back the authentication tag.
> 
> Signed-off-by: Jamin Lin <[email protected]>
> ---
>  crypto/cipher-gnutls.c.inc | 154 +++++++++++++++++++++++++++++++++++++
>  1 file changed, 154 insertions(+)

Reviewed-by: Daniel P. Berrangé <[email protected]>


With regards,
Daniel
-- 
|: https://berrange.com       ~~        https://hachyderm.io/@berrange :|
|: https://libvirt.org          ~~          https://entangle-photo.org :|
|: https://pixelfed.art/berrange   ~~    https://fstop138.berrange.com :|
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.