Tim Chen
c459bd7bed
crypto: sha512-mb - Protect sha512 mb ctx mgr access
...
The flusher and regular multi-buffer computation via mcryptd may race with another.
Add here a lock and turn off interrupt to to access multi-buffer
computation state cstate->mgr before a round of computation. This should
prevent the flusher code jumping in.
Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2017-02-11 17:50:41 +08:00
..
2017-01-23 22:50:29 +08:00
2017-01-23 22:50:29 +08:00
2017-02-11 17:50:41 +08:00
2015-01-05 21:35:02 +11:00
2014-11-24 22:43:57 +08:00
2017-01-23 22:50:29 +08:00
2017-01-23 22:50:29 +08:00
2017-02-03 18:14:10 +08:00
2014-11-24 22:43:57 +08:00
2016-04-13 11:37:40 +02:00
2016-04-13 11:37:40 +02:00
2016-02-17 04:07:51 +08:00
2017-01-23 22:50:29 +08:00
2017-01-23 22:50:29 +08:00
2015-09-14 12:21:46 +02:00
2017-01-23 22:50:29 +08:00
2016-02-17 04:07:51 +08:00
2017-01-23 22:50:29 +08:00
2017-01-13 00:26:46 +08:00
2017-01-23 22:50:29 +08:00
2017-01-23 22:50:29 +08:00
2013-05-30 16:36:23 -07:00
2016-01-30 11:22:17 +01:00
2016-10-07 11:14:36 +02:00
2017-01-23 22:50:26 +08:00
2017-01-23 22:50:29 +08:00
2016-01-30 11:22:17 +01:00
2015-01-13 22:30:52 +11:00
2017-01-23 22:50:29 +08:00
2016-11-28 21:23:20 +08:00
2017-01-23 22:50:29 +08:00
2016-06-23 18:29:53 +08:00
2013-04-25 21:09:05 +08:00
2013-04-25 21:01:51 +08:00
2016-11-28 21:23:20 +08:00
2016-06-28 16:06:35 +08:00
2016-04-13 11:37:40 +02:00
2017-01-23 22:50:29 +08:00
2017-01-23 22:50:29 +08:00
2014-11-24 22:43:57 +08:00
2016-04-13 11:37:39 +02:00
2016-02-17 04:07:51 +08:00
2016-03-31 13:35:09 +02:00
2017-01-23 22:50:29 +08:00
2017-01-23 22:50:29 +08:00
2013-01-20 10:16:50 +11:00
2013-01-20 10:16:50 +11:00
2014-03-25 20:25:43 +08:00
2017-01-23 22:50:29 +08:00
2013-01-20 10:16:51 +11:00
2016-05-31 16:41:46 +08:00
2017-01-23 22:50:29 +08:00
2016-05-31 16:41:46 +08:00
2017-01-23 22:50:29 +08:00
2017-01-23 22:50:29 +08:00
2017-01-23 22:50:29 +08:00
2016-05-31 16:41:46 +08:00
2017-01-23 22:50:29 +08:00
2017-01-23 22:50:29 +08:00
2017-01-23 22:50:29 +08:00
2015-09-24 09:21:20 +02:00
2016-02-17 04:07:51 +08:00
2014-11-24 22:43:57 +08:00
2017-01-23 22:50:29 +08:00
2013-01-20 10:16:51 +11:00
2013-01-20 10:16:51 +11:00
2015-04-01 13:17:39 +02:00