[libvirt] [PATCH] qemu: domain: Fix name of macro defining AES IV length

Peter Krempa pkrempa at redhat.com
Thu May 12 15:15:37 UTC 2016


The initialization vector is a technical term by itself different from
the key.
---
 src/qemu/qemu_domain.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/qemu/qemu_domain.h b/src/qemu/qemu_domain.h
index 331ade0..dd90e67 100644
--- a/src/qemu/qemu_domain.h
+++ b/src/qemu/qemu_domain.h
@@ -254,8 +254,8 @@ struct _qemuDomainSecretPlain {
     char *secret;
 };

-# define QEMU_DOMAIN_AES_IV_KEY_LEN 16   /* 16 bytes for 128 bit random */
-                                         /*    initialization vector */
+# define QEMU_DOMAIN_AES_IV_LEN 16   /* 16 bytes for 128 bit random */
+                                     /*    initialization vector */
 typedef struct _qemuDomainSecretAES qemuDomainSecretAES;
 typedef struct _qemuDomainSecretAES *qemuDomainSecretAESPtr;
 struct _qemuDomainSecretAES {
-- 
2.8.2




More information about the libvir-list mailing list