Re: Fwd: Re: [PATCH] iSCSI fix endieness of digest to be network byte order

2007-11-08 Thread Vlad Yasevich
Herbert Xu wrote: > 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 fo

Re: Fwd: Re: [PATCH] iSCSI fix endieness of digest to be network byte order

2007-11-08 Thread Herbert Xu
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 dire