crypto: ahash - Remove request chaining

Request chaining requires the user to do too much book keeping.
Remove it from ahash.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Herbert Xu
2025-04-12 13:37:00 +08:00
parent 69e5a1228d
commit 5bb61dc76d
5 changed files with 32 additions and 174 deletions

View File

@@ -267,11 +267,6 @@ static inline u32 crypto_tfm_alg_type(struct crypto_tfm *tfm)
return tfm->__crt_alg->cra_flags & CRYPTO_ALG_TYPE_MASK;
}
static inline bool crypto_request_chained(struct crypto_async_request *req)
{
return !list_empty(&req->list);
}
static inline bool crypto_tfm_req_chain(struct crypto_tfm *tfm)
{
return tfm->__crt_alg->cra_flags & CRYPTO_ALG_REQ_CHAIN;