]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
KEYS: encrypted: Remove unnecessary selection of CRYPTO_RNG
authorEric Biggers <ebiggers@kernel.org>
Wed, 8 Apr 2026 08:41:35 +0000 (11:41 +0300)
committerJarkko Sakkinen <jarkko@kernel.org>
Mon, 15 Jun 2026 12:19:12 +0000 (15:19 +0300)
encrypted-keys uses the regular Linux RNG (get_random_bytes()), not the
duplicative crypto_rng one.  So it does not need to select CRYPTO_RNG.

Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Reviewed-by: Mimi Zohar <zohar@linux.ibm.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
security/keys/Kconfig

index 84f39e50ca36a0d534c3c7d65475f9f169df9e15..f4510d8cb485f44047fdf11d4ca7527ffaa15e96 100644 (file)
@@ -87,7 +87,6 @@ config ENCRYPTED_KEYS
        select CRYPTO_AES
        select CRYPTO_CBC
        select CRYPTO_LIB_SHA256
-       select CRYPTO_RNG
        help
          This option provides support for create/encrypting/decrypting keys
          in the kernel.  Encrypted keys are instantiated using kernel