Re: [PATCH] crypto: hash - select CRYPTO_HASH where needed

2016-01-26 Thread Herbert Xu
On Mon, Jan 25, 2016 at 05:51:21PM +0100, Arnd Bergmann wrote: > 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

[PATCH] crypto: hash - select CRYPTO_HASH where needed

2016-01-25 Thread Arnd Bergmann
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':