crypto: api - Rename CRYPTO_ALG_REQ_CHAIN to CRYPTO_ALG_REQ_VIRT

As chaining has been removed, all that remains of REQ_CHAIN is
just virtual address support.  Rename it before the reintroduction
of batching creates confusion.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Herbert Xu
2025-05-01 20:37:32 +08:00
parent 0efae41128
commit 8fd17374be
8 changed files with 15 additions and 15 deletions

View File

@@ -255,9 +255,9 @@ 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_tfm_req_chain(struct crypto_tfm *tfm)
static inline bool crypto_tfm_req_virt(struct crypto_tfm *tfm)
{
return tfm->__crt_alg->cra_flags & CRYPTO_ALG_REQ_CHAIN;
return tfm->__crt_alg->cra_flags & CRYPTO_ALG_REQ_VIRT;
}
static inline u32 crypto_request_flags(struct crypto_async_request *req)