summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2026-04-19 23:33:58 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2026-05-07 16:10:00 +0800
commit5dd76c87e47879ca2ef70479962bca01263a5428 (patch)
tree90eb9e0425b98b30f9e9f1f371b3ef3ac5b409e9 /crypto
parente227be3ffde0ec8063c9967062a43237a5545581 (diff)
downloadlinux-next-5dd76c87e47879ca2ef70479962bca01263a5428.tar.gz
linux-next-5dd76c87e47879ca2ef70479962bca01263a5428.zip
crypto: drbg - Flatten the DRBG menu
Now that the menuconfig CRYPTO_DRBG_MENU has no options in it other than the hidden symbol CRYPTO_DRBG, remove it and move CRYPTO_DRBG to its parent menu. Give CRYPTO_DRBG an appropriate prompt and help text. Signed-off-by: Eric Biggers <ebiggers@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/Kconfig17
1 files changed, 5 insertions, 12 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 14519474a67b..1abb3d356458 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -1113,24 +1113,17 @@ endmenu
menu "Random number generation"
-menuconfig CRYPTO_DRBG_MENU
- tristate "NIST SP800-90A DRBG (Deterministic Random Bit Generator)"
- help
- DRBG (Deterministic Random Bit Generator) (NIST SP800-90A)
-
- In the following submenu, one or more of the DRBG types must be selected.
-
-if CRYPTO_DRBG_MENU
-
config CRYPTO_DRBG
- tristate
- default CRYPTO_DRBG_MENU
+ tristate "NIST SP800-90A DRBG (Deterministic Random Bit Generator)"
select CRYPTO_HMAC
select CRYPTO_JITTERENTROPY
select CRYPTO_RNG
select CRYPTO_SHA512
+ help
+ DRBG (Deterministic Random Bit Generator) (NIST SP800-90A)
-endif # if CRYPTO_DRBG_MENU
+ Enable this only if you need it for a FIPS 140 certification.
+ It's otherwise redundant with the kernel's regular RNG.
config CRYPTO_JITTERENTROPY
tristate "CPU Jitter Non-Deterministic RNG (Random Number Generator)"