]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: talitos/hash - drop workqueue mechanism for SEC1
authorPaul Louvel <paul.louvel@bootlin.com>
Thu, 7 May 2026 14:41:54 +0000 (16:41 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 May 2026 10:08:48 +0000 (18:08 +0800)
commitbe4802afb1700534e48cb776d0d1e772c27de130
tree88498a9101eee25a1d170fab32b6e5c1ccecf069
parentf1ede6d95d8ad3b32c6a552d2baab805bd00fc38
crypto: talitos/hash - drop workqueue mechanism for SEC1

Now that SEC1 hash uses hardware descriptor chaining instead of a
workqueue to process requests exceeding TALITOS1_MAX_DATA_LEN, the
workqueue code is no longer needed.

Remove sec1_ahash_process_remaining(), the related fields from
talitos_ahash_req_ctx (request_bufsl, areq, request_sl,
remaining_ahash_request_bytes, current_ahash_request_bytes,
sec1_ahash_process_remaining), the dead code in ahash_done(), and
simplify ahash_process_req() to call ahash_process_req_one() directly
with the original areq->src and areq->nbytes.

Cc: stable@vger.kernel.org
Signed-off-by: Paul Louvel <paul.louvel@bootlin.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/talitos.c