diff options
author | Ovidiu Panait <ovidiu.panait@windriver.com> | 2023-12-01 19:06:22 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-12-08 11:59:45 +0800 |
commit | 5b8668ce3452827d27f8c34ff6ba080a8f983ed0 (patch) | |
tree | 00dc4b550ad5e9eaaa851165e054cc17d9b1fefa /scripts/markup_oops.pl | |
parent | crypto: sahara - fix ahash selftest failure (diff) | |
download | linux-5b8668ce3452827d27f8c34ff6ba080a8f983ed0.tar.gz linux-5b8668ce3452827d27f8c34ff6ba080a8f983ed0.tar.bz2 linux-5b8668ce3452827d27f8c34ff6ba080a8f983ed0.zip |
crypto: sahara - fix processing requests with cryptlen < sg->length
It's not always the case that the entire sg entry needs to be processed.
Currently, when cryptlen is less than sg->legth, "Descriptor length" errors
are encountered.
The error was noticed when testing xts(sahara-ecb-aes) with arbitrary sized
input data. To fix this, take the actual request size into account when
populating the hw links.
Fixes: 5de8875281e1 ("crypto: sahara - Add driver for SAHARA2 accelerator.")
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/markup_oops.pl')
0 files changed, 0 insertions, 0 deletions