]> bbs.cooldavid.org Git - net-next-2.6.git/blame - crypto/Kconfig
xor: make 'xor_blocks' a library routine for use with async_tx
[net-next-2.6.git] / crypto / Kconfig
CommitLineData
685784aa
DW
1#
2# Generic algorithms support
3#
4config XOR_BLOCKS
5 tristate
6
1da177e4
LT
7#
8# Cryptographic API Configuration
9#
10
11menu "Cryptographic options"
12
13config CRYPTO
14 bool "Cryptographic API"
15 help
16 This option provides the core Cryptographic API.
17
cce9e06d
HX
18if CRYPTO
19
20config CRYPTO_ALGAPI
21 tristate
22 help
23 This option provides the API for cryptographic algorithms.
24
b5b7f088
HX
25config CRYPTO_ABLKCIPHER
26 tristate
27 select CRYPTO_BLKCIPHER
28
5cde0af2
HX
29config CRYPTO_BLKCIPHER
30 tristate
31 select CRYPTO_ALGAPI
32
055bcee3
HX
33config CRYPTO_HASH
34 tristate
35 select CRYPTO_ALGAPI
36
2b8c19db
HX
37config CRYPTO_MANAGER
38 tristate "Cryptographic algorithm manager"
39 select CRYPTO_ALGAPI
2b8c19db
HX
40 help
41 Create default cryptographic template instantiations such as
42 cbc(aes).
43
1da177e4 44config CRYPTO_HMAC
8425165d 45 tristate "HMAC support"
0796ae06 46 select CRYPTO_HASH
43518407 47 select CRYPTO_MANAGER
1da177e4
LT
48 help
49 HMAC: Keyed-Hashing for Message Authentication (RFC2104).
50 This is required for IPSec.
51
333b0d7e
KM
52config CRYPTO_XCBC
53 tristate "XCBC support"
54 depends on EXPERIMENTAL
55 select CRYPTO_HASH
56 select CRYPTO_MANAGER
57 help
58 XCBC: Keyed-Hashing with encryption algorithm
59 http://www.ietf.org/rfc/rfc3566.txt
60 http://csrc.nist.gov/encryption/modes/proposedmodes/
61 xcbc-mac/xcbc-mac-spec.pdf
62
1da177e4
LT
63config CRYPTO_NULL
64 tristate "Null algorithms"
cce9e06d 65 select CRYPTO_ALGAPI
1da177e4
LT
66 help
67 These are 'Null' algorithms, used by IPsec, which do nothing.
68
69config CRYPTO_MD4
70 tristate "MD4 digest algorithm"
cce9e06d 71 select CRYPTO_ALGAPI
1da177e4
LT
72 help
73 MD4 message digest algorithm (RFC1320).
74
75config CRYPTO_MD5
76 tristate "MD5 digest algorithm"
cce9e06d 77 select CRYPTO_ALGAPI
1da177e4
LT
78 help
79 MD5 message digest algorithm (RFC1321).
80
81config CRYPTO_SHA1
82 tristate "SHA1 digest algorithm"
cce9e06d 83 select CRYPTO_ALGAPI
1da177e4
LT
84 help
85 SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
86
1da177e4
LT
87config CRYPTO_SHA256
88 tristate "SHA256 digest algorithm"
cce9e06d 89 select CRYPTO_ALGAPI
1da177e4
LT
90 help
91 SHA256 secure hash standard (DFIPS 180-2).
92
93 This version of SHA implements a 256 bit hash with 128 bits of
94 security against collision attacks.
95
96config CRYPTO_SHA512
97 tristate "SHA384 and SHA512 digest algorithms"
cce9e06d 98 select CRYPTO_ALGAPI
1da177e4
LT
99 help
100 SHA512 secure hash standard (DFIPS 180-2).
101
102 This version of SHA implements a 512 bit hash with 256 bits of
103 security against collision attacks.
104
105 This code also includes SHA-384, a 384 bit hash with 192 bits
106 of security against collision attacks.
107
108config CRYPTO_WP512
109 tristate "Whirlpool digest algorithms"
cce9e06d 110 select CRYPTO_ALGAPI
1da177e4
LT
111 help
112 Whirlpool hash algorithm 512, 384 and 256-bit hashes
113
114 Whirlpool-512 is part of the NESSIE cryptographic primitives.
115 Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard
116
117 See also:
118 <http://planeta.terra.com.br/informatica/paulobarreto/WhirlpoolPage.html>
119
120config CRYPTO_TGR192
121 tristate "Tiger digest algorithms"
cce9e06d 122 select CRYPTO_ALGAPI
1da177e4
LT
123 help
124 Tiger hash algorithm 192, 160 and 128-bit hashes
125
126 Tiger is a hash function optimized for 64-bit processors while
127 still having decent performance on 32-bit processors.
128 Tiger was developed by Ross Anderson and Eli Biham.
129
130 See also:
131 <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>.
132
c494e070
RS
133config CRYPTO_GF128MUL
134 tristate "GF(2^128) multiplication functions (EXPERIMENTAL)"
135 depends on EXPERIMENTAL
136 help
137 Efficient table driven implementation of multiplications in the
138 field GF(2^128). This is needed by some cypher modes. This
139 option will be selected automatically if you select such a
140 cipher mode. Only select this option by hand if you expect to load
141 an external module that requires these functions.
142
db131ef9
HX
143config CRYPTO_ECB
144 tristate "ECB support"
145 select CRYPTO_BLKCIPHER
43518407 146 select CRYPTO_MANAGER
db131ef9
HX
147 default m
148 help
149 ECB: Electronic CodeBook mode
150 This is the simplest block cipher algorithm. It simply encrypts
151 the input block by block.
152
153config CRYPTO_CBC
154 tristate "CBC support"
155 select CRYPTO_BLKCIPHER
43518407 156 select CRYPTO_MANAGER
db131ef9
HX
157 default m
158 help
159 CBC: Cipher Block Chaining mode
160 This block cipher algorithm is required for IPSec.
161
91652be5
DH
162config CRYPTO_PCBC
163 tristate "PCBC support"
164 select CRYPTO_BLKCIPHER
165 select CRYPTO_MANAGER
166 default m
167 help
168 PCBC: Propagating Cipher Block Chaining mode
169 This block cipher algorithm is required for RxRPC.
170
64470f1b
RS
171config CRYPTO_LRW
172 tristate "LRW support (EXPERIMENTAL)"
173 depends on EXPERIMENTAL
174 select CRYPTO_BLKCIPHER
175 select CRYPTO_MANAGER
176 select CRYPTO_GF128MUL
177 help
178 LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable
179 narrow block cipher mode for dm-crypt. Use it with cipher
180 specification string aes-lrw-benbi, the key must be 256, 320 or 384.
181 The first 128, 192 or 256 bits in the key are used for AES and the
182 rest is used to tie each cipher block to its logical position.
183
124b53d0
HX
184config CRYPTO_CRYPTD
185 tristate "Software async crypto daemon"
186 select CRYPTO_ABLKCIPHER
187 select CRYPTO_MANAGER
188 help
189 This is a generic software asynchronous crypto daemon that
190 converts an arbitrary synchronous software crypto algorithm
191 into an asynchronous algorithm that executes in a kernel thread.
192
1da177e4
LT
193config CRYPTO_DES
194 tristate "DES and Triple DES EDE cipher algorithms"
cce9e06d 195 select CRYPTO_ALGAPI
1da177e4
LT
196 help
197 DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
198
90831639
DH
199config CRYPTO_FCRYPT
200 tristate "FCrypt cipher algorithm"
201 select CRYPTO_ALGAPI
202 select CRYPTO_BLKCIPHER
203 help
204 FCrypt algorithm used by RxRPC.
205
1da177e4
LT
206config CRYPTO_BLOWFISH
207 tristate "Blowfish cipher algorithm"
cce9e06d 208 select CRYPTO_ALGAPI
1da177e4
LT
209 help
210 Blowfish cipher algorithm, by Bruce Schneier.
211
212 This is a variable key length cipher which can use keys from 32
213 bits to 448 bits in length. It's fast, simple and specifically
214 designed for use on "large microprocessors".
215
216 See also:
217 <http://www.schneier.com/blowfish.html>
218
219config CRYPTO_TWOFISH
220 tristate "Twofish cipher algorithm"
cce9e06d 221 select CRYPTO_ALGAPI
2729bb42 222 select CRYPTO_TWOFISH_COMMON
1da177e4
LT
223 help
224 Twofish cipher algorithm.
225
226 Twofish was submitted as an AES (Advanced Encryption Standard)
227 candidate cipher by researchers at CounterPane Systems. It is a
228 16 round block cipher supporting key sizes of 128, 192, and 256
229 bits.
230
231 See also:
232 <http://www.schneier.com/twofish.html>
233
2729bb42
JF
234config CRYPTO_TWOFISH_COMMON
235 tristate
2729bb42
JF
236 help
237 Common parts of the Twofish cipher algorithm shared by the
238 generic c and the assembler implementations.
239
b9f535ff
JF
240config CRYPTO_TWOFISH_586
241 tristate "Twofish cipher algorithms (i586)"
cce9e06d
HX
242 depends on (X86 || UML_X86) && !64BIT
243 select CRYPTO_ALGAPI
b9f535ff
JF
244 select CRYPTO_TWOFISH_COMMON
245 help
246 Twofish cipher algorithm.
247
248 Twofish was submitted as an AES (Advanced Encryption Standard)
249 candidate cipher by researchers at CounterPane Systems. It is a
250 16 round block cipher supporting key sizes of 128, 192, and 256
251 bits.
252
253 See also:
254 <http://www.schneier.com/twofish.html>
255
eaf44088
JF
256config CRYPTO_TWOFISH_X86_64
257 tristate "Twofish cipher algorithm (x86_64)"
cce9e06d
HX
258 depends on (X86 || UML_X86) && 64BIT
259 select CRYPTO_ALGAPI
eaf44088
JF
260 select CRYPTO_TWOFISH_COMMON
261 help
262 Twofish cipher algorithm (x86_64).
263
264 Twofish was submitted as an AES (Advanced Encryption Standard)
265 candidate cipher by researchers at CounterPane Systems. It is a
266 16 round block cipher supporting key sizes of 128, 192, and 256
267 bits.
268
269 See also:
270 <http://www.schneier.com/twofish.html>
271
1da177e4
LT
272config CRYPTO_SERPENT
273 tristate "Serpent cipher algorithm"
cce9e06d 274 select CRYPTO_ALGAPI
1da177e4
LT
275 help
276 Serpent cipher algorithm, by Anderson, Biham & Knudsen.
277
278 Keys are allowed to be from 0 to 256 bits in length, in steps
279 of 8 bits. Also includes the 'Tnepres' algorithm, a reversed
3dde6ad8 280 variant of Serpent for compatibility with old kerneli.org code.
1da177e4
LT
281
282 See also:
283 <http://www.cl.cam.ac.uk/~rja14/serpent.html>
284
285config CRYPTO_AES
286 tristate "AES cipher algorithms"
cce9e06d 287 select CRYPTO_ALGAPI
1da177e4
LT
288 help
289 AES cipher algorithms (FIPS-197). AES uses the Rijndael
290 algorithm.
291
292 Rijndael appears to be consistently a very good performer in
293 both hardware and software across a wide range of computing
294 environments regardless of its use in feedback or non-feedback
295 modes. Its key setup time is excellent, and its key agility is
296 good. Rijndael's very low memory requirements make it very well
297 suited for restricted-space environments, in which it also
298 demonstrates excellent performance. Rijndael's operations are
299 among the easiest to defend against power and timing attacks.
300
301 The AES specifies three key sizes: 128, 192 and 256 bits
302
303 See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information.
304
305config CRYPTO_AES_586
306 tristate "AES cipher algorithms (i586)"
cce9e06d
HX
307 depends on (X86 || UML_X86) && !64BIT
308 select CRYPTO_ALGAPI
1da177e4
LT
309 help
310 AES cipher algorithms (FIPS-197). AES uses the Rijndael
311 algorithm.
312
313 Rijndael appears to be consistently a very good performer in
314 both hardware and software across a wide range of computing
315 environments regardless of its use in feedback or non-feedback
316 modes. Its key setup time is excellent, and its key agility is
317 good. Rijndael's very low memory requirements make it very well
318 suited for restricted-space environments, in which it also
319 demonstrates excellent performance. Rijndael's operations are
320 among the easiest to defend against power and timing attacks.
321
322 The AES specifies three key sizes: 128, 192 and 256 bits
a2a892a2
AS
323
324 See <http://csrc.nist.gov/encryption/aes/> for more information.
325
326config CRYPTO_AES_X86_64
327 tristate "AES cipher algorithms (x86_64)"
cce9e06d
HX
328 depends on (X86 || UML_X86) && 64BIT
329 select CRYPTO_ALGAPI
a2a892a2
AS
330 help
331 AES cipher algorithms (FIPS-197). AES uses the Rijndael
332 algorithm.
333
334 Rijndael appears to be consistently a very good performer in
335 both hardware and software across a wide range of computing
336 environments regardless of its use in feedback or non-feedback
337 modes. Its key setup time is excellent, and its key agility is
338 good. Rijndael's very low memory requirements make it very well
339 suited for restricted-space environments, in which it also
340 demonstrates excellent performance. Rijndael's operations are
341 among the easiest to defend against power and timing attacks.
342
343 The AES specifies three key sizes: 128, 192 and 256 bits
1da177e4
LT
344
345 See <http://csrc.nist.gov/encryption/aes/> for more information.
346
347config CRYPTO_CAST5
348 tristate "CAST5 (CAST-128) cipher algorithm"
cce9e06d 349 select CRYPTO_ALGAPI
1da177e4
LT
350 help
351 The CAST5 encryption algorithm (synonymous with CAST-128) is
352 described in RFC2144.
353
354config CRYPTO_CAST6
355 tristate "CAST6 (CAST-256) cipher algorithm"
cce9e06d 356 select CRYPTO_ALGAPI
1da177e4
LT
357 help
358 The CAST6 encryption algorithm (synonymous with CAST-256) is
359 described in RFC2612.
360
361config CRYPTO_TEA
fb4f10ed 362 tristate "TEA, XTEA and XETA cipher algorithms"
cce9e06d 363 select CRYPTO_ALGAPI
1da177e4
LT
364 help
365 TEA cipher algorithm.
366
367 Tiny Encryption Algorithm is a simple cipher that uses
368 many rounds for security. It is very fast and uses
369 little memory.
370
371 Xtendend Tiny Encryption Algorithm is a modification to
372 the TEA algorithm to address a potential key weakness
373 in the TEA algorithm.
374
fb4f10ed
AG
375 Xtendend Encryption Tiny Algorithm is a mis-implementation
376 of the XTEA algorithm for compatibility purposes.
377
1da177e4
LT
378config CRYPTO_ARC4
379 tristate "ARC4 cipher algorithm"
cce9e06d 380 select CRYPTO_ALGAPI
1da177e4
LT
381 help
382 ARC4 cipher algorithm.
383
384 ARC4 is a stream cipher using keys ranging from 8 bits to 2048
385 bits in length. This algorithm is required for driver-based
386 WEP, but it should not be for other purposes because of the
387 weakness of the algorithm.
388
389config CRYPTO_KHAZAD
390 tristate "Khazad cipher algorithm"
cce9e06d 391 select CRYPTO_ALGAPI
1da177e4
LT
392 help
393 Khazad cipher algorithm.
394
395 Khazad was a finalist in the initial NESSIE competition. It is
396 an algorithm optimized for 64-bit processors with good performance
397 on 32-bit processors. Khazad uses an 128 bit key size.
398
399 See also:
400 <http://planeta.terra.com.br/informatica/paulobarreto/KhazadPage.html>
401
402config CRYPTO_ANUBIS
403 tristate "Anubis cipher algorithm"
cce9e06d 404 select CRYPTO_ALGAPI
1da177e4
LT
405 help
406 Anubis cipher algorithm.
407
408 Anubis is a variable key length cipher which can use keys from
409 128 bits to 320 bits in length. It was evaluated as a entrant
410 in the NESSIE competition.
411
412 See also:
413 <https://www.cosic.esat.kuleuven.ac.be/nessie/reports/>
414 <http://planeta.terra.com.br/informatica/paulobarreto/AnubisPage.html>
415
416
417config CRYPTO_DEFLATE
418 tristate "Deflate compression algorithm"
cce9e06d 419 select CRYPTO_ALGAPI
1da177e4
LT
420 select ZLIB_INFLATE
421 select ZLIB_DEFLATE
422 help
423 This is the Deflate algorithm (RFC1951), specified for use in
424 IPSec with the IPCOMP protocol (RFC3173, RFC2394).
425
426 You will most probably want this if using IPSec.
427
428config CRYPTO_MICHAEL_MIC
429 tristate "Michael MIC keyed digest algorithm"
cce9e06d 430 select CRYPTO_ALGAPI
1da177e4
LT
431 help
432 Michael MIC is used for message integrity protection in TKIP
433 (IEEE 802.11i). This algorithm is required for TKIP, but it
434 should not be used for other purposes because of the weakness
435 of the algorithm.
436
437config CRYPTO_CRC32C
438 tristate "CRC32c CRC algorithm"
cce9e06d 439 select CRYPTO_ALGAPI
1da177e4
LT
440 select LIBCRC32C
441 help
442 Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used
443 by iSCSI for header and data digests and by others.
444 See Castagnoli93. This implementation uses lib/libcrc32c.
445 Module will be crc32c.
446
04ac7db3
NT
447config CRYPTO_CAMELLIA
448 tristate "Camellia cipher algorithms"
449 depends on CRYPTO
450 select CRYPTO_ALGAPI
451 help
452 Camellia cipher algorithms module.
453
454 Camellia is a symmetric key block cipher developed jointly
455 at NTT and Mitsubishi Electric Corporation.
456
457 The Camellia specifies three key sizes: 128, 192 and 256 bits.
458
459 See also:
460 <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
461
1da177e4
LT
462config CRYPTO_TEST
463 tristate "Testing module"
cce9e06d
HX
464 depends on m
465 select CRYPTO_ALGAPI
1da177e4
LT
466 help
467 Quick & dirty crypto test module.
468
469source "drivers/crypto/Kconfig"
1da177e4 470
cce9e06d
HX
471endif # if CRYPTO
472
473endmenu