]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: hisilicon/sec - fix the aead software fallback for engine
authorKai Ye <yekai13@huawei.com>
Sat, 19 Feb 2022 08:08:08 +0000 (16:08 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 23 Feb 2022 03:28:33 +0000 (15:28 +1200)
commit9347f8d68317e567dd8c93ab7e77bced272da3c2
treeb5fdc5c591c2ed424d6f4365799e44e725e05015
parent91ce2f31785cbe51c9a20095904ab46a61be069a
crypto: hisilicon/sec - fix the aead software fallback for engine

Due to the subreq pointer misuse the private context memory. The aead
soft crypto occasionally casues the OS panic as setting the 64K page.
Here is fix it.

Fixes: bcdd405ca0f3 ("crypto: hisilicon/sec - add fallback tfm...")
Signed-off-by: Kai Ye <yekai13@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/sec2/sec_crypto.c