crypto: hash - Use crypto_request_complete
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 10 Feb 2023 12:20:20 +0000 (20:20 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 13 Feb 2023 10:34:48 +0000 (18:34 +0800)
commitd9588045f540157e36d8d6aeb54d6ce769a89b5b
treead3d494c38ed0a09904daa24c3ece857ced675da
parent700d507805727635e8f57882a7f9641e8ca1eb19
crypto: hash - Use crypto_request_complete

Use the crypto_request_complete helper instead of calling the
completion function directly.

This patch also removes the voodoo programming previously used
for unaligned ahash operations and replaces it with a sub-request.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/ahash.c
include/crypto/internal/hash.h