On Mon, Apr 27, 2009 at 04:56:20PM +0800, Herbert Xu wrote:
> On Fri, Apr 24, 2009 at 12:27:20PM +0200, Steffen Klassert wrote:
> >
> > +   alg = crypto_get_attr_alg(tb, algt->type,
> > +                             (algt->mask & CRYPTO_ALG_TYPE_MASK)
> > +                             | CRYPTO_ALG_PCRYPT);
> 
> Do you really need to exclude pcrypt algorithms here? If the user
> wants to added another layer of pcrypt then we should obey.
> 

I don't need to exclude it. I just wanted to avoid another layer
of pcrypt here because it does not make too much sense to parallelize
a second time. If the aead algorithm is already parallel it would just
add overhead if we parallelize an underlying algorithm too.
Anyway, I would not mind to allow more than one pcrypt layer.

Steffen
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to