netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [ESP]: Add select on AUTHENC
@ 2008-03-04 12:17 Herbert Xu
  2008-03-04 13:11 ` Kazunori Miyazawa
  2008-03-04 22:29 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Herbert Xu @ 2008-03-04 12:17 UTC (permalink / raw)
  To: David S. Miller, netdev; +Cc: YOSHIFUJI Hideaki, Kazunori Miyazawa

Hi:

This patch should make the IPv6 tests work again.

[ESP]: Add select on AUTHENC

Now the ESP uses the AEAD interface even for algorithms which are
not combined mode, we need to select CONFIG_CRYPTO_AUTHENC as
otherwise only combined mode algorithms will work.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
diff --git a/net/ipv4/Kconfig b/net/ipv4/Kconfig
index 19880b0..9c7e5ff 100644
--- a/net/ipv4/Kconfig
+++ b/net/ipv4/Kconfig
@@ -343,7 +343,7 @@ config INET_ESP
 	tristate "IP: ESP transformation"
 	select XFRM
 	select CRYPTO
-	select CRYPTO_AEAD
+	select CRYPTO_AUTHENC
 	select CRYPTO_HMAC
 	select CRYPTO_MD5
 	select CRYPTO_CBC
diff --git a/net/ipv6/Kconfig b/net/ipv6/Kconfig
index 3ffb032..58219df 100644
--- a/net/ipv6/Kconfig
+++ b/net/ipv6/Kconfig
@@ -85,7 +85,7 @@ config INET6_ESP
 	depends on IPV6
 	select XFRM
 	select CRYPTO
-	select CRYPTO_AEAD
+	select CRYPTO_AUTHENC
 	select CRYPTO_HMAC
 	select CRYPTO_MD5
 	select CRYPTO_CBC

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [ESP]: Add select on AUTHENC
  2008-03-04 12:17 [ESP]: Add select on AUTHENC Herbert Xu
@ 2008-03-04 13:11 ` Kazunori Miyazawa
  2008-03-04 22:29 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Kazunori Miyazawa @ 2008-03-04 13:11 UTC (permalink / raw)
  To: Herbert Xu; +Cc: David S. Miller, netdev, YOSHIFUJI Hideaki

Hi Herbert,

I could install an IPsec SA with your patch :-)

Thank you,

Herbert Xu wrote:
> Hi:
> 
> This patch should make the IPv6 tests work again.
> 
> [ESP]: Add select on AUTHENC
> 
> Now the ESP uses the AEAD interface even for algorithms which are
> not combined mode, we need to select CONFIG_CRYPTO_AUTHENC as
> otherwise only combined mode algorithms will work.
> 
> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
> 
> Cheers,

--
Kazunori Miyazawa

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ESP]: Add select on AUTHENC
  2008-03-04 12:17 [ESP]: Add select on AUTHENC Herbert Xu
  2008-03-04 13:11 ` Kazunori Miyazawa
@ 2008-03-04 22:29 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2008-03-04 22:29 UTC (permalink / raw)
  To: herbert; +Cc: netdev, yoshfuji, kazunori

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: Tue, 4 Mar 2008 20:17:52 +0800

> This patch should make the IPv6 tests work again.
> 
> [ESP]: Add select on AUTHENC
> 
> Now the ESP uses the AEAD interface even for algorithms which are
> not combined mode, we need to select CONFIG_CRYPTO_AUTHENC as
> otherwise only combined mode algorithms will work.
> 
> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

Applied, thanks a lot!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-03-04 22:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-04 12:17 [ESP]: Add select on AUTHENC Herbert Xu
2008-03-04 13:11 ` Kazunori Miyazawa
2008-03-04 22:29 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).