crypto: authenc - Add Kconfig dependency on CRYPTO_NULL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 04, 2015 at 09:20:03PM +0800, kbuild test robot wrote:
> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
> head:   a4198fd4b487afc60810f5a12b994721df220022
> commit: 92d95ba91772279b6ef9c6e09661f67abcf27259 [91/97] crypto: authenc - Convert to new AEAD interface
> config: i386-randconfig-i0-201531 (attached as .config)
> reproduce:
>   git checkout 92d95ba91772279b6ef9c6e09661f67abcf27259
>   # save the attached .config to linux build tree
>   make ARCH=i386 
> 
> All error/warnings (new ones prefixed by >>):
> 
>    crypto/built-in.o: In function `crypto_authenc_exit_tfm':
> >> authenc.c:(.text+0x19141): undefined reference to `crypto_put_default_null_skcipher'
>    crypto/built-in.o: In function `crypto_authenc_init_tfm':
> >> authenc.c:(.text+0x19198): undefined reference to `crypto_get_default_null_skcipher'

Thanks!

---8<---
CRYPTO_AUTHENC needs to depend on CRYPTO_NULL as authenc uses
null for copying.

Reported-by: Reported-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>

diff --git a/crypto/Kconfig b/crypto/Kconfig
index 354bb69..ac7cc62 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -200,6 +200,7 @@ config CRYPTO_AUTHENC
 	select CRYPTO_BLKCIPHER
 	select CRYPTO_MANAGER
 	select CRYPTO_HASH
+	select CRYPTO_NULL
 	help
 	  Authenc: Combined mode wrapper for IPsec.
 	  This is required for IPSec.
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux