summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2026-04-08 11:41:35 +0300
committerJarkko Sakkinen <jarkko@kernel.org>2026-06-15 15:19:12 +0300
commit3a1705d180b203a6764d2a142d602bbf522d339b (patch)
treedddd9c5f54e0cd31742c5c8ecc8bf142244bd4d5
parentcb481e59ea6cae3b7796ac1d7a22b6b24c3f3c0b (diff)
downloadlinux-3a1705d180b203a6764d2a142d602bbf522d339b.tar.xz
KEYS: encrypted: Remove unnecessary selection of CRYPTO_RNG
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>
-rw-r--r--security/keys/Kconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/keys/Kconfig b/security/keys/Kconfig
index 84f39e50ca36..f4510d8cb485 100644
--- a/security/keys/Kconfig
+++ b/security/keys/Kconfig
@@ -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