[CRYPTO] gcm: Put abreq in private context instead of on stack
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 6 Dec 2007 06:59:53 +0000 (14:59 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jan 2008 21:16:33 +0000 (08:16 +1100)
commit7f6813786a6521380e1756ca5b4336bc63c5bf7d
tree702cac4982861f61b5de1a7c92de567dd6a5d024
parentb2ab4a57b018aafbba35bff088218f5cc3d2142e
[CRYPTO] gcm: Put abreq in private context instead of on stack

The abreq structure is currently allocated on the stack.  This is broken
if the underlying algorithm is asynchronous.  This patch changes it so
that it's taken from the private context instead which has been enlarged
accordingly.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/gcm.c