Re: [PATCH v2] crypto: algapi - add REQ_VIRT to shash/scomp type check

From: Eric Biggers

Date: Thu Dec 03 2026 - 18:00:17 EST


On Thu, Dec 03, 2026 at 07:31:49PM -0300, Bruno Meneguele wrote:
> Considering shash and scomp algorithms always carry CRYPTO_ALG_REQ_VIRT, add the
> flag to the type for those two directly, so the check validates every template.
>
> Fixes: 9d7a0ab1c753 ("crypto: ahash - Handle partial blocks in API")
> Cc: stable@xxxxxxxxxxxxxxx
> Suggested-by: Eric Biggers <ebiggers@xxxxxxxxxx>
> Signed-off-by: Bruno Meneguele <bmeneg@xxxxxxxxxx>

Acked-by: Eric Biggers <ebiggers@xxxxxxxxxx>

- Eric