]> 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)
commitb1b5c911975895a8d4182e296c127f340d828410
treeb5fdc5c591c2ed424d6f4365799e44e725e05015
parentd5415ccad192cf1e7c7ba4d1ebd2a874a77e74a7
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: 8d6b8e072dd3 ("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