]> git.baikalelectronics.ru Git - kernel.git/commit
n2_crypto: Plumb fallback ahash requests properly.
authorDavid S. Miller <davem@davemloft.net>
Sat, 22 May 2010 08:09:04 +0000 (01:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 May 2010 00:37:15 +0000 (17:37 -0700)
commit66167ae297df1fe1ded66481af89b05c1d855460
treea6726466da33e2be0ed943beb5cb2c9dc3ca146c
parenta745a938158efd2628df01bc6f33d48a30a33a9b
n2_crypto: Plumb fallback ahash requests properly.

Do this by putting the async fallback request at the end of an n2
specific ahash request context, then properly adjusting the request
private size in our ahash ->cra_init().

We also need to put the writable state bits into the n2 request
private instead of the n2 cra_ctx.

With help from Herbert Xu.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/crypto/n2_core.c