Re: [RFC] [PATCH 2/7] crypto: authenc - convert to ahash

From: Herbert Xu
Date: Mon Jul 20 2009 - 04:50:26 EST


On Mon, Jul 20, 2009 at 10:36:40AM +0200, Steffen Klassert wrote:
>
> For the crypto-layer it's just scatterwalk_sg_chain() that removes the
> termination bit.

The history behind this is that the crypto layer has used chaining
way before generic chaining was invented. When the generic code
was added I tried to convert crypto over to that, however, that
failed because generic chaining was not ported to every architecture.

So that's why the crypto layer still retains its own chaining.

> For the block-layer it's blk_rq_map_integrity_sg() and two times in
> blk_rq_map_sg().

I suppose we should ask Jens whether he thinks this is worth adding
an interface over?

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
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/