Re: [PATCH] crypto: aesni-intel - Add ivsize to ablk_ecb_alg

From: Josh Boyer
Date: Thu Aug 18 2011 - 13:44:37 EST


On Tue, Aug 16, 2011 at 08:32:27PM +0800, Herbert Xu wrote:
> On Mon, Aug 15, 2011 at 07:50:39AM -0400, Josh Boyer wrote:
> >
> > Well, yes, it does in this code:
> >
> > if (!((alg->cra_flags & CRYPTO_ALG_TYPE_MASK) ==
> > CRYPTO_ALG_TYPE_BLKCIPHER ? alg->cra_blkcipher.ivsize :
> > alg->cra_ablkcipher.ivsize)) {
> >
> > printk(KERN_ERR "%s: %d\n", __func__, __LINE__);
> > return alg;
> > }
> >
> > But the lookup seems to fail after it returns (see traces below).
>
> OK something's clearly screwed up. I'll try to reproduce this
> here.

Any luck on this? If there's anything further I can try or if you need
some data from me, just let me know.

josh
--
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/