diff options
| author | Paul Louvel <paul.louvel@bootlin.com> | 2026-05-07 17:41:52 +0300 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2026-05-15 13:08:48 +0300 |
| commit | 59b5d899e33701665f18abe6bebf987427876e3e (patch) | |
| tree | f85b24fc3f2bd19f3c5f3e430506735e60d6c6e4 /scripts/checkstack.pl | |
| parent | f8713d9e6091755dd30f7f1cfa25f8440cddf81b (diff) | |
| download | linux-59b5d899e33701665f18abe6bebf987427876e3e.tar.xz | |
crypto: talitos/hash - prepare SEC1 descriptor chaining, remove additional descriptor
Currently, when SEC1 has buffered data (nbuf != 0), the ahash code
creates an additional descriptor on the fly inside
common_nonsnoop_hash() to handle the remainder of the data. This
approach is incompatible with the arbitrary-length descriptor chaining
that follows.
Remove the "additional descriptor" logic from common_nonsnoop_hash()
and common_nonsnoop_hash_unmap().
Also remove the nbytes adjustment for SEC1 in ahash_edesc_alloc()
that subtracted nbuf.
Cc: stable@vger.kernel.org
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
