[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071108104040.GA16312@gondor.apana.org.au>
Date: Thu, 8 Nov 2007 18:40:40 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>
Cc: bhalevy@...asas.com, linux-crypto@...r.kernel.org,
michaelc@...wisc.edu, netdev@...r.kernel.org
Subject: Re: Fwd: Re: [PATCH] iSCSI fix endieness of digest to be network byte order
On Thu, Nov 08, 2007 at 05:04:09PM +0900, FUJITA Tomonori wrote:
>
> I wonder why crc32c isn't used directly while crc32 is used directly
> since they vary by only the polynomial.
It's because iSCSI uses it with scatterlists. The crypto layer
provides a nice interface for that while using it directly would
require the user to do the scatterlist walk.
> Using crc32c directly might enable us to kill net/sctp/crc32c.c and
> merge lib/crc32.c and lib/libcrc32c?
I'm pretty sure we can kill net/sctp/crc32c.c today by converting
it over to use the crypto interface.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
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 netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists