]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Add support for GnuTLS decryption
authorArun Menon <armenon@redhat.com>
Tue, 10 Feb 2026 17:56:38 +0000 (23:26 +0530)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 12 Feb 2026 16:07:58 +0000 (17:07 +0100)
commitffc316e99ae26fb8206ccea4edf70313b6c42fa0
tree9f77206cff9d17aa65eb1cebacdac02e8d6b6d8b
parent73a52dc108b156d2564f65dc10d397c418e05d77
util: Add support for GnuTLS decryption

Adds `virCryptoDecryptDataAESgnutls` and `virCryptoDecryptData`
as wrapper functions for GnuTLS decryption.

These functions are the inverse of the existing GnuTLS encryption wrappers.
This commit also includes a corresponding test case to validate data decryption.

Signed-off-by: Arun Menon <armenon@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/libvirt_private.syms
src/util/vircrypto.c
src/util/vircrypto.h
tests/vircryptotest.c