linux/drivers/crypto/allwinner/sun8i-ce
Corentin Labbe 42a01af3f1 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>
2022-05-13 17:24:48 +08:00
..
Makefile crypto: sun8i-ce - Add support for the TRNG 2020-09-25 17:48:28 +10:00
sun8i-ce-cipher.c crypto: sun8i-ce - do not fallback if cryptlen is less than sg length 2022-05-13 17:24:48 +08:00
sun8i-ce-core.c crypto: sun8i-ce - rework debugging 2022-05-13 17:24:48 +08:00
sun8i-ce-hash.c crypto: sun8i-ce - rework debugging 2022-05-13 17:24:48 +08:00
sun8i-ce-prng.c crypto: sun8i-ce - using pm_runtime_resume_and_get instead of pm_runtime_get_sync 2022-04-29 13:44:57 +08:00
sun8i-ce-trng.c crypto: sun8i-ce - use kfree_sensitive to clear and free sensitive data 2021-08-12 19:16:57 +08:00
sun8i-ce.h crypto: sun8i-ce - rework debugging 2022-05-13 17:24:48 +08:00