xemu/crypto
Daniel P. Berrange 91bfcdb01d crypto: allow use of nettle/gcrypt to be selected explicitly
Currently the choice of whether to use nettle or gcrypt is
made based on what gnutls is linked to. There are times
when it is desirable to be able to force build against a
specific library. For example, if testing changes to QEMU's
crypto code all 3 possible backends need to be checked
regardless of what the local gnutls uses.

It is also desirable to be able to enable nettle/gcrypt
for cipher/hash algorithms, without enabling gnutls
for TLS support.

This gives two new configure flags, which allow the
following possibilities

Automatically determine nettle vs gcrypt from what
gnutls links to (recommended to minimize number of
crypto libraries linked to)

 ./configure

Automatically determine nettle vs gcrypt based on
which is installed

 ./configure --disable-gnutls

Force use of nettle

 ./configure --enable-nettle

Force use of gcrypt

 ./configure --enable-gcrypt

Force use of built-in AES & crippled-DES

 ./configure --disable-nettle --disable-gcrypt

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2015-10-22 19:03:07 +01:00
..
aes.c crypto: move built-in AES implementation into crypto/ 2015-07-07 12:04:13 +02:00
cipher-builtin.c crypto: fix built-in AES decrypt function 2015-07-27 12:22:01 +02:00
cipher-gcrypt.c crypto: add a gcrypt cipher implementation 2015-07-08 13:11:01 +02:00
cipher-nettle.c crypto: Fix aes_decrypt_wrapper() 2015-07-20 13:35:45 +02:00
cipher.c crypto: allow use of nettle/gcrypt to be selected explicitly 2015-10-22 19:03:07 +01:00
desrfb.c crypto: move built-in D3DES implementation into crypto/ 2015-07-07 12:04:31 +02:00
hash.c crypto: introduce new module for computing hash digests 2015-07-07 12:04:07 +02:00
init.c crypto: allow use of nettle/gcrypt to be selected explicitly 2015-10-22 19:03:07 +01:00
Makefile.objs crypto: introduce new module for handling TLS sessions 2015-09-15 15:07:43 +01:00
tlscreds.c crypto: introduce new base module for TLS credentials 2015-09-15 14:47:37 +01:00
tlscredsanon.c crypto: introduce new module for TLS anonymous credentials 2015-09-15 15:00:20 +01:00
tlscredspriv.h crypto: introduce new base module for TLS credentials 2015-09-15 14:47:37 +01:00
tlscredsx509.c crypto: add sanity checking of TLS x509 credentials 2015-09-15 15:05:09 +01:00
tlssession.c crypto: introduce new module for handling TLS sessions 2015-09-15 15:07:43 +01:00