Re: [PATCH] crypto: exynos-rng - Remove exynos-rng driver

From: Herbert Xu

Date: Thu Jun 11 2026 - 04:52:11 EST


On Sun, May 31, 2026 at 10:59:31AM -0700, Eric Biggers wrote:
> This driver has no purpose. It doesn't feed into the Linux RNG, nor
> does it implement the hwrng interface. It is accessible only via the
> "rng" algorithm type of AF_ALG, which isn't used in practice. Everyone
> uses either the Linux RNG, or rarely /dev/hwrng.
>
> Moreover, this is a PRNG whose only source of entropy is the 160-bit
> seed the user passes in. So this can be used only by a user who already
> has a source of cryptographically secure random numbers, such as
> /dev/random. Which they can, and do, just use in the first place.
>
> Just remove this driver. There's no need to keep useless code around.
>
> Note that the other crypto_rng drivers in drivers/crypto/ are similarly
> unused and are being removed too. This commit just handles exynos-rng.
>
> Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
> ---
> MAINTAINERS | 8 -
> arch/arm/configs/exynos_defconfig | 1 -
> arch/arm/configs/multi_v7_defconfig | 1 -
> drivers/crypto/Kconfig | 18 --
> drivers/crypto/Makefile | 1 -
> drivers/crypto/exynos-rng.c | 399 ----------------------------
> 6 files changed, 428 deletions(-)
> delete mode 100644 drivers/crypto/exynos-rng.c

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt