Re: [RFC] [PATCH 4/4] esp: add the pcrypt hooks to esp

2009-03-30 Thread Steffen Klassert
On Fri, Mar 27, 2009 at 04:44:57PM +0800, Herbert Xu wrote: > On Mon, Mar 16, 2009 at 12:55:26PM +0100, Steffen Klassert wrote: > > > > @@ -447,7 +448,7 @@ static int esp_init_aead(struct xfrm_state *x) > > struct crypto_aead *aead; > > int err; > > > > - aead = crypto_alloc_aead(x->aea

Re: [RFC] [PATCH 4/4] esp: add the pcrypt hooks to esp

2009-03-27 Thread Herbert Xu
On Mon, Mar 16, 2009 at 12:55:26PM +0100, Steffen Klassert wrote: > > @@ -447,7 +448,7 @@ static int esp_init_aead(struct xfrm_state *x) > struct crypto_aead *aead; > int err; > > - aead = crypto_alloc_aead(x->aead->alg_name, 0, 0); > + aead = crypto_alloc_aead_tfm(x->aead->al

[RFC] [PATCH 4/4] esp: add the pcrypt hooks to esp

2009-03-16 Thread Steffen Klassert
Add the pcrypt hooks to esp to be able to use pcrypt-ed IPsec. Signed-off-by: Steffen Klassert --- net/ipv4/esp4.c |5 +++-- net/ipv6/esp6.c |5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/net/ipv4/esp4.c b/net/ipv4/esp4.c index 18bb383..9f72d94 100644 --- a/net/