]> git.ipfire.org Git - thirdparty/linux.git/commit
crypto: ahash - Stop legacy tfms from using the set_virt fallback path
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 13 Jun 2025 08:51:38 +0000 (16:51 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 23 Jun 2025 09:00:27 +0000 (17:00 +0800)
commit1e2b7fcd3f075ff8c5b0e4474fe145d1c685f54f
tree08222010cabc60c3132c09fc4c0d50974a4c3187
parent8c8dea2664fcfe861f10980059a116dfe61f536b
crypto: ahash - Stop legacy tfms from using the set_virt fallback path

Ensure that drivers that have not been converted to the ahash API
do not use the ahash_request_set_virt fallback path as they cannot
use the software fallback.

Reported-by: Eric Biggers <ebiggers@kernel.org>
Fixes: 9d7a0ab1c753 ("crypto: ahash - Handle partial blocks in API")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/ahash.c
include/crypto/internal/hash.h