summaryrefslogtreecommitdiff
path: root/crypto/aead.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-01-25 17:51:21 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2016-01-26 22:27:31 +0800
commitde63a4e2288115a06b70242a269344ce580d8431 (patch)
treefebcabc919d3ebd57902ce1117b4e55952cc362d /crypto/aead.c
parent6a03c25d12bd9b2f6ca85584b231a3e62f1b3b2c (diff)
downloadlinux-crypto-de63a4e2288115a06b70242a269344ce580d8431.tar.gz
linux-crypto-de63a4e2288115a06b70242a269344ce580d8431.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 'crypto/aead.c')
0 files changed, 0 insertions, 0 deletions