Meng Yu
bfc1159e7f
crypto: hisilicon/hpre - fix a bug in dh algorithm
Using 'g' not equal to 2 in dh algorithm may cause an error like this:
arm-smmu-v3 arm-smmu-v3.1.auto: event 0x10 received:
dh: Party A: generate public key test failed. err -22
11375.065672] dh alg: dh: test failed on vector 1, err=-22
arm-smmu-v3 arm-smmu-v3.1.auto: 0x0000790000000010
arm-smmu-v3 arm-smmu-v3.1.auto: 0x0000120800000080
hpre-dh self test failed
arm-smmu-v3 arm-smmu-v3.1.auto: 0x0000000000000000
arm-smmu-v3 arm-smmu-v3.1.auto: 0x0000000000000000
arm-smmu-v3 arm-smmu-v3.1.auto: event 0x10 received:
arm-smmu-v3 arm-smmu-v3.1.auto: 0x0000790000000010
arm-smmu-v3 arm-smmu-v3.1.auto: 0x0000120800000083
arm-smmu-v3 arm-smmu-v3.1.auto: 0x00000000000000c0
arm-smmu-v3 arm-smmu-v3.1.auto: 0x0000000000000000
arm-smmu-v3 arm-smmu-v3.1.auto: event 0x10 received:
arm-smmu-v3 arm-smmu-v3.1.auto: 0x0000790000000010
arm-smmu-v3 arm-smmu-v3.1.auto: 0x0000120800000081
arm-smmu-v3 arm-smmu-v3.1.auto: 0x0000000000000040
arm-smmu-v3 arm-smmu-v3.1.auto: 0x0000000000000000
arm-smmu-v3 arm-smmu-v3.1.auto: event 0x10 received:
arm-smmu-v3 arm-smmu-v3.1.auto: 0x0000790000000010
arm-smmu-v3 arm-smmu-v3.1.auto: 0x0000120800000082
arm-smmu-v3 arm-smmu-v3.1.auto: 0x0000000000000080
arm-smmu-v3 arm-smmu-v3.1.auto: 0x0000000000000000
hisi_hpre 0000:79:00.0: dat_rd_poison_int_set [error status=0x8] found
hisi_hpre 0000:79:00.0: ooo_rdrsp_err_int_set [error status=0xfc00] found
hisi_hpre 0000:79:00.0: Controller resetting...
hisi_hpre 0000:79:00.0: Controller reset complete
{2}[Hardware Error]: Hardware error from APEI Generic Hardware Error Source: 0
{2}[Hardware Error]: event severity: recoverable
{2}[Hardware Error]: Error 0, type: recoverable
{2}[Hardware Error]: section type: unknown, c8b328a8-9917-4af6-9a13-2e08ab2e7586
{2}[Hardware Error]: section length: 0x4c
as we missed initiating 'msg->in'.
Fixes: c8b4b477079d("crypto: hisilicon - add HiSilicon HPRE accelerator")
Signed-off-by: Meng Yu <yumeng18@huawei.com>
Reviewed-by: Zaibo Xu <xuzaibo@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2020-09-25 17:48:53 +10:00
..
2020-09-25 17:48:51 +10:00
2020-08-20 14:04:28 +10:00
2020-09-25 17:48:16 +10:00
2020-07-16 21:49:10 +10:00
2020-09-11 14:39:15 +10:00
2020-09-25 17:48:16 +10:00
2020-09-25 17:48:16 +10:00
2020-08-20 14:04:28 +10:00
2020-09-04 17:57:16 +10:00
2020-09-25 17:48:52 +10:00
2020-09-25 17:48:53 +10:00
2020-09-25 17:48:13 +10:00
2020-09-25 17:48:15 +10:00
2020-09-25 17:48:12 +10:00
2020-08-07 11:33:22 -07:00
2020-09-25 17:48:14 +10:00
2020-08-20 14:04:28 +10:00
2020-08-20 14:04:28 +10:00
2020-09-25 17:48:14 +10:00
2020-09-11 14:39:18 +10:00
2020-08-21 14:47:50 +10:00
2020-07-22 00:01:23 +10:00
2020-08-20 14:04:28 +10:00
2017-11-02 11:10:55 +01:00
2020-09-25 17:48:12 +10:00
2020-01-09 11:30:53 +08:00
2020-08-07 11:33:22 -07:00
2020-03-20 14:36:51 +11:00
2019-08-30 18:05:31 +10:00
2019-08-02 14:43:59 +10:00
2017-11-02 11:10:55 +01:00
2020-05-08 15:32:17 +10:00
2017-11-02 11:10:55 +01:00
2020-01-22 16:21:09 +08:00
2019-08-09 15:11:59 +10:00
2020-01-09 11:30:53 +08:00
2019-10-23 19:46:56 +11:00
2020-08-28 16:58:29 +10:00
2020-08-20 14:04:28 +10:00
2020-08-21 14:45:27 +10:00
2020-09-18 17:20:08 +10:00
2020-07-23 17:34:16 +10:00
2020-07-16 21:49:03 +10:00
2017-11-02 11:10:55 +01:00
2020-09-18 17:20:12 +10:00
2017-11-02 11:10:55 +01:00
2020-06-04 22:03:39 +10:00
2020-07-23 17:34:19 +10:00
2020-07-16 21:49:02 +10:00
2020-06-04 22:03:40 +10:00
2019-06-19 17:09:55 +02:00
2020-06-26 14:46:42 +10:00
2020-09-18 17:20:08 +10:00
2020-08-20 14:04:28 +10:00
2020-03-24 21:36:06 +01:00
2019-05-30 11:26:35 -07:00
2020-08-21 14:47:50 +10:00
2020-08-20 14:04:28 +10:00
2020-09-11 14:39:17 +10:00
2020-09-18 17:20:10 +10:00
2020-07-23 17:34:17 +10:00
2020-08-20 14:04:28 +10:00
2020-07-16 21:49:10 +10:00
2019-07-03 22:13:11 +08:00