crypto: sha512 - Move message schedule W[80] to static percpu area
authorAdrian-Ken Rueegsegger <ken@codelabs.ch>
Wed, 17 Dec 2008 05:47:52 +0000 (16:47 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 25 Dec 2008 00:02:25 +0000 (11:02 +1100)
commitf9e2bca6c22d75a289a349f869701214d63b5060
tree083ac49104a185aab02b93328012b46aec5f071a
parent19e2bf146759aea38fd6c2daea08cb7a6367149b
crypto: sha512 - Move message schedule W[80] to static percpu area

The message schedule W (u64[80]) is too big for the stack. In order
for this algorithm to be used with shash it is moved to a static
percpu area.

Signed-off-by: Adrian-Ken Rueegsegger <ken@codelabs.ch>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/sha512_generic.c