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

2011-09-23 Thread Herbert Xu
On Wed, Sep 21, 2011 at 11:07:16AM +0200, Steffen Klassert wrote: > > diff --git a/include/linux/cryptouser.h b/include/linux/cryptouser.h > index 62ae124..0c359e5 100644 > --- a/include/linux/cryptouser.h > +++ b/include/linux/cryptouser.h > @@ -40,6 +40,7 @@ enum crypto_attr_type_t { > CRYP

[PATCH 2/2] crypto: blowfish-x86_64: add credits

2011-09-23 Thread Jussi Kivilinna
Signed-off-by: Jussi Kivilinna --- arch/x86/crypto/blowfish_glue.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/x86/crypto/blowfish_glue.c b/arch/x86/crypto/blowfish_glue.c index 40911ab..2568a7b 100644 --- a/arch/x86/crypto/blowfish_glue.c +++ b/arch/x86/cryp

[PATCH 1/2] crypto: blowfish-x86_64: improve x86_64 blowfish 4-way performance

2011-09-23 Thread Jussi Kivilinna
This patch adds improved F-macro for 4-way parallel functions. With new F-macro for 4-way parallel functions, blowfish sees ~15% improvement in speed tests on AMD Phenom II (~5% on Intel Xeon E7330). However when used in 1-way blowfish function new macro would be ~10% slower than original, so old

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

2011-09-23 Thread Steffen Klassert
On Fri, Sep 23, 2011 at 03:55:54PM +1000, Herbert Xu wrote: > On Wed, Sep 21, 2011 at 11:02:38AM +0200, Steffen Klassert wrote: > > > > +/* Netlink message attributes. */ > > +enum crypto_attr_type_t { > > + CRYPTOCFGA_UNSPEC, > > + CRYPTOCFGA_PRIORITY_VAL,/* __u32 */ > > + __CRYPTOC