28 crypto_ss.add(nettle, files('hash-nettle.c', 'hmac-nettle.c', 'pbkdf-nettle.c'))
30 crypto_ss.add(gmp, hogweed)
33 crypto_ss.add(files('xts.c'))
36 crypto_ss.add(gcrypt, files('hash-gcrypt.c', 'hmac-gcrypt.c', 'pbkdf-gcrypt.c'))
37 elif gnutls_crypto.found()
38 crypto_ss.add(gnutls, files('hash-gnutls.c', 'hmac-gnutls.c', 'pbkdf-gnutls.c'))
40 crypto_ss.add(files('hash-glib.c', 'hmac-glib.c', 'pbkdf-stub.c'))
44 crypto_ss.add(files('secret_keyring.c'))
47 crypto_ss.add(if_true: files('afalg.c', 'cipher-afalg.c', 'hash-afalg.c'))
49 crypto_ss.add(when: gnutls, if_true: files('tls-cipher-suites.c'))
62 util_ss.add(gcrypt, files('random-gcrypt.c'))
64 util_ss.add(gnutls, files('random-gnutls.c'))
65 elif get_option('rng_none')
66 util_ss.add(files('random-none.c'))
68 util_ss.add(files('random-platform.c'))