umber-kernel/drivers/crypto/hisilicon/hpre
Weili Qian 9f35acf698 crypto: hisilicon/hpre - support the hpre algorithm fallback
[ Upstream commit 6aff4d977e2d582c5d6ff6afd5646c1a459490fa ]

When all hardware queues are busy and no shareable queue,
new processes fail to apply for queues. To avoid affecting
tasks, support fallback mechanism when hardware queues are
unavailable.

HPRE driver supports DH algorithm, limited to prime numbers up to 4K.
It supports prime numbers larger than 4K via fallback mechanism.

Fixes: 05e7b906aa ("crypto: hisilicon/hpre - add 'ECDH' algorithm")
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>
2026-02-26 14:59:03 -08:00
..
Makefile
hpre.h crypto: hisilicon/hpre: extend tag field to 64 bits for better performance 2026-02-26 14:59:02 -08:00
hpre_crypto.c crypto: hisilicon/hpre - support the hpre algorithm fallback 2026-02-26 14:59:03 -08:00
hpre_main.c crypto: hisilicon/qm - enhance the configuration of req_type in queue attributes 2026-02-26 14:59:03 -08:00