On Sun, 13 Nov 2005, Herbert Xu wrote: > On Mon, Oct 24, 2005 at 05:56:06PM +0000, Nicolas Pitre wrote: > > > > The current code unconditionally copy the first block for every call to > > sha1_update(). This can be avoided if there is no pending partial block. > > This is always the case on the first call to sha1_update() (if the length > > is >= 64 of course0. > > I added a couple of other optimisations. How does this look to you?
Looks fine indeed. Nicolas - To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
