On Wed, Jul 15, 2026 at 03:33:29AM +0000, Jamin Lin wrote: > Add the AES-GCM AEAD mode to the nettle backend so it is available when > QEMU is built with nettle instead of gcrypt. GCM is driven through > nettle's generic gcm_* interface, using the AES encrypt function for both > directions: gcm_set_iv() sets the (typically 96-bit) nonce, gcm_update() > feeds the associated data, gcm_encrypt()/gcm_decrypt() need not be block > aligned, and gcm_digest() produces the authentication tag. > > Signed-off-by: Jamin Lin <[email protected]> > --- > crypto/cipher-nettle.c.inc | 128 +++++++++++++++++++++++++++++++++++++ > 1 file changed, 128 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 :|
