diff options
| author | Paul Louvel <paul.louvel@bootlin.com> | 2026-05-07 17:41:57 +0300 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2026-05-15 13:08:48 +0300 |
| commit | 6e12daff6ec125102a6fdcafc5aa7199f7ce8933 (patch) | |
| tree | 47b4eb4229d4da334ab0ece0aef6023bc67d735b /scripts/checkstack.pl | |
| parent | 907ae6088c82c9abae2d26477fddd60df6ad003b (diff) | |
| download | linux-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/checkstack.pl')
0 files changed, 0 insertions, 0 deletions
