Message ID | 643ea20fc76a882567cc627d682d6c07a563935d.1746365585.git.herbert@gondor.apana.org.au |
---|---|
State | New |
Headers | show |
Series | [v2,1/6] crypto: shash - Cap state size to HASH_MAX_STATESIZE | expand |
diff --git a/crypto/shash.c b/crypto/shash.c index 44a6df3132ad..dee391d47f51 100644 --- a/crypto/shash.c +++ b/crypto/shash.c @@ -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
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> --- crypto/shash.c | 1 + 1 file changed, 1 insertion(+)