Re: [PATCH 2/2] crypto: pcrypt - Add pcrypt crypto parallelization wrapper

2009-10-08 Thread David Miller
From: Steffen Klassert Date: Thu, 8 Oct 2009 09:28:18 +0200 > diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h > index 1af1e4b..6bc5dde 100644 > --- a/include/linux/interrupt.h > +++ b/include/linux/interrupt.h > @@ -350,6 +350,8 @@ enum > TASKLET_SOFTIRQ, > SCHED_SO

[PATCH 1/3] crypto: hash - Remove legacy hash/digest code

2009-10-08 Thread Benjamin Gilbert
6941c3a0 disabled compilation of the legacy digest code but didn't actually remove it. Rectify this. Also, remove the crypto_hash_type extern declaration from algapi.h now that the struct is gone. Signed-off-by: Benjamin Gilbert --- crypto/digest.c | 240 --

[PATCH 3/3] crypto: hash - Remove cra_u.{digest,hash}

2009-10-08 Thread Benjamin Gilbert
Remove unused digest_alg and hash_alg structs from crypto_alg union and kill their definitions. This also ensures that old-style digest/hash algorithms maintained out of tree will break at build time rather than oopsing at runtime. Signed-off-by: Benjamin Gilbert --- include/linux/crypto.h |

[PATCH 2/3] crypto: api - Remove digest case from procfs show handler

2009-10-08 Thread Benjamin Gilbert
Remove special handling of old-style digest algorithms from the procfs show handler. Signed-off-by: Benjamin Gilbert --- crypto/proc.c |7 --- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/crypto/proc.c b/crypto/proc.c index 5dc07e4..ff4cb4a 100644 --- a/crypto/proc.c ++

[PATCH 0/3] Remove dangling pieces of old digest/hash implementation

2009-10-08 Thread Benjamin Gilbert
Hello world, This series removes several unused bits of code associated with the legacy digest/hash implementation. It also fixes one bug: out-of-tree algorithm implementations which still use the legacy interface will build successfully against 2.6.32-rc but oops when they are loaded. Patch 3/3

[PATCH 2/2] crypto: pcrypt - Add pcrypt crypto parallelization wrapper

2009-10-08 Thread Steffen Klassert
This patch adds a parallel crypto template that takes a crypto algorithm and converts it to process the crypto transforms in parallel. For the moment only aead is supported. Signed-off-by: Steffen Klassert --- crypto/Kconfig | 13 ++ crypto/Makefile|2 + crypto/pcry

[PATCH 1/2] padata: generic interface for parallel processing

2009-10-08 Thread Steffen Klassert
This patch introduces an interface to process data objects in parallel. On request it is possible to serialize again. The parallelized objects return after serialization in the same order as they were before the parallelization. Signed-off-by: Steffen Klassert --- include/linux/interrupt.h |

[PATCH 0/2] Parallel crypto/IPsec v6

2009-10-08 Thread Steffen Klassert
This patchset adds the 'pcrypt' parallel crypto template. With this template it is possible to process the crypto requests of a transform in parallel without getting request reorder. This is in particular interesting for IPsec. The parallel crypto template is based on a generic parallelization/ser