linux-next: build failure after merge of the crypto tree
Subsystems (2)
Hi Herbert,
After merging the crypto tree, today's linux-next build (sparc64 defconfig) failed like this:
crypto/built-in.o: In function `crypto_authenc_exit_tfm':
authenc.c:(.text+0x11d1c): undefined reference to crypto_put_default_null_skcipher' crypto/built-in.o: In function crypto_authenc_init_tfm':
authenc.c:(.text+0x11d7c): undefined reference to `crypto_get_default_null_skcipher'
Caused by commit
92d95ba91772 ("crypto: authenc - Convert to new AEAD interface")
Those symbols depend on CONFIG_CRYPTO_NULL which is set to 'm' for this build.
I have added this fix patch for today:
From: Stephen Rothwell <[email protected]>
Date: Wed, 5 Aug 2015 16:41:48 +1000
Subject: [PATCH] crypto: authenc - select CRYPTO_NULL
--- crypto/Kconfig | 1 + 1 file changed, 1 insertion(+)
crypto/Kconfig +1 -0
@@ -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.
Signature · 5 lines
2.5.0 -- Cheers, Stephen Rothwell [email protected]
Herbert Xu
maintainerQuoted 10 lines · Stephen Rothwell
Hi Herbert,
After merging the crypto tree, today's linux-next build (sparc64 defconfig) failed like this:
crypto/built-in.o: In function `crypto_authenc_exit_tfm':
authenc.c:(.text+0x11d1c): undefined reference tocrypto_put_default_null_skcipher' crypto/built-in.o: In functioncrypto_authenc_init_tfm':
authenc.c:(.text+0x11d7c): undefined reference to `crypto_get_default_null_skcipher'
Quoted 6 lines
Caused by commit
92d95ba91772("crypto: authenc - Convert to new AEAD interface")Those symbols depend on
CONFIG_CRYPTO_NULLwhich is set to 'm' for this build.
Thanks Stephen. I already have a similar patch in my tree which I will push out soon.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt