linux/drivers/crypto/hisilicon
Weili Qian d0bac6618e crypto: hisilicon/trng - support tfms sharing the device
[ Upstream commit 3d3135057f ]

Since the number of devices is limited, and the number
of tfms may exceed the number of devices, to ensure that
tfms can be successfully allocated, support tfms
sharing the same device.

Fixes: e4d9d10ef4 ("crypto: hisilicon/trng - add support for PRNG")
Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Chenghai Huang <huangchenghai2@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2026-02-26 14:59:05 -08:00
..
hpre crypto: hisilicon/hpre - support the hpre algorithm fallback 2026-02-26 14:59:03 -08:00
sec crypto: hisilicon/sec - Use int type to store negative error codes 2025-09-13 12:11:06 +08:00
sec2 crypto: hisilicon/sec2 - support skcipher/aead fallback for hardware queue unavailable 2026-02-26 14:59:03 -08:00
trng crypto: hisilicon/trng - support tfms sharing the device 2026-02-26 14:59:05 -08:00
zip crypto: hisilicon - consolidate qp creation and start in hisi_qm_alloc_qps_node 2026-02-26 14:59:03 -08:00
debugfs.c crypto: hisilicon/qm - set NULL to qm->debug.qm_diff_regs 2025-09-20 20:21:04 +08:00
Kconfig crypto: hisilicon/zip - support fallback for zip 2026-02-26 14:59:03 -08:00
Makefile hwrng: histb - Move driver to drivers/char/hw_random/histb-rng.c 2023-05-12 18:48:01 +08:00
qm.c crypto: hisilicon - consolidate qp creation and start in hisi_qm_alloc_qps_node 2026-02-26 14:59:03 -08:00
qm_common.h crypto: hisilicon/qm - simplify the status of qm 2023-12-01 18:03:26 +08:00
sgl.c crypto: hisilicon/sgl - fix inconsistent map/unmap direction issue 2026-02-26 14:59:03 -08:00