Re: [PATCH] crypto: add alignment handling to digest layer

2006-04-05 Thread Atsushi Nemoto
On Thu, 6 Apr 2006 04:05:20 +1000, Herbert Xu <[EMAIL PROTECTED]> wrote: > Don't we need to copy this to an aligned buffer? We don't. I think update functions do not need an aligned buffer for data which is smaller then the alignment size. --- Atsushi Nemoto - To unsubscribe from this list: send

Re: [PATCH] crypto: add alignment handling to digest layer

2006-04-05 Thread Herbert Xu
On Tue, Apr 04, 2006 at 12:04:07AM +0900, Atsushi Nemoto wrote: > > @@ -38,12 +39,24 @@ static void update(struct crypto_tfm *tf > unsigned int bytes_from_page = min(l, ((unsigned int) > (PAGE_SIZE)) - >

Re: [PATCH] crypto: fix unaligned access in khazad module

2006-04-05 Thread Herbert Xu
On Tue, Apr 04, 2006 at 04:55:52PM +0900, Atsushi Nemoto wrote: > > On 64-bit platform, reading 64-bit keys (which is supposed to be > 32-bit aligned) at a time will result in unaligned access. Patch applied. Thanks a lot. -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~