RNG: Add Pseudo Random Number Generator to kernel
PATCH 2/2 RNG: Add Pseudo Random Number Generator to kernel
Patch 2/2: Add Kconfig & Makefile support to build prng module
Signed-off-by Neil Horman <[email protected]>
Kconfig | 9 +++++++++ Makefile | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-)
crypto/Kconfig +9 -0
@@ -666,6 +666,15 @@ config CRYPTO_LZO help This is the LZO algorithm. +comment "Random Number Generation" + +config CRYPTO_PRNG + tristate "Pseudo Random Number Generation for Cryptographic modules" + help + This option enables the generic pseudo random number generator + for cryptographic modules. Uses the Algorithm specified in + ANSI X9.31 A.2.4 + source "drivers/crypto/Kconfig" endif # if CRYPTO
crypto/Makefile +0 -0
@@ -69,7 +69,7 @@ obj-$(CONFIG_CRYPTO_MICHAEL_MIC) += michael_mic.o obj-$(CONFIG_CRYPTO_CRC32C) += crc32c.o obj-$(CONFIG_CRYPTO_AUTHENC) += authenc.o obj-$(CONFIG_CRYPTO_LZO) += lzo.o