Horia Geantă
fd144d83cc
crypto: caam - check sg_count() return value
...
sg_count() internally calls sg_nents_for_len(), which could fail
in case the required number of bytes is larger than the total
bytes in the S/G.
Thus, add checks to validate the input.
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2017-02-15 13:23:39 +08:00
..
2016-10-21 11:03:41 +08:00
2017-02-11 17:55:20 +08:00
2017-02-15 13:23:39 +08:00
2017-02-11 17:52:32 +08:00
2017-02-15 13:23:35 +08:00
2017-02-03 18:16:16 +08:00
2016-12-27 17:51:36 -08:00
2017-01-23 22:50:33 +08:00
2016-11-17 23:34:55 +08:00
2017-02-02 21:54:53 +08:00
2016-07-01 23:45:09 +08:00
2016-08-24 21:07:11 +08:00
2016-09-22 18:32:48 +08:00
2016-07-21 12:26:55 +08:00
2017-01-13 18:47:22 +08:00
2017-01-23 22:50:34 +08:00
2017-02-03 18:16:14 +08:00
2017-02-03 18:16:14 +08:00
2017-02-03 18:16:14 +08:00
2017-02-03 18:16:14 +08:00
2017-02-15 13:23:33 +08:00
2017-02-11 17:52:29 +08:00
2016-12-27 17:50:51 +08:00
2016-12-27 17:50:51 +08:00
2016-09-13 20:27:26 +08:00
2017-01-23 22:50:23 +08:00
2016-08-09 18:47:03 +08:00
2017-02-11 17:55:20 +08:00
2017-02-11 17:55:20 +08:00
2016-11-13 17:45:01 +08:00
2016-08-24 21:04:50 +08:00
2016-07-01 23:45:08 +08:00
2016-04-05 20:35:44 +08:00
2016-09-22 18:27:35 +08:00
2016-09-22 18:27:34 +08:00
2016-09-22 18:32:53 +08:00
2016-11-01 07:47:54 +01:00
2016-11-01 07:47:54 +01:00
2017-01-13 00:24:41 +08:00
2016-05-31 17:52:30 +08:00
2016-11-01 08:37:12 +08:00
2016-11-13 17:44:59 +08:00