Skip to contentSkip to conversation

RNG: Add Pseudo Random Number Generator to kernel

PATCH In review Neil Horman 1 participant 1 message Jul 3, 2008 Crypto API

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 RNG: Add Pseudo Random Number Generator to kernel

Patch 2/2: Add Kconfig & Makefile support to build prng module

 Kconfig  |    9 +++++++++
 Makefile |    2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)
crypto/Kconfig +9 -0
index 795e31c..615ce9b 100644
@@ -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
index d4f3ed8..ef61b3b 100644
@@ -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