crypto: hash - Fix async import on shash algorithm
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 4 Nov 2010 18:00:22 +0000 (13:00 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 4 Nov 2010 18:48:37 +0000 (14:48 -0400)
commit90246e79af062fcbb8c3728a5f29cb19b3468f59
tree87b258c5535a98754c682b0f0eef8fba0a415438
parent81280572ca6f54009edfa4deee563e8678784218
crypto: hash - Fix async import on shash algorithm

The function shash_async_import did not initialise the descriptor
correctly prior to calling the underlying shash import function.

This patch adds the required initialisation.

Reported-by: Miloslav Trmac <mitr@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/shash.c