diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2025-04-12 13:37:00 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-04-16 15:16:20 +0800 |
commit | 5bb61dc76d11a661c323dee1505b408d18c31565 (patch) | |
tree | e96f169617059cbdde348d26a24cebbc52d133f8 /include/crypto/algapi.h | |
parent | 69e5a1228d43f76f7a6a2e73ddd55c543fac8826 (diff) |
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>
Diffstat (limited to 'include/crypto/algapi.h')
-rw-r--r-- | include/crypto/algapi.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/crypto/algapi.h b/include/crypto/algapi.h index 03b7eca8af9a..ede622ecefa8 100644 --- a/include/crypto/algapi.h +++ b/include/crypto/algapi.h @@ -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; |