summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPaul Louvel <paul.louvel@bootlin.com>2026-05-07 17:41:57 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2026-05-15 13:08:48 +0300
commit6e12daff6ec125102a6fdcafc5aa7199f7ce8933 (patch)
tree47b4eb4229d4da334ab0ece0aef6023bc67d735b /scripts
parent907ae6088c82c9abae2d26477fddd60df6ad003b (diff)
downloadlinux-6e12daff6ec125102a6fdcafc5aa7199f7ce8933.tar.xz
crypto: talitos/hash - fix SEC2 64k - 1 ahash request limitation
The problem described in commit 655ef638a2bc ("crypto: talitos - fix SEC1 32k ahash request limitation") also apply for the SEC2 hardware, but with a limitation of 64k - 1 bytes. Split ahash_done() into SEC1 and SEC2 paths: SEC1 continues to free the whole descriptor list at once, while SEC2 now iterates through descriptors one by one, submitting the next only after the previous completes, which is required since SEC2 cannot chain descriptors in hardware. Cc: stable@vger.kernel.org Fixes: c662b043cdca ("crypto: af_alg/hash: Support MSG_SPLICE_PAGES") Signed-off-by: Paul Louvel <paul.louvel@bootlin.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions