aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2008-08-14 08:21:31 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2008-08-29 01:50:06 -0400
commita0f000ec9b61b99111757df138b11144236fc59b (patch)
treebd698163c48b5cd6d6a3c05c8d34d862ebcd86ed /crypto/Kconfig
parent17f0f4a47df9aea9ee26c939f8057c35e0be1847 (diff)
crypto: skcipher - Use RNG interface instead of get_random_bytes
This patch makes the IV generators use the new RNG interface so that the user can pick an RNG other than the default get_random_bytes. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r--crypto/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 2274293e71e1..39dbd8e4dde1 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -41,6 +41,7 @@ config CRYPTO_AEAD
41config CRYPTO_BLKCIPHER 41config CRYPTO_BLKCIPHER
42 tristate 42 tristate
43 select CRYPTO_ALGAPI 43 select CRYPTO_ALGAPI
44 select CRYPTO_RNG
44 45
45config CRYPTO_HASH 46config CRYPTO_HASH
46 tristate 47 tristate
@@ -125,6 +126,7 @@ config CRYPTO_SEQIV
125 tristate "Sequence Number IV Generator" 126 tristate "Sequence Number IV Generator"
126 select CRYPTO_AEAD 127 select CRYPTO_AEAD
127 select CRYPTO_BLKCIPHER 128 select CRYPTO_BLKCIPHER
129 select CRYPTO_RNG
128 help 130 help
129 This IV generator generates an IV based on a sequence number by 131 This IV generator generates an IV based on a sequence number by
130 xoring it with a salt. This algorithm is mainly useful for CTR 132 xoring it with a salt. This algorithm is mainly useful for CTR