1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/crypto/allwinner/sun8i-ss
Corentin Labbe 2e5545acf6 crypto: sun8i-ss - 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:20 +08:00
..
Makefile crypto: sun8i-ss - support hash algorithms 2020-09-25 17:48:17 +10:00
sun8i-ss-cipher.c crypto: sun8i-ss - do not fallback if cryptlen is less than sg length 2022-05-13 17:24:20 +08:00
sun8i-ss-core.c crypto: sun8i-ss - add hmac(sha1) 2022-05-13 17:24:19 +08:00
sun8i-ss-hash.c crypto: sun8i-ss - add hmac(sha1) 2022-05-13 17:24:19 +08:00
sun8i-ss-prng.c crypto: sun8i-ss - using pm_runtime_resume_and_get instead of pm_runtime_get_sync 2022-04-29 13:44:57 +08:00
sun8i-ss.h crypto: sun8i-ss - add hmac(sha1) 2022-05-13 17:24:19 +08:00