diff options
author | Neil Horman <nhorman@tuxdriver.com> | 2008-07-07 10:41:31 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-07-10 08:35:18 -0400 |
commit | b8454eebe380677789735fd6bad368af2e6b2d1e (patch) | |
tree | d1deffadf86c3292e51bde06bf8d2a00c20da697 /crypto/Kconfig | |
parent | 166247f46a9c866e6f7f7d2212be875fb82212a1 (diff) |
crypto: prng - Deterministic CPRNG
This patch adds a cryptographic pseudo-random number generator
based on CTR(AES-128). 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/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index 795e31c8aec2..43b7473ff19b 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig | |||
@@ -666,6 +666,15 @@ config CRYPTO_LZO | |||
666 | help | 666 | help |
667 | This is the LZO algorithm. | 667 | This is the LZO algorithm. |
668 | 668 | ||
669 | comment "Random Number Generation" | ||
670 | |||
671 | config CRYPTO_PRNG | ||
672 | tristate "Pseudo Random Number Generation for Cryptographic modules" | ||
673 | help | ||
674 | This option enables the generic pseudo random number generator | ||
675 | for cryptographic modules. Uses the Algorithm specified in | ||
676 | ANSI X9.31 A.2.4 | ||
677 | |||
669 | source "drivers/crypto/Kconfig" | 678 | source "drivers/crypto/Kconfig" |
670 | 679 | ||
671 | endif # if CRYPTO | 680 | endif # if CRYPTO |