diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-10-04 13:27:00 +0300 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2017-10-18 11:12:40 +0300 |
commit | 3cd18d1981731d5f74b8e437009124ac99905d14 (patch) | |
tree | 0b6026c1446019eea253a9c906fada42d11a87db /crypto/asymmetric_keys | |
parent | f66665c09ab489a11ca490d6a82df57cfc1bea3e (diff) | |
download | linux-3cd18d1981731d5f74b8e437009124ac99905d14.tar.xz |
security/keys: BIG_KEY requires CONFIG_CRYPTO
The recent rework introduced a possible randconfig build failure
when CONFIG_CRYPTO configured to only allow modules:
security/keys/big_key.o: In function `big_key_crypt':
big_key.c:(.text+0x29f): undefined reference to `crypto_aead_setkey'
security/keys/big_key.o: In function `big_key_init':
big_key.c:(.init.text+0x1a): undefined reference to `crypto_alloc_aead'
big_key.c:(.init.text+0x45): undefined reference to `crypto_aead_setauthsize'
big_key.c:(.init.text+0x77): undefined reference to `crypto_destroy_tfm'
crypto/gcm.o: In function `gcm_hash_crypt_remain_continue':
gcm.c:(.text+0x167): undefined reference to `crypto_ahash_finup'
crypto/gcm.o: In function `crypto_gcm_exit_tfm':
gcm.c:(.text+0x847): undefined reference to `crypto_destroy_tfm'
When we 'select CRYPTO' like the other users, we always get a
configuration that builds.
Fixes: 428490e38b2e ("security/keys: rewrite all of big_key crypto")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'crypto/asymmetric_keys')
0 files changed, 0 insertions, 0 deletions