Re: [PATCH] crypto: ixp4xx - include fix

2012-04-05 Thread Herbert Xu
On Thu, Mar 22, 2012 at 12:00:10PM +, Michał Wróbel wrote: > Before commit de47725421ad5627a5c905f4e40bb844ebc06d29 ("include: replace > linux/module.h with "struct module" wherever possible") was > implicitly included through -> . > > Signed-off-by: Michał Wróbel Patch applied to crypto.

Re: [PATCH] crypto: Fix byte counter overflow in SHA-512

2012-04-05 Thread Herbert Xu
On Fri, Mar 16, 2012 at 08:26:28PM +, Kent Yoder wrote: > The current code only increments the upper 64 bits of the SHA-512 byte > counter when the number of bytes hashed happens to hit 2^64 exactly. > > This patch increments the upper 64 bits whenever the lower 64 bits > overflows. > > Signe