crypto: tcrypt - Handle async return from crypto_ahash_init
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 22 Apr 2015 03:02:27 +0000 (11:02 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 23 Apr 2015 06:18:05 +0000 (14:18 +0800)
commit43a9607d86e8fb110b596d300dbaae895c198fed
tree3cc4ab7889040e4a36be2f389200cc2b5d8bf277
parentb617b702da4e922277806f81c411d3051107d462
crypto: tcrypt - Handle async return from crypto_ahash_init

The function crypto_ahash_init can also be asynchronous just
like update and final.  So all callers must be able to handle
an async return.

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