[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F0CE210.1080305@codelabs.ch>
Date: Wed, 11 Jan 2012 02:12:48 +0100
From: Adrian-Ken Rueegsegger <ken@...elabs.ch>
To: Alexey Dobriyan <adobriyan@...il.com>
CC: herbert@...dor.apana.org.au, linux-crypto@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: sha512: make it work, undo percpu message schedule
On 01/11/2012 01:00 AM, Alexey Dobriyan wrote:
> commit f9e2bca6c22d75a289a349f869701214d63b5060
> aka "crypto: sha512 - Move message schedule W[80] to static percpu area"
> created global message schedule area.
[snip]
> I personally don't understand this changelog entry:
>
> "The message schedule W (u64[80]) is too big for the stack."
>
> Hash context is dynamically allocated.
My original patch did the same thing as yours and put the message
schedule on the stack in sha512_transform. Herbert argued [1], that it
was too big and suggested to store it in a static per-cpu area.
[1] - http://www.mail-archive.com/linux-crypto@vger.kernel.org/msg02527.html
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists