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
..
2015-08-17 16:53:55 +08:00
2015-08-24 22:07:42 +08:00
2015-07-06 16:32:01 +08:00
2015-07-14 14:56:48 +08:00
2015-08-17 19:49:13 +08:00
2015-08-25 21:13:19 +08:00
2015-01-26 11:34:22 +11:00
2015-09-10 17:22:55 +08:00
2015-06-18 14:45:36 +08:00
2015-08-24 22:07:43 +08:00
2012-07-11 11:07:40 +08:00
2015-04-08 22:20:05 +08:00
2013-03-10 16:46:42 +08:00
2015-04-08 22:20:03 +08:00
2013-03-10 16:46:42 +08:00
2015-04-08 22:20:03 +08:00
2015-01-26 11:34:22 +11:00
2014-04-16 20:40:15 +08:00
2014-05-22 21:03:13 +08:00
2014-05-22 21:03:12 +08:00
2014-08-08 15:57:28 -07:00
2015-08-04 17:41:31 +08:00
2015-08-17 16:53:53 +08:00
2015-09-10 17:22:54 +08:00
2015-07-20 15:54:08 +08:00
2015-07-03 11:37:02 -07:00
2014-08-29 21:46:36 +08:00
2015-02-28 23:31:36 +13:00
2010-05-19 14:14:04 +10:00
2015-06-19 22:07:07 +08:00
2010-05-19 14:14:04 +10:00
2015-07-08 15:18:46 +08:00
2015-07-06 16:20:37 +08:00
2015-05-18 12:29:22 +08:00
2015-05-19 15:47:30 +02:00
2015-05-19 15:47:30 +02:00
2011-02-21 22:42:40 +11:00
2015-08-17 16:53:53 +08:00
2014-10-20 16:20:25 +02:00
2015-08-19 22:59:44 +08:00
2015-08-17 16:53:53 +08:00
2015-08-10 23:19:05 +08:00