Re: [PATCH 0/4] Switch remaining algorithms to shash

2008-12-04 Thread Herbert Xu
On Thu, Dec 04, 2008 at 08:55:57AM +0100, Adrian-Ken Rueegsegger wrote: > > If I read the code correctly l and r are not read-only, e.g. in > michael_update there are multiple assignments to mctx->l and mctx->r. > That's the reason why I left them in the desc context. I see. In that case your pat

Re: [PATCH 0/4] Switch remaining algorithms to shash

2008-12-03 Thread Adrian-Ken Rueegsegger
Hello Herbert, Herbert Xu wrote: > On Thu, Dec 04, 2008 at 01:18:08AM +0100, Adrian-Ken Rueegsegger wrote: >> The first patch removes the message schedule W from struct sha512_ctx >> since it gets calculated anew on each execution of sha512_transform. This >> reduces the size of sha512_ctx conside

Re: [PATCH 0/4] Switch remaining algorithms to shash

2008-12-03 Thread Herbert Xu
On Thu, Dec 04, 2008 at 01:18:08AM +0100, Adrian-Ken Rueegsegger wrote: > > The first patch removes the message schedule W from struct sha512_ctx > since it gets calculated anew on each execution of sha512_transform. This > reduces the size of sha512_ctx considerably and will allow it to be > regi

[PATCH 0/4] Switch remaining algorithms to shash

2008-12-03 Thread Adrian-Ken Rueegsegger
This series converts the remaining hash algorithms to use the new shash interface. The first patch removes the message schedule W from struct sha512_ctx since it gets calculated anew on each execution of sha512_transform. This reduces the size of sha512_ctx considerably and will allow it to be reg