Re: [PATCH 01/16] crypto: authenc - Don't multiply priorities

2011-09-21 Thread Herbert Xu
On Wed, Sep 21, 2011 at 10:32:15AM +0200, Steffen Klassert wrote: > > Therefore I'll bring the update functions back. I'll use your option 1) > to deal with the algorithms on top of the changed one. Sounds good. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Ke

[PATCH 29/57] crypto: irq: Remove IRQF_DISABLED

2011-09-21 Thread Yong Zhang
Since commit [c58543c8: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled and we even check and yell when an interrupt handler returns with interrupts enabled (see commit [b738a50a: genirq: Warn when handler enables interrupts]). So now this

[PATCH v3 17/17] crypto: Add userspace report for compress type algorithms

2011-09-21 Thread Steffen Klassert
Signed-off-by: Steffen Klassert --- crypto/crypto_user.c | 20 include/linux/cryptouser.h |1 + 2 files changed, 21 insertions(+), 0 deletions(-) diff --git a/crypto/crypto_user.c b/crypto/crypto_user.c index cd08b2f..b5a55f6 100644 --- a/crypto/crypto_user.c ++

[PATCH 16/17] crypto: Add userspace report for cipher type algorithms

2011-09-21 Thread Steffen Klassert
Signed-off-by: Steffen Klassert --- crypto/crypto_user.c | 29 + include/linux/cryptouser.h |8 2 files changed, 37 insertions(+), 0 deletions(-) diff --git a/crypto/crypto_user.c b/crypto/crypto_user.c index a5e92a3..cd08b2f 100644 --- a/crypto/

[PATCH v3 15/17] crypto: Add userspace report for rng type algorithms

2011-09-21 Thread Steffen Klassert
Signed-off-by: Steffen Klassert --- crypto/rng.c | 20 include/linux/cryptouser.h |6 ++ 2 files changed, 26 insertions(+), 0 deletions(-) diff --git a/crypto/rng.c b/crypto/rng.c index 45229ae..feb7de0 100644 --- a/crypto/rng.c +++ b/crypto/rng.c @@

[PATCH v3 14/17] crypto: Add userspace report for pcompress type algorithms

2011-09-21 Thread Steffen Klassert
Signed-off-by: Steffen Klassert --- crypto/pcompress.c | 18 ++ include/linux/cryptouser.h |5 + 2 files changed, 23 insertions(+), 0 deletions(-) diff --git a/crypto/pcompress.c b/crypto/pcompress.c index f7c4a7d..e9801f0 100644 --- a/crypto/pcompress.c +++ b/

[PATCH v3 13/17] crypto: Add userspace report for nivaead type algorithms

2011-09-21 Thread Steffen Klassert
Signed-off-by: Steffen Klassert --- crypto/aead.c | 23 +++ include/linux/cryptouser.h |1 + 2 files changed, 24 insertions(+), 0 deletions(-) diff --git a/crypto/aead.c b/crypto/aead.c index bb641bd..44ced3c 100644 --- a/crypto/aead.c +++ b/crypto/aead.c

[PATCH v3 12/17] crypto: Add userspace report for aead type algorithms

2011-09-21 Thread Steffen Klassert
Signed-off-by: Steffen Klassert --- crypto/aead.c | 25 + include/linux/cryptouser.h |9 + 2 files changed, 34 insertions(+), 0 deletions(-) diff --git a/crypto/aead.c b/crypto/aead.c index 6729e8f..bb641bd 100644 --- a/crypto/aead.c +++ b/cryp

[PATCH v3 11/17] crypto: Add userspace report for givcipher type algorithms

2011-09-21 Thread Steffen Klassert
Signed-off-by: Steffen Klassert --- crypto/ablkcipher.c| 23 +++ include/linux/cryptouser.h |1 + 2 files changed, 24 insertions(+), 0 deletions(-) diff --git a/crypto/ablkcipher.c b/crypto/ablkcipher.c index 3b0dc30..3f8da55 100644 --- a/crypto/ablkcipher.c ++

[PATCH v3 10/17] crypto: Add userspace report for ablkcipher type algorithms

2011-09-21 Thread Steffen Klassert
Signed-off-by: Steffen Klassert --- crypto/ablkcipher.c| 25 + include/linux/cryptouser.h |1 + 2 files changed, 26 insertions(+), 0 deletions(-) diff --git a/crypto/ablkcipher.c b/crypto/ablkcipher.c index fdc67d3..3b0dc30 100644 --- a/crypto/ablkcipher.c

[PATCH v3 09/17] crypto: Add userspace report for blkcipher type algorithms

2011-09-21 Thread Steffen Klassert
Signed-off-by: Steffen Klassert --- crypto/blkcipher.c | 25 + include/linux/cryptouser.h | 10 ++ 2 files changed, 35 insertions(+), 0 deletions(-) diff --git a/crypto/blkcipher.c b/crypto/blkcipher.c index 7a72192..2572d26 100644 --- a/crypto/blkcip

[PATCH v3 08/17] crypto: Add userspace report for ahash type algorithms

2011-09-21 Thread Steffen Klassert
Signed-off-by: Steffen Klassert --- crypto/ahash.c | 21 + include/linux/cryptouser.h |1 + 2 files changed, 22 insertions(+), 0 deletions(-) diff --git a/crypto/ahash.c b/crypto/ahash.c index f669822..d5798fe 100644 --- a/crypto/ahash.c +++ b/crypto/ahash.

[PATCH v3 07/17] crypto: Add userspace report for shash type algorithms

2011-09-21 Thread Steffen Klassert
Signed-off-by: Steffen Klassert --- crypto/shash.c | 21 + include/linux/cryptouser.h |7 +++ 2 files changed, 28 insertions(+), 0 deletions(-) diff --git a/crypto/shash.c b/crypto/shash.c index 76f74b9..cc3049f 100644 --- a/crypto/shash.c +++ b/crypto/

[PATCH v3 06/17] crypto: Add userspace report for larval type algorithms

2011-09-21 Thread Steffen Klassert
Signed-off-by: Steffen Klassert --- crypto/crypto_user.c | 12 include/linux/cryptouser.h |5 + 2 files changed, 17 insertions(+), 0 deletions(-) diff --git a/crypto/crypto_user.c b/crypto/crypto_user.c index 12cec5e..a5e92a3 100644 --- a/crypto/crypto_user.c +++ b/

[PATCH v3 05/17] crypto: Add a report function pointer to crypto_typ

2011-09-21 Thread Steffen Klassert
We add a report function pointer to struct crypto_type. This function pointer is used from the crypto userspace configuration API to report crypto algorithms to userspace. Signed-off-by: Steffen Klassert --- crypto/crypto_user.c|8 include/crypto/algapi.h |2 ++ 2 files chan

[PATCH v3 04/17] crypto: Add userspace configuration API

2011-09-21 Thread Steffen Klassert
This patch adds a basic userspace configuration API for the crypto layer. With this it is possible to instantiate, remove and to show crypto algorithms from userspace. Signed-off-by: Steffen Klassert --- crypto/Kconfig |7 + crypto/Makefile|1 + crypto/crypto_user

[PATCH v3 03/17] crypto: Export crypto_remove_final

2011-09-21 Thread Steffen Klassert
The upcomming crypto usrerspace configuration api needs to remove the spawns on top on an algorithm, so export crypto_remove_final. Signed-off-by: Steffen Klassert --- crypto/algapi.c |5 ++--- crypto/internal.h |1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crypt

[PATCH v3 02/17] crypto: Export crypto_remove_spawns

2011-09-21 Thread Steffen Klassert
The upcomming crypto usrerspace configuration api needs to remove the spawns on top on an algorithm, so export crypto_remove_spawns. Signed-off-by: Steffen Klassert --- crypto/algapi.c |6 +++--- crypto/internal.h |2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/cr

[PATCH v3 01/17] crypto: Add a flag to identify crypto instances

2011-09-21 Thread Steffen Klassert
The upcomming crypto user configuration api needs to identify crypto instances. This patch adds a flag that is set if the algorithm is an instance that is build from templates. Signed-off-by: Steffen Klassert --- crypto/algapi.c|1 + include/linux/crypto.h |5 + 2 files chang

[PATCH v3 00/17] crypto user configuration api

2011-09-21 Thread Steffen Klassert
This patchset adds a netlink based user configuration API for the crypto layer, similar to the configuration API of xfrm. The patchset is based on the current cryptodev-2.6 tree. A userspace tool that makes use of the configuration API is available at https://sourceforge.net/projects/crconf/file

Re: [PATCH 01/16] crypto: authenc - Don't multiply priorities

2011-09-21 Thread Steffen Klassert
On Mon, Aug 15, 2011 at 04:55:46PM +0800, Herbert Xu wrote: > On Mon, Aug 15, 2011 at 10:02:57AM +0200, Steffen Klassert wrote: > > > > I don't think it is broken. It's just easier to handle if an underlying > > algorithm changes it's priority. If the user changes the priority of a > > certain algo