Re: [BUGFIX] crypto: Fix ctr(aes) testing by specifying geniv

From: Huang Ying
Date: Tue Aug 11 2009 - 22:27:12 EST


On Thu, 2009-08-06 at 10:12 +0800, Huang Ying wrote:
> On Wed, 2009-08-05 at 17:45 +0800, Herbert Xu wrote:
> > On Mon, Aug 03, 2009 at 03:44:43PM +0800, Huang Ying wrote:
> > > When doing "modeprobe tcrypt mode=10", the following error will show
> > > in dmesg.
> > >
> > > alg: skcipher: Failed to load transform for ctr(aes): -22
> > > alg: skcipher: Failed to load transform for ctr(aes): -22
> > > tcrypt: one or more tests failed!
> >
> > I can't reproduce it here:
> >
> > etch1:~# modprobe tcrypt mode=10
> > FATAL: Error inserting tcrypt (/lib/modules/2.6.30/kernel/crypto/tcrypt.ko): Resource temporarily unavailable
> > etch1:~# dmesg|tail
> > alg: No test for digest_null (digest_null-generic)
> > alg: No test for compress_null (compress_null-generic)
> > padlock: VIA PadLock Hash Engine not detected.
> > padlock: VIA PadLock Hash Engine not detected.
> > eth0: link up, 100Mbps, full-duplex, lpa 0x05E1
> > Initializing XFRM netlink socket
> > NET: Registered protocol family 17
> > NET: Registered protocol family 10
> > lo: Disabled Privacy Extensions
> > eth0: no IPv6 routers present
> > etch1:~#
> >
> > The tcrypt test shouldn't use geniv at all.
> >
> > What kernel version was this?
>
> The version is: v2.6.30-6814-gab30046. Kernel config is attached too.

Any follow-up for this patch? Still can not re-produce?

Best Regards,
Huang Ying


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/