linux/drivers/crypto/hisilicon
Weili Qian 5b90073def crypto: hisilicon/qm - alloc buffer to set and get xqc
If the temporarily applied memory is used to set or get the xqc
information, the driver releases the memory immediately after the
hardware mailbox operation time exceeds the driver waiting time.
However, the hardware does not cancel the operation, so the hardware
may write data to released memory.

Therefore, when the driver is bound to a device, the driver reserves
memory for the xqc configuration. The subsequent xqc configuration
uses the reserved memory to prevent hardware from accessing the
released memory.

Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2023-10-14 12:05:39 +08:00
..
hpre crypto: hisilicon/qm - check function qp num before alg register 2023-10-05 18:16:31 +08:00
sec crypto: hisilicon/sec - Do not check for 0 return after calling platform_get_irq() 2023-08-11 19:19:27 +08:00
sec2 crypto: hisilicon/qm - check function qp num before alg register 2023-10-05 18:16:31 +08:00
trng hwrng: histb - Move driver to drivers/char/hw_random/histb-rng.c 2023-05-12 18:48:01 +08:00
zip crypto: hisilicon/qm - check function qp num before alg register 2023-10-05 18:16:31 +08:00
debugfs.c crypto: hisilicon/qm - alloc buffer to set and get xqc 2023-10-14 12:05:39 +08:00
Kconfig hwrng: histb - Move driver to drivers/char/hw_random/histb-rng.c 2023-05-12 18:48:01 +08:00
Makefile hwrng: histb - Move driver to drivers/char/hw_random/histb-rng.c 2023-05-12 18:48:01 +08:00
qm_common.h crypto: hisilicon/qm - alloc buffer to set and get xqc 2023-10-14 12:05:39 +08:00
qm.c crypto: hisilicon/qm - alloc buffer to set and get xqc 2023-10-14 12:05:39 +08:00
sgl.c mm, treewide: redefine MAX_ORDER sanely 2023-04-05 19:42:46 -07:00