[PATCH 0/3] Patches to set up the secret encryption

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Based on v4 of the AES secret object series:

http://www.redhat.com/archives/libvir-list/2016-May/msg01292.html

Could have been an RFC too...

Precursor for the AES secret object patches - figured I'd make sure this
was the "right path" and hopefully to get some help with the mock environment
since the virRandomBytes would move out of qemuxml2argvtest.

Patch 3 is new and will work independent of 1 & 2, although it would be
nice to alther the vircryptotest to use a mocked virRandomBytes rather
than seeing the encalg and iv with what the mocked code would return.



John Ferlan (3):
  tests: Add mock for virRandomBytes
  tests: Need help... Trying to add virRandomBytes mock
  util: Introduce encryption APIs

 configure.ac             |   1 +
 src/libvirt_private.syms |   2 +
 src/util/vircrypto.c     | 189 ++++++++++++++++++++++++++++++++++++++++++++++-
 src/util/vircrypto.h     |  20 ++++-
 tests/Makefile.am        |  16 ++++
 tests/commandhelper.c    |   1 +
 tests/vircryptotest.c    |  86 +++++++++++++++++++++
 tests/virrandommock.c    |  56 ++++++++++++++
 tests/virrandomtest.c    |  86 +++++++++++++++++++++
 9 files changed, 455 insertions(+), 2 deletions(-)
 create mode 100644 tests/virrandommock.c
 create mode 100644 tests/virrandomtest.c

-- 
2.5.5

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]