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'))
38 crypto_ss.add(when: 'CONFIG_AF_ALG', if_true: files('afalg.c', 'cipher-afalg.c', 'hash-afalg.c'))
39 crypto_ss.add(when: gnutls, if_true: files('tls-cipher-suites.c'))
41 util_ss.add(files('aes.c'))
42 util_ss.add(files('init.c'))
48 util_ss.add(gcrypt, files('random-gcrypt.c'))
50 util_ss.add(gnutls, files('random-gnutls.c'))
51 elif 'CONFIG_RNG_NONE' in config_host
52 util_ss.add(files('random-none.c'))
54 util_ss.add(files('random-platform.c'))