aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorNeil Horman <nhorman@tuxdriver.com>2008-08-14 08:15:52 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2008-08-29 01:50:04 -0400
commit17f0f4a47df9aea9ee26c939f8057c35e0be1847 (patch)
treed6c7ff6c93573227a49c9e8fe06c53d97950e4e6 /crypto/Kconfig
parentccb778e1841ce04b4c10b39f0dd2558ab2c6dcd4 (diff)
crypto: rng - RNG interface and implementation
This patch adds a random number generator interface as well as a cryptographic pseudo-random number generator based on AES. It is meant to be used in cases where a deterministic CPRNG is required. One of the first applications will be as an input in the IPsec IV generation process. Signed-off-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r--crypto/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index a784c2dce57e..2274293e71e1 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -46,6 +46,10 @@ config CRYPTO_HASH
46 tristate 46 tristate
47 select CRYPTO_ALGAPI 47 select CRYPTO_ALGAPI
48 48
49config CRYPTO_RNG
50 tristate
51 select CRYPTO_ALGAPI
52
49config CRYPTO_MANAGER 53config CRYPTO_MANAGER
50 tristate "Cryptographic algorithm manager" 54 tristate "Cryptographic algorithm manager"
51 select CRYPTO_AEAD 55 select CRYPTO_AEAD
@@ -689,6 +693,18 @@ config CRYPTO_LZO
689 help 693 help
690 This is the LZO algorithm. 694 This is the LZO algorithm.
691 695
696comment "Random Number Generation"
697
698config CRYPTO_ANSI_CPRNG
699 tristate "Pseudo Random Number Generation for Cryptographic modules"
700 select CRYPTO_AES
701 select CRYPTO_RNG
702 select CRYPTO_FIPS
703 help
704 This option enables the generic pseudo random number generator
705 for cryptographic modules. Uses the Algorithm specified in
706 ANSI X9.31 A.2.4
707
692source "drivers/crypto/Kconfig" 708source "drivers/crypto/Kconfig"
693 709
694endif # if CRYPTO 710endif # if CRYPTO