Antoine Ténart
60c4081ec4
crypto: inside-secure - fix the sha state length in hmac_sha1_setkey
...
A check is performed on the ipad/opad in the safexcel_hmac_sha1_setkey
function, but the index used by the loop doing it is wrong. It is
currently the size of the state array while it should be the size of a
sha1 state. This patch fixes it.
Fixes: 1b44c5a60c13 ("crypto: inside-secure - add SafeXcel EIP197 crypto engine driver")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2017-08-03 13:36:11 +08:00
..
2017-06-20 11:21:14 +08:00
2017-07-18 17:00:59 +08:00
2017-07-12 18:38:07 +08:00
2017-07-18 17:01:00 +08:00
2017-06-22 16:54:09 +08:00
2017-07-14 22:49:50 -07:00
2017-08-03 13:36:11 +08:00
2017-05-23 12:52:07 +08:00
2017-06-19 14:11:50 +08:00
2016-11-17 23:34:55 +08:00
2017-07-06 19:20:54 -07:00
2016-07-01 23:45:09 +08:00
2016-08-24 21:07:11 +08:00
2017-04-30 01:45:21 +08:00
2017-06-19 14:19:52 +08:00
2017-03-09 17:01:09 -08:00
2017-05-02 23:41:42 +03:00
2017-06-20 11:21:49 +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-07-12 18:38:06 +08:00
2013-03-10 16:46:42 +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
2017-04-21 20:30:46 +08:00
2014-05-22 21:03:13 +08:00
2014-05-22 21:03:12 +08:00
2016-09-13 20:27:26 +08:00
2017-05-23 12:52:03 +08:00
2017-05-23 12:52:07 +08:00
2017-07-18 17:01:08 +08:00
2017-06-10 12:04:33 +08:00
2017-05-23 12:52:08 +08:00
2014-08-29 21:46:36 +08:00
2016-08-24 21:04:50 +08:00
2016-07-01 23:45:08 +08:00
2010-05-19 14:14:04 +10:00
2017-06-20 11:21:48 +08:00
2010-05-19 14:14:04 +10:00
2017-06-20 11:21:29 +08:00
2017-06-10 12:04:19 +08:00
2017-06-10 12:04:19 +08:00
2017-06-10 12:04:15 +08:00
2017-06-10 12:04:15 +08:00
2017-06-10 12:04:16 +08:00
2017-06-10 12:04:20 +08:00
2016-11-01 07:47:54 +01:00
2016-11-01 07:47:54 +01:00
2011-02-21 22:42:40 +11:00
2017-01-13 00:24:41 +08:00
2017-03-24 22:03:00 +08:00
2016-11-01 08:37:12 +08:00
2017-06-19 14:11:44 +08:00
2015-12-04 22:29:56 +08:00