aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-10-15 07:46:29 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-15 07:46:29 -0400
commitb2aaf8f74cdc84a9182f6cabf198b7763bcb9d40 (patch)
tree53ccb1c2c14751fe69cf93102e76e97021f6df07 /crypto/Kconfig
parent4f962d4d65923d7b722192e729840cfb79af0a5a (diff)
parent278429cff8809958d25415ba0ed32b59866ab1a8 (diff)
Merge branch 'linus' into stackprotector
Conflicts: arch/x86/kernel/Makefile include/asm-x86/pda.h
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r--crypto/Kconfig109
1 files changed, 101 insertions, 8 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 864456c140fe..39dbd8e4dde1 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -21,6 +21,14 @@ if CRYPTO
21 21
22comment "Crypto core or helper" 22comment "Crypto core or helper"
23 23
24config CRYPTO_FIPS
25 bool "FIPS 200 compliance"
26 help
27 This options enables the fips boot option which is
28 required if you want to system to operate in a FIPS 200
29 certification. You should say no unless you know what
30 this is.
31
24config CRYPTO_ALGAPI 32config CRYPTO_ALGAPI
25 tristate 33 tristate
26 help 34 help
@@ -33,14 +41,21 @@ config CRYPTO_AEAD
33config CRYPTO_BLKCIPHER 41config CRYPTO_BLKCIPHER
34 tristate 42 tristate
35 select CRYPTO_ALGAPI 43 select CRYPTO_ALGAPI
44 select CRYPTO_RNG
36 45
37config CRYPTO_HASH 46config CRYPTO_HASH
38 tristate 47 tristate
39 select CRYPTO_ALGAPI 48 select CRYPTO_ALGAPI
40 49
50config CRYPTO_RNG
51 tristate
52 select CRYPTO_ALGAPI
53
41config CRYPTO_MANAGER 54config CRYPTO_MANAGER
42 tristate "Cryptographic algorithm manager" 55 tristate "Cryptographic algorithm manager"
43 select CRYPTO_ALGAPI 56 select CRYPTO_AEAD
57 select CRYPTO_HASH
58 select CRYPTO_BLKCIPHER
44 help 59 help
45 Create default cryptographic template instantiations such as 60 Create default cryptographic template instantiations such as
46 cbc(aes). 61 cbc(aes).
@@ -65,6 +80,7 @@ config CRYPTO_NULL
65config CRYPTO_CRYPTD 80config CRYPTO_CRYPTD
66 tristate "Software async crypto daemon" 81 tristate "Software async crypto daemon"
67 select CRYPTO_BLKCIPHER 82 select CRYPTO_BLKCIPHER
83 select CRYPTO_HASH
68 select CRYPTO_MANAGER 84 select CRYPTO_MANAGER
69 help 85 help
70 This is a generic software asynchronous crypto daemon that 86 This is a generic software asynchronous crypto daemon that
@@ -84,9 +100,7 @@ config CRYPTO_AUTHENC
84config CRYPTO_TEST 100config CRYPTO_TEST
85 tristate "Testing module" 101 tristate "Testing module"
86 depends on m 102 depends on m
87 select CRYPTO_ALGAPI 103 select CRYPTO_MANAGER
88 select CRYPTO_AEAD
89 select CRYPTO_BLKCIPHER
90 help 104 help
91 Quick & dirty crypto test module. 105 Quick & dirty crypto test module.
92 106
@@ -112,6 +126,7 @@ config CRYPTO_SEQIV
112 tristate "Sequence Number IV Generator" 126 tristate "Sequence Number IV Generator"
113 select CRYPTO_AEAD 127 select CRYPTO_AEAD
114 select CRYPTO_BLKCIPHER 128 select CRYPTO_BLKCIPHER
129 select CRYPTO_RNG
115 help 130 help
116 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
117 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
@@ -212,13 +227,25 @@ comment "Digest"
212 227
213config CRYPTO_CRC32C 228config CRYPTO_CRC32C
214 tristate "CRC32c CRC algorithm" 229 tristate "CRC32c CRC algorithm"
215 select CRYPTO_ALGAPI 230 select CRYPTO_HASH
216 select LIBCRC32C 231 select LIBCRC32C
217 help 232 help
218 Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used 233 Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used
219 by iSCSI for header and data digests and by others. 234 by iSCSI for header and data digests and by others.
220 See Castagnoli93. This implementation uses lib/libcrc32c. 235 See Castagnoli93. This implementation uses lib/libcrc32c.
221 Module will be crc32c. 236 Module will be crc32c.
237
238config CRYPTO_CRC32C_INTEL
239 tristate "CRC32c INTEL hardware acceleration"
240 depends on X86
241 select CRYPTO_HASH
242 help
243 In Intel processor with SSE4.2 supported, the processor will
244 support CRC32C implementation using hardware accelerated CRC32
245 instruction. This option will create 'crc32c-intel' module,
246 which will enable any routine to use the CRC32 instruction to
247 gain performance compared with software implementation.
248 Module will be crc32c-intel.
222 249
223config CRYPTO_MD4 250config CRYPTO_MD4
224 tristate "MD4 digest algorithm" 251 tristate "MD4 digest algorithm"
@@ -241,6 +268,60 @@ config CRYPTO_MICHAEL_MIC
241 should not be used for other purposes because of the weakness 268 should not be used for other purposes because of the weakness
242 of the algorithm. 269 of the algorithm.
243 270
271config CRYPTO_RMD128
272 tristate "RIPEMD-128 digest algorithm"
273 select CRYPTO_ALGAPI
274 help
275 RIPEMD-128 (ISO/IEC 10118-3:2004).
276
277 RIPEMD-128 is a 128-bit cryptographic hash function. It should only
278 to be used as a secure replacement for RIPEMD. For other use cases
279 RIPEMD-160 should be used.
280
281 Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
282 See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
283
284config CRYPTO_RMD160
285 tristate "RIPEMD-160 digest algorithm"
286 select CRYPTO_ALGAPI
287 help
288 RIPEMD-160 (ISO/IEC 10118-3:2004).
289
290 RIPEMD-160 is a 160-bit cryptographic hash function. It is intended
291 to be used as a secure replacement for the 128-bit hash functions
292 MD4, MD5 and it's predecessor RIPEMD
293 (not to be confused with RIPEMD-128).
294
295 It's speed is comparable to SHA1 and there are no known attacks
296 against RIPEMD-160.
297
298 Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
299 See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
300
301config CRYPTO_RMD256
302 tristate "RIPEMD-256 digest algorithm"
303 select CRYPTO_ALGAPI
304 help
305 RIPEMD-256 is an optional extension of RIPEMD-128 with a
306 256 bit hash. It is intended for applications that require
307 longer hash-results, without needing a larger security level
308 (than RIPEMD-128).
309
310 Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
311 See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
312
313config CRYPTO_RMD320
314 tristate "RIPEMD-320 digest algorithm"
315 select CRYPTO_ALGAPI
316 help
317 RIPEMD-320 is an optional extension of RIPEMD-160 with a
318 320 bit hash. It is intended for applications that require
319 longer hash-results, without needing a larger security level
320 (than RIPEMD-160).
321
322 Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
323 See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
324
244config CRYPTO_SHA1 325config CRYPTO_SHA1
245 tristate "SHA1 digest algorithm" 326 tristate "SHA1 digest algorithm"
246 select CRYPTO_ALGAPI 327 select CRYPTO_ALGAPI
@@ -256,8 +337,8 @@ config CRYPTO_SHA256
256 This version of SHA implements a 256 bit hash with 128 bits of 337 This version of SHA implements a 256 bit hash with 128 bits of
257 security against collision attacks. 338 security against collision attacks.
258 339
259 This code also includes SHA-224, a 224 bit hash with 112 bits 340 This code also includes SHA-224, a 224 bit hash with 112 bits
260 of security against collision attacks. 341 of security against collision attacks.
261 342
262config CRYPTO_SHA512 343config CRYPTO_SHA512
263 tristate "SHA384 and SHA512 digest algorithms" 344 tristate "SHA384 and SHA512 digest algorithms"
@@ -614,6 +695,18 @@ config CRYPTO_LZO
614 help 695 help
615 This is the LZO algorithm. 696 This is the LZO algorithm.
616 697
698comment "Random Number Generation"
699
700config CRYPTO_ANSI_CPRNG
701 tristate "Pseudo Random Number Generation for Cryptographic modules"
702 select CRYPTO_AES
703 select CRYPTO_RNG
704 select CRYPTO_FIPS
705 help
706 This option enables the generic pseudo random number generator
707 for cryptographic modules. Uses the Algorithm specified in
708 ANSI X9.31 A.2.4
709
617source "drivers/crypto/Kconfig" 710source "drivers/crypto/Kconfig"
618 711
619endif # if CRYPTO 712endif # if CRYPTO