mirror of https://github.com/torvalds/linux.git
crypto: shash - Mark shash algorithms as REQ_VIRT
Mark shash algorithms with the REQ_VIRT bit as they can handle virtual addresses as is. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
2b1a29ce33
commit
f4e365d5ca
|
|
@ -450,6 +450,7 @@ static int shash_prepare_alg(struct shash_alg *alg)
|
|||
|
||||
base->cra_type = &crypto_shash_type;
|
||||
base->cra_flags |= CRYPTO_ALG_TYPE_SHASH;
|
||||
base->cra_flags |= CRYPTO_ALG_REQ_VIRT;
|
||||
|
||||
/*
|
||||
* Handle missing optional functions. For each one we can either
|
||||
|
|
|
|||
Loading…
Reference in New Issue