linux/drivers/crypto/sunxi-ss
LABBE Corentin 9da75de030 crypto: sunxi-ss - Fix a possible driver hang with ciphers
The sun4i_ss_opti_poll function cipher data until the output miter have
a length of 0.
If the crypto API client, give more SGs than necessary this could result
in an infinite loop.
Fix it by checking for remaining bytes, just like sun4i_ss_cipher_poll().

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2015-09-10 17:22:55 +08:00
..
Makefile
sun4i-ss-cipher.c crypto: sunxi-ss - Fix a possible driver hang with ciphers 2015-09-10 17:22:55 +08:00
sun4i-ss-core.c crypto: sunxi-ss - Add optional reset control support 2015-08-13 15:13:23 +08:00
sun4i-ss-hash.c
sun4i-ss.h crypto: sunxi-ss - Add optional reset control support 2015-08-13 15:13:23 +08:00