2008-07-11 20:16:26

by Imre Kaloz

[permalink] [raw]
Subject: [PATCH] The IXP4xx crypto driver should select CRYPTO_AUTHENC

Without CRYPTO_AUTHENC the driver fails to build:
drivers/built-in.o: In function `ixp_module_init':
ixp4xx_crypto.c:(.init.text+0x3250): undefined reference to `crypto_aead_type'

Signed-off-by: Imre Kaloz <[email protected]>
---
drivers/crypto/Kconfig | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index eb2ec2e..e522144 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -195,6 +195,7 @@ config CRYPTO_DEV_IXP4XX
depends on ARCH_IXP4XX
select CRYPTO_DES
select CRYPTO_ALGAPI
+ select CRYPTO_AUTHENC
select CRYPTO_BLKCIPHER
help
Driver for the IXP4xx NPE crypto engine.
--
1.5.2.5



2008-07-13 12:12:46

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH] The IXP4xx crypto driver should select CRYPTO_AUTHENC

On Fri, Jul 11, 2008 at 08:15:02PM +0000, Imre Kaloz wrote:
> Without CRYPTO_AUTHENC the driver fails to build:
> drivers/built-in.o: In function `ixp_module_init':
> ixp4xx_crypto.c:(.init.text+0x3250): undefined reference to `crypto_aead_type'
>
> Signed-off-by: Imre Kaloz <[email protected]>

Patch applied. Thanks!
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt