qemu-e2k/crypto
Daniel P. Berrangé 46859d9398 crypto: fix build with gcrypt enabled
If nettle is disabled and gcrypt enabled, the compiler and linker flags
needed for gcrypt are not passed.

Gnutls was also not added as a dependancy when gcrypt is enabled.

Attempting to add the library dependencies at the same time as the
source dependencies is error prone, as there are alot of different
rules for picking which sources to use, and some of the source files
use code level conditionals intead. It is thus clearer to add the
library dependencies separately.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20200901133050.381844-2-berrange@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2020-09-07 12:34:17 +02:00
..
aes.c
afalg.c
afalgpriv.h
afsplit.c
block-luks.c qcrypto/luks: implement encryption key management 2020-07-06 08:49:28 +02:00
block-luks.h
block-qcow.c
block-qcow.h
block.c qcrypto/core: add generic infrastructure for crypto options amendment 2020-07-06 08:49:28 +02:00
blockpriv.h qcrypto/core: add generic infrastructure for crypto options amendment 2020-07-06 08:49:28 +02:00
cipher-afalg.c
cipher-builtin.c crypto: Redundant type conversion for AES_KEY pointer 2020-05-07 12:48:41 +01:00
cipher-gcrypt.c
cipher-nettle.c
cipher.c
cipherpriv.h
desrfb.c
hash-afalg.c
hash-gcrypt.c
hash-glib.c
hash-nettle.c
hash.c
hashpriv.h
hmac-gcrypt.c
hmac-glib.c
hmac-nettle.c
hmac.c
hmacpriv.h
init.c crypto: Remove use of GCRYPT_VERSION macro. 2020-06-15 11:33:51 +01:00
ivgen-essiv.c
ivgen-essiv.h
ivgen-plain64.c
ivgen-plain64.h
ivgen-plain.c
ivgen-plain.h
ivgen.c
ivgenpriv.h
meson.build crypto: fix build with gcrypt enabled 2020-09-07 12:34:17 +02:00
pbkdf-gcrypt.c
pbkdf-nettle.c
pbkdf-stub.c
pbkdf.c
random-gcrypt.c
random-gnutls.c
random-none.c crypto: add "none" random provider 2020-06-15 11:33:50 +01:00
random-platform.c
secret_common.c crypto/secret: move main logic from 'secret' to 'secret_common'. 2020-06-15 11:33:51 +01:00
secret_keyring.c qom: Put name parameter before value / visitor parameter 2020-07-10 15:18:08 +02:00
secret.c qom: Put name parameter before value / visitor parameter 2020-07-10 15:18:08 +02:00
tls-cipher-suites.c tls-cipher-suites: Correct instance_size 2020-09-02 07:29:25 -04:00
tlscreds.c qom: Drop parameter @errp of object_property_add() & friends 2020-05-15 07:07:58 +02:00
tlscredsanon.c qom: Put name parameter before value / visitor parameter 2020-07-10 15:18:08 +02:00
tlscredspriv.h
tlscredspsk.c qom: Put name parameter before value / visitor parameter 2020-07-10 15:18:08 +02:00
tlscredsx509.c qom: Put name parameter before value / visitor parameter 2020-07-10 15:18:08 +02:00
tlssession.c
trace-events crypto: Add tls-cipher-suites object 2020-07-03 18:16:01 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
xts.c