Re: [PATCH] add self-tests for rfc4309(ccm(aes))

2009-04-09 Thread Neil Horman
On Thu, Apr 09, 2009 at 03:16:53PM -0400, Jarod Wilson wrote: > On Thursday 09 April 2009 14:52:04 Neil Horman wrote: > > On Thu, Apr 09, 2009 at 02:34:59PM -0400, Jarod Wilson wrote: > > > Patch is against current cryptodev-2.6 tree, successfully tested via > > > 'modprobe tcrypt type=45'. The num

Re: GCM benchmark

2009-04-09 Thread Huang Ying
On Thu, 2009-04-09 at 16:21 +0800, Herbert Xu wrote: > On Thu, Apr 09, 2009 at 03:50:21PM +0800, Huang Ying wrote: > > Hi, Herbert, > > > > I am working on GCM acceleration with Intel new PCLMULQDQ instructions > > now. Can you tell me how to do GCM benchmark? > > We need to add the infrastructur

Re: [PATCH] add self-tests for rfc4309(ccm(aes))

2009-04-09 Thread Jarod Wilson
On Thursday 09 April 2009 14:52:04 Neil Horman wrote: > On Thu, Apr 09, 2009 at 02:34:59PM -0400, Jarod Wilson wrote: > > Patch is against current cryptodev-2.6 tree, successfully tested via > > 'modprobe tcrypt type=45'. The number of test vectors might be a bit > > excessive, but I tried to hit a

Re: [PATCH] add self-tests for rfc4309(ccm(aes))

2009-04-09 Thread Neil Horman
On Thu, Apr 09, 2009 at 02:34:59PM -0400, Jarod Wilson wrote: > Patch is against current cryptodev-2.6 tree, successfully tested via > 'modprobe tcrypt type=45'. The number of test vectors might be a bit > excessive, but I tried to hit a wide range of combinations of varying > key sizes, associate

[PATCH] add self-tests for rfc4309(ccm(aes))

2009-04-09 Thread Jarod Wilson
Patch is against current cryptodev-2.6 tree, successfully tested via 'modprobe tcrypt type=45'. The number of test vectors might be a bit excessive, but I tried to hit a wide range of combinations of varying key sizes, associate data lengths, input lengths and pass/fail. Signed-off-by: Jarod Wilso

[PATCH] ixp4xx_crypto: check firmware for crypto support

2009-04-09 Thread Christian Hohnstaedt
- the loaded firmware may not support crypto at all or only support DES and 3DES but not AES or support DES, 3DES and AES. - in case of no crypto support of the firmware, the module load will fail. - in case of missing AES support, the AES algorithms are not registered and a warning is

Re: [2.6.30-rc1] device-mapper: table: 254:0: crypt: Error allocating crypto tfm

2009-04-09 Thread Patrick McHardy
Herbert Xu wrote: On Thu, Apr 09, 2009 at 03:05:51PM +0200, Patrick McHardy wrote: It also seems to fix a netfilter problem with modules not loaded automatically anymore. They should still autoload, but now you need to retry the operation manually :) Right, the second attempt succeeded :) --

Re: [2.6.30-rc1] device-mapper: table: 254:0: crypt: Error allocating crypto tfm

2009-04-09 Thread Herbert Xu
On Thu, Apr 09, 2009 at 03:05:51PM +0200, Patrick McHardy wrote: > > It also seems to fix a netfilter problem with modules not loaded > automatically anymore. They should still autoload, but now you need to retry the operation manually :) -- Visit Openswan at http://www.openswan.org/ Email: Herbe

Re: [2.6.30-rc1] device-mapper: table: 254:0: crypt: Error allocating crypto tfm

2009-04-09 Thread Maciej Rutecki
2009/4/9 Patrick McHardy : > Maciej Rutecki wrote: >> >> 2009/4/9 Herbert Xu : >> [...] >> >> Yes, patch helps. Thanks > > It also seems to fix a netfilter problem with modules not loaded > automatically anymore. > ...and mount my usb disk :-) -- Maciej Rutecki http://www.maciek.unixy.pl -- To u

Re: [2.6.30-rc1] device-mapper: table: 254:0: crypt: Error allocating crypto tfm

2009-04-09 Thread Patrick McHardy
Maciej Rutecki wrote: 2009/4/9 Herbert Xu : [...] Yes, patch helps. Thanks It also seems to fix a netfilter problem with modules not loaded automatically anymore. -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majord...@vger.kernel.org Mo

Re: [2.6.30-rc1] device-mapper: table: 254:0: crypt: Error allocating crypto tfm

2009-04-09 Thread Maciej Rutecki
2009/4/9 Herbert Xu : [...] Yes, patch helps. Thanks Tested-by Maciej Rutecki > Signed-off-by: Herbert Xu > > diff --git a/include/linux/kmod.h b/include/linux/kmod.h > index d5fa565..384ca8b 100644 > --- a/include/linux/kmod.h > +++ b/include/linux/kmod.h > @@ -34,7 +34,7 @@ extern int __requ

Re: help for ixp4xx crypto panic

2009-04-09 Thread Karl Hiramoto
timenhhf wrote: > hi, > i read your mail list on net about ixp4xx_crypto panic. > i'm using linux kernel 2.6.28.9, but i can't make the IXP425 NPEs work > all right. > the steps i've done as followed: > (1) download "ixp4xx-microcode_2.4.orig.tar.gz" through the URL: > http://packages.debian.org/zh