Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torvalds/linux.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe@baylibre.com>2022-05-02 23:19:29 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2022-05-13 12:24:48 +0300
commit42a01af3f13f09656af1f97d58e98415242eef45 (patch)
tree6fdfa44fe1fc2a6bbd570808b5147b75e84841e8 /crypto/cryptd.c
parentaff388f7874653aea0b8087cfedec52336d2066a (diff)
crypto: sun8i-ce - do not fallback if cryptlen is less than sg length
The sg length could be more than remaining data on it. So check the length requirement against the minimum between those two values. Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/cryptd.c')
0 files changed, 0 insertions, 0 deletions