crypto: hisilicon/sec - not need to enable sm4 extra mode at HW V3
authorKai Ye <yekai13@huawei.com>
Fri, 11 Feb 2022 09:08:18 +0000 (17:08 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:23:55 +0000 (14:23 +0200)
commit69d41c77aadfea1b2fb50f6b3ccab5e72e8eaae4
tree953068e0bc7ac7fcd401a258255f5f4d486f7c16
parentf84b1633004dbf63c00f8f04de8517a26e7d67e3
crypto: hisilicon/sec - not need to enable sm4 extra mode at HW V3

[ Upstream commit f8a2652826444d13181061840b96a5d975d5b6c6 ]

It is not need to enable sm4 extra mode in at HW V3. Here is fix it.

Signed-off-by: Kai Ye <yekai13@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/crypto/hisilicon/sec2/sec_main.c