diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-01-25 17:51:21 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-01-26 15:27:31 +0100 |
commit | 578c60fbeb913e0f2aa49f37a04d475b615c8a8d (patch) | |
tree | 3289870b26d44107a4a320914f996aeea4b53910 /drivers/char | |
parent | crypto: chacha20-ssse3 - Align stack pointer to 64 bytes (diff) | |
download | linux-578c60fbeb913e0f2aa49f37a04d475b615c8a8d.tar.xz linux-578c60fbeb913e0f2aa49f37a04d475b615c8a8d.zip |
crypto: ghash,poly1305 - select CRYPTO_HASH where needed
The ghash and poly1305 hash implementations can be enabled when
CONFIG_CRYPTO_HASH is turned off, causing a link error:
crypto/built-in.o: In function `ghash_mod_init':
(.init.text+0xd0): undefined reference to `crypto_register_shash'
crypto/built-in.o: In function `ghash_mod_exit':
(.exit.text+0xb4): undefined reference to `crypto_unregister_shash'
crypto/built-in.o: In function `poly1305_mod_init':
(.init.text+0xb4): undefined reference to `crypto_register_shash'
crypto/built-in.o: In function `poly1305_mod_exit':
(.exit.text+0x98): undefined reference to `crypto_unregister_shash'
This adds an explicit 'select', like all other hashes have it.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions