aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
authorEric Biggers <ebiggers@kernel.org>2026-04-08 11:41:35 +0300
committerJarkko Sakkinen <jarkko@kernel.org>2026-05-04 13:50:40 +0300
commit3471647090e4645bf27f7abfea7a42f28bd5326a (patch)
treea959b47a02df8d096b30fed8bf5abb542c8c1148 /security
parent7fd2df204f342fc17d1a0bfcd474b24232fb0f32 (diff)
downloadlinux-next-history-3471647090e4645bf27f7abfea7a42f28bd5326a.tar.gz
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>
Diffstat (limited to 'security')
-rw-r--r--security/keys/Kconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/keys/Kconfig b/security/keys/Kconfig
index 84f39e50ca36a..f4510d8cb485f 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