qemu/include
Daniel P. Berrange ddbb0d0966 crypto: introduce new module for computing hash digests
Introduce a new crypto/ directory that will (eventually) contain
all the cryptographic related code. This initially defines a
wrapper for initializing gnutls and for computing hashes with
gnutls. The former ensures that gnutls is guaranteed to be
initialized exactly once in QEMU regardless of CLI args. The
block quorum code currently fails to initialize gnutls so it
only works by luck, if VNC server TLS is not requested. The
hash APIs avoids the need to litter the rest of the code with
preprocessor checks and simplifies callers by allocating the
correct amount of memory for the requested hash.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-Id: <1435770638-25715-2-git-send-email-berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-07-07 12:04:07 +02:00
..
block block: Remove bdrv_reset_dirty 2015-07-02 10:06:23 +01:00
crypto crypto: introduce new module for computing hash digests 2015-07-07 12:04:07 +02:00
disas disas: Remove uses of CPU env 2015-06-22 17:40:01 +02:00
exec * more of Peter Crosthwaite's multiarch preparation patches 2015-07-06 14:03:44 +01:00
fpu softfloat: expand out STATUS macro 2015-02-06 16:11:38 +00:00
hw vl: move rom_load_all after machine init done 2015-07-07 11:03:16 +02:00
libdecnumber Fix new typos in comments (found by codespell) 2014-07-18 17:45:36 +04:00
migration migration: introduce VMSTATE_BUFFER_UNSAFE_INFO_TEST() 2015-06-23 22:57:47 +02:00
monitor Include monitor/monitor.h exactly where needed 2015-06-22 18:20:41 +02:00
net qmp: Wean off qerror_report() 2015-06-22 18:20:40 +02:00
qapi qerror: Move #include out of qerror.h 2015-06-22 18:20:40 +02:00
qemu * more of Peter Crosthwaite's multiarch preparation patches 2015-07-06 14:03:44 +01:00
qom qom: Don't pass string table to object_get_enum() function 2015-06-19 18:42:48 +02:00
standard-headers linux-headers: Update to 4.2-rc1 2015-07-06 17:59:01 +02:00
sysemu kvm-all: add support for multiple address spaces 2015-07-06 17:59:43 +02:00
ui Include monitor/monitor.h exactly where needed 2015-06-22 18:20:41 +02:00
config.h janitor: move remaining public headers to include/ 2012-12-19 08:32:46 +01:00
elf.h linux/elf.h update 2015-05-27 17:52:03 +02:00
glib-compat.h glib: remove stale compat functions 2015-05-22 15:58:06 -04:00
qemu-common.h Stop including qemu-common.h in memory.h 2015-07-06 14:59:09 +02:00
qemu-io.h qemu-io: Use BlockBackend 2015-02-16 15:07:19 +00:00
qjson.h QJSON: Add JSON writer 2015-02-05 17:16:14 +01:00
trace-tcg.h trace: [tcg] Generate TCG tracing routines 2014-08-12 14:26:12 +01:00
trace.h trace: [tcg] Include event definitions in "trace.h" 2014-08-12 14:26:12 +01:00