Re: [PATCH] crypto: loongson - Select CRYPTO_RNG
From: Qunqin Zhao
Date: Thu May 21 2026 - 23:46:35 EST
在 2026/5/22 上午10:57, Eric Biggers 写道:
On Fri, May 22, 2026 at 10:52:42AM +0800, Huacai Chen wrote:
On Fri, May 22, 2026 at 10:26 AM Eric Biggers <ebiggers@xxxxxxxxxx> wrote:By the way, do any of the loongson people have any comment on what they
This driver registers a rng_alg, so it requires CRYPTO_RNG.Reviewed-by: Huacai Chen <chenhuacai@xxxxxxxxxxx>
Fixes: 766b2d724c8d ("crypto: loongson - add Loongson RNG driver support")
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Closes: https://lore.kernel.org/oe-kbuild-all/202605201622.qWOiiZTV-lkp@xxxxxxxxx/
Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
---
drivers/crypto/loongson/Kconfig | 1 +
1 file changed, 1 insertion(+)
think the point of this driver is? It's not registered with the actual
To provide an AF_ALG-based random number generation interface for other modules and user-space programs.
Thanks,
Qunqin
hwrng subsystem, but rather the pointless crypto_rng system which no one
uses. So if it was intended to provide entropy for /dev/urandom etc.,
that isn't what it's doing.
Can we just delete this driver?
- Eric