lkml.org 
[lkml]   [2009]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateMon, 20 Jul 2009 16:50:04 +0800
FromHerbert Xu <>
SubjectRe: [RFC] [PATCH 2/7] crypto: authenc - convert to ahash
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@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

\
 
 \ /
  Last update: 2009-07-20 10:53    [from the cache]
©2003-2010