25 crypto_ss.add(nettle, files('hash-nettle.c', 'hmac-nettle.c', 'pbkdf-nettle.c'))
27 crypto_ss.add(files('xts.c'))
30 crypto_ss.add(gcrypt, files('hash-gcrypt.c', 'hmac-gcrypt.c', 'pbkdf-gcrypt.c'))
31 elif gnutls_crypto.found()
32 crypto_ss.add(gnutls, files('hash-gnutls.c', 'hmac-gnutls.c', 'pbkdf-gnutls.c'))
34 crypto_ss.add(files('hash-glib.c', 'hmac-glib.c', 'pbkdf-stub.c'))
37 crypto_ss.add(when: 'CONFIG_SECRET_KEYRING', if_true: files('secret_keyring.c'))
39 crypto_ss.add(if_true: files('afalg.c', 'cipher-afalg.c', 'hash-afalg.c'))
41 crypto_ss.add(when: gnutls, if_true: files('tls-cipher-suites.c'))
43 util_ss.add(files('aes.c'))
44 util_ss.add(files('init.c'))
50 util_ss.add(gcrypt, files('random-gcrypt.c'))
52 util_ss.add(gnutls, files('random-gnutls.c'))
53 elif get_option('rng_none')
54 util_ss.add(files('random-none.c'))
56 util_ss.add(files('random-platform.c'))