diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-01-26 14:47:10 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-01-27 20:36:26 +0800 |
commit | 7290ecf1a6cfa1bb041e3be420bf2cd68d7f3834 (patch) | |
tree | 9a5afca5f0670d2efe692f03b916b7f9044f8d33 /crypto/rsapubkey.asn1 | |
parent | 2746659a4f2827c47df630ecc7b5ef88f3fea804 (diff) | |
download | linux-crypto-7290ecf1a6cfa1bb041e3be420bf2cd68d7f3834.tar.gz linux-crypto-7290ecf1a6cfa1bb041e3be420bf2cd68d7f3834.zip |
crypto: jitterentropy - always select CRYPTO_RNG
When building the jitterentropy driver by itself, we get a link error
when CRYPTO_RNG is not enabled as well:
crypto/built-in.o: In function `jent_mod_init':
jitterentropy-kcapi.c:(.init.text+0x98): undefined reference to `crypto_register_rng'
crypto/built-in.o: In function `jent_mod_exit':
jitterentropy-kcapi.c:(.exit.text+0x60): undefined reference to `crypto_unregister_rng'
This adds a 'select CRYPTO_RNG' to CRYPTO_JITTERENTROPY to ensure the API
is always there when it's used, not just when DRBG is also enabled.
CRYPTO_DRBG would set it implicitly through CRYPTO_JITTERENTROPY now,
but this leaves it in place to make it explicit what the driver does.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/rsapubkey.asn1')
0 files changed, 0 insertions, 0 deletions