blob: 776f90d249a06801f9c9e71440660f3250e30329 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
Dan Williams685784a2007-07-09 11:56:42 -07002# Generic algorithms support
3#
4config XOR_BLOCKS
5 tristate
6
7#
Dan Williams9bc89cd2007-01-02 11:10:44 -07008# async_tx api: hardware offloaded memory transfer/transform support
9#
10source "crypto/async_tx/Kconfig"
11
12#
Linus Torvalds1da177e2005-04-16 15:20:36 -070013# Cryptographic API Configuration
14#
Jan Engelhardt2e290f42007-05-18 15:11:01 +100015menuconfig CRYPTO
Sebastian Siewiorc3715cb92008-03-30 16:36:09 +080016 tristate "Cryptographic API"
Linus Torvalds1da177e2005-04-16 15:20:36 -070017 help
18 This option provides the core Cryptographic API.
19
Herbert Xucce9e062006-08-21 21:08:13 +100020if CRYPTO
21
Sebastian Siewior584fffc2008-04-05 21:04:48 +080022comment "Crypto core or helper"
23
Herbert Xucce9e062006-08-21 21:08:13 +100024config CRYPTO_ALGAPI
25 tristate
26 help
27 This option provides the API for cryptographic algorithms.
28
Herbert Xu1ae97822007-08-30 15:36:14 +080029config CRYPTO_AEAD
30 tristate
31 select CRYPTO_ALGAPI
32
Herbert Xu5cde0af2006-08-22 00:07:53 +100033config CRYPTO_BLKCIPHER
34 tristate
35 select CRYPTO_ALGAPI
36
Herbert Xu055bcee2006-08-19 22:24:23 +100037config CRYPTO_HASH
38 tristate
39 select CRYPTO_ALGAPI
40
Herbert Xu2b8c19d2006-09-21 11:31:44 +100041config CRYPTO_MANAGER
42 tristate "Cryptographic algorithm manager"
Herbert Xuda7f0332008-07-31 17:08:25 +080043 select CRYPTO_AEAD
44 select CRYPTO_HASH
45 select CRYPTO_BLKCIPHER
Herbert Xu2b8c19d2006-09-21 11:31:44 +100046 help
47 Create default cryptographic template instantiations such as
48 cbc(aes).
49
Rik Snelc494e072006-11-29 18:59:44 +110050config CRYPTO_GF128MUL
51 tristate "GF(2^128) multiplication functions (EXPERIMENTAL)"
52 depends on EXPERIMENTAL
53 help
54 Efficient table driven implementation of multiplications in the
55 field GF(2^128). This is needed by some cypher modes. This
56 option will be selected automatically if you select such a
57 cipher mode. Only select this option by hand if you expect to load
58 an external module that requires these functions.
59
Sebastian Siewior584fffc2008-04-05 21:04:48 +080060config CRYPTO_NULL
61 tristate "Null algorithms"
62 select CRYPTO_ALGAPI
63 select CRYPTO_BLKCIPHER
64 help
65 These are 'Null' algorithms, used by IPsec, which do nothing.
66
67config CRYPTO_CRYPTD
68 tristate "Software async crypto daemon"
Herbert Xudb131ef2006-09-21 11:44:08 +100069 select CRYPTO_BLKCIPHER
Loc Hob8a28252008-05-14 21:23:00 +080070 select CRYPTO_HASH
Herbert Xu43518402006-10-16 21:28:58 +100071 select CRYPTO_MANAGER
Herbert Xudb131ef2006-09-21 11:44:08 +100072 help
Sebastian Siewior584fffc2008-04-05 21:04:48 +080073 This is a generic software asynchronous crypto daemon that
74 converts an arbitrary synchronous software crypto algorithm
75 into an asynchronous algorithm that executes in a kernel thread.
76
77config CRYPTO_AUTHENC
78 tristate "Authenc support"
79 select CRYPTO_AEAD
80 select CRYPTO_BLKCIPHER
81 select CRYPTO_MANAGER
82 select CRYPTO_HASH
83 help
84 Authenc: Combined mode wrapper for IPsec.
85 This is required for IPSec.
86
87config CRYPTO_TEST
88 tristate "Testing module"
89 depends on m
Herbert Xuda7f0332008-07-31 17:08:25 +080090 select CRYPTO_MANAGER
Sebastian Siewior584fffc2008-04-05 21:04:48 +080091 help
92 Quick & dirty crypto test module.
93
94comment "Authenticated Encryption with Associated Data"
95
96config CRYPTO_CCM
97 tristate "CCM support"
98 select CRYPTO_CTR
99 select CRYPTO_AEAD
100 help
101 Support for Counter with CBC MAC. Required for IPsec.
102
103config CRYPTO_GCM
104 tristate "GCM/GMAC support"
105 select CRYPTO_CTR
106 select CRYPTO_AEAD
107 select CRYPTO_GF128MUL
108 help
109 Support for Galois/Counter Mode (GCM) and Galois Message
110 Authentication Code (GMAC). Required for IPSec.
111
112config CRYPTO_SEQIV
113 tristate "Sequence Number IV Generator"
114 select CRYPTO_AEAD
115 select CRYPTO_BLKCIPHER
116 help
117 This IV generator generates an IV based on a sequence number by
118 xoring it with a salt. This algorithm is mainly useful for CTR
119
120comment "Block modes"
Herbert Xudb131ef2006-09-21 11:44:08 +1000121
122config CRYPTO_CBC
123 tristate "CBC support"
124 select CRYPTO_BLKCIPHER
Herbert Xu43518402006-10-16 21:28:58 +1000125 select CRYPTO_MANAGER
Herbert Xudb131ef2006-09-21 11:44:08 +1000126 help
127 CBC: Cipher Block Chaining mode
128 This block cipher algorithm is required for IPSec.
129
Joy Latten23e353c2007-10-23 08:50:32 +0800130config CRYPTO_CTR
131 tristate "CTR support"
132 select CRYPTO_BLKCIPHER
Herbert Xu0a270322007-11-30 21:38:37 +1100133 select CRYPTO_SEQIV
Joy Latten23e353c2007-10-23 08:50:32 +0800134 select CRYPTO_MANAGER
Joy Latten23e353c2007-10-23 08:50:32 +0800135 help
136 CTR: Counter mode
137 This block cipher algorithm is required for IPSec.
138
Kevin Coffman76cb9522008-03-24 21:26:16 +0800139config CRYPTO_CTS
140 tristate "CTS support"
141 select CRYPTO_BLKCIPHER
142 help
143 CTS: Cipher Text Stealing
144 This is the Cipher Text Stealing mode as described by
145 Section 8 of rfc2040 and referenced by rfc3962.
146 (rfc3962 includes errata information in its Appendix A)
147 This mode is required for Kerberos gss mechanism support
148 for AES encryption.
149
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800150config CRYPTO_ECB
151 tristate "ECB support"
Herbert Xu653ebd9c2007-11-27 19:48:27 +0800152 select CRYPTO_BLKCIPHER
Herbert Xu124b53d2007-04-16 20:49:20 +1000153 select CRYPTO_MANAGER
154 help
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800155 ECB: Electronic CodeBook mode
156 This is the simplest block cipher algorithm. It simply encrypts
157 the input block by block.
Herbert Xu124b53d2007-04-16 20:49:20 +1000158
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800159config CRYPTO_LRW
160 tristate "LRW support (EXPERIMENTAL)"
161 depends on EXPERIMENTAL
David Howells90831632006-12-16 12:13:14 +1100162 select CRYPTO_BLKCIPHER
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800163 select CRYPTO_MANAGER
164 select CRYPTO_GF128MUL
David Howells90831632006-12-16 12:13:14 +1100165 help
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800166 LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable
167 narrow block cipher mode for dm-crypt. Use it with cipher
168 specification string aes-lrw-benbi, the key must be 256, 320 or 384.
169 The first 128, 192 or 256 bits in the key are used for AES and the
170 rest is used to tie each cipher block to its logical position.
David Howells90831632006-12-16 12:13:14 +1100171
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800172config CRYPTO_PCBC
173 tristate "PCBC support"
174 select CRYPTO_BLKCIPHER
175 select CRYPTO_MANAGER
176 help
177 PCBC: Propagating Cipher Block Chaining mode
178 This block cipher algorithm is required for RxRPC.
179
180config CRYPTO_XTS
181 tristate "XTS support (EXPERIMENTAL)"
182 depends on EXPERIMENTAL
183 select CRYPTO_BLKCIPHER
184 select CRYPTO_MANAGER
185 select CRYPTO_GF128MUL
186 help
187 XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain,
188 key size 256, 384 or 512 bits. This implementation currently
189 can't handle a sectorsize which is not a multiple of 16 bytes.
190
191comment "Hash modes"
192
193config CRYPTO_HMAC
194 tristate "HMAC support"
195 select CRYPTO_HASH
196 select CRYPTO_MANAGER
197 help
198 HMAC: Keyed-Hashing for Message Authentication (RFC2104).
199 This is required for IPSec.
200
201config CRYPTO_XCBC
202 tristate "XCBC support"
203 depends on EXPERIMENTAL
204 select CRYPTO_HASH
205 select CRYPTO_MANAGER
206 help
207 XCBC: Keyed-Hashing with encryption algorithm
208 http://www.ietf.org/rfc/rfc3566.txt
209 http://csrc.nist.gov/encryption/modes/proposedmodes/
210 xcbc-mac/xcbc-mac-spec.pdf
211
212comment "Digest"
213
214config CRYPTO_CRC32C
215 tristate "CRC32c CRC algorithm"
Herbert Xu5773a3e2008-07-08 20:54:28 +0800216 select CRYPTO_HASH
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800217 select LIBCRC32C
218 help
219 Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used
220 by iSCSI for header and data digests and by others.
221 See Castagnoli93. This implementation uses lib/libcrc32c.
Adrian Bunkb6d44342008-07-16 19:28:00 +0800222 Module will be crc32c.
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800223
Austin Zhang8cb51ba2008-08-07 09:57:03 +0800224config CRYPTO_CRC32C_INTEL
225 tristate "CRC32c INTEL hardware acceleration"
226 depends on X86
227 select CRYPTO_HASH
228 help
229 In Intel processor with SSE4.2 supported, the processor will
230 support CRC32C implementation using hardware accelerated CRC32
231 instruction. This option will create 'crc32c-intel' module,
232 which will enable any routine to use the CRC32 instruction to
233 gain performance compared with software implementation.
234 Module will be crc32c-intel.
235
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800236config CRYPTO_MD4
237 tristate "MD4 digest algorithm"
Herbert Xucce9e062006-08-21 21:08:13 +1000238 select CRYPTO_ALGAPI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700239 help
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800240 MD4 message digest algorithm (RFC1320).
Linus Torvalds1da177e2005-04-16 15:20:36 -0700241
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800242config CRYPTO_MD5
243 tristate "MD5 digest algorithm"
Herbert Xucce9e062006-08-21 21:08:13 +1000244 select CRYPTO_ALGAPI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700245 help
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800246 MD5 message digest algorithm (RFC1321).
Linus Torvalds1da177e2005-04-16 15:20:36 -0700247
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800248config CRYPTO_MICHAEL_MIC
249 tristate "Michael MIC keyed digest algorithm"
250 select CRYPTO_ALGAPI
251 help
252 Michael MIC is used for message integrity protection in TKIP
253 (IEEE 802.11i). This algorithm is required for TKIP, but it
254 should not be used for other purposes because of the weakness
255 of the algorithm.
256
Adrian-Ken Rueegsegger82798f92008-05-07 22:17:37 +0800257config CRYPTO_RMD128
Adrian Bunkb6d44342008-07-16 19:28:00 +0800258 tristate "RIPEMD-128 digest algorithm"
259 select CRYPTO_ALGAPI
260 help
261 RIPEMD-128 (ISO/IEC 10118-3:2004).
Adrian-Ken Rueegsegger82798f92008-05-07 22:17:37 +0800262
Adrian Bunkb6d44342008-07-16 19:28:00 +0800263 RIPEMD-128 is a 128-bit cryptographic hash function. It should only
264 to be used as a secure replacement for RIPEMD. For other use cases
265 RIPEMD-160 should be used.
Adrian-Ken Rueegsegger82798f92008-05-07 22:17:37 +0800266
Adrian Bunkb6d44342008-07-16 19:28:00 +0800267 Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
268 See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
Adrian-Ken Rueegsegger82798f92008-05-07 22:17:37 +0800269
270config CRYPTO_RMD160
Adrian Bunkb6d44342008-07-16 19:28:00 +0800271 tristate "RIPEMD-160 digest algorithm"
272 select CRYPTO_ALGAPI
273 help
274 RIPEMD-160 (ISO/IEC 10118-3:2004).
Adrian-Ken Rueegsegger82798f92008-05-07 22:17:37 +0800275
Adrian Bunkb6d44342008-07-16 19:28:00 +0800276 RIPEMD-160 is a 160-bit cryptographic hash function. It is intended
277 to be used as a secure replacement for the 128-bit hash functions
278 MD4, MD5 and it's predecessor RIPEMD
279 (not to be confused with RIPEMD-128).
Adrian-Ken Rueegsegger82798f92008-05-07 22:17:37 +0800280
Adrian Bunkb6d44342008-07-16 19:28:00 +0800281 It's speed is comparable to SHA1 and there are no known attacks
282 against RIPEMD-160.
Adrian-Ken Rueegsegger534fe2c12008-05-09 21:30:27 +0800283
Adrian Bunkb6d44342008-07-16 19:28:00 +0800284 Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
285 See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
Adrian-Ken Rueegsegger534fe2c12008-05-09 21:30:27 +0800286
287config CRYPTO_RMD256
Adrian Bunkb6d44342008-07-16 19:28:00 +0800288 tristate "RIPEMD-256 digest algorithm"
289 select CRYPTO_ALGAPI
290 help
291 RIPEMD-256 is an optional extension of RIPEMD-128 with a
292 256 bit hash. It is intended for applications that require
293 longer hash-results, without needing a larger security level
294 (than RIPEMD-128).
Adrian-Ken Rueegsegger534fe2c12008-05-09 21:30:27 +0800295
Adrian Bunkb6d44342008-07-16 19:28:00 +0800296 Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
297 See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
Adrian-Ken Rueegsegger534fe2c12008-05-09 21:30:27 +0800298
299config CRYPTO_RMD320
Adrian Bunkb6d44342008-07-16 19:28:00 +0800300 tristate "RIPEMD-320 digest algorithm"
301 select CRYPTO_ALGAPI
302 help
303 RIPEMD-320 is an optional extension of RIPEMD-160 with a
304 320 bit hash. It is intended for applications that require
305 longer hash-results, without needing a larger security level
306 (than RIPEMD-160).
Adrian-Ken Rueegsegger534fe2c12008-05-09 21:30:27 +0800307
Adrian Bunkb6d44342008-07-16 19:28:00 +0800308 Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
309 See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
Adrian-Ken Rueegsegger82798f92008-05-07 22:17:37 +0800310
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800311config CRYPTO_SHA1
312 tristate "SHA1 digest algorithm"
313 select CRYPTO_ALGAPI
314 help
315 SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
316
317config CRYPTO_SHA256
318 tristate "SHA224 and SHA256 digest algorithm"
319 select CRYPTO_ALGAPI
320 help
321 SHA256 secure hash standard (DFIPS 180-2).
322
323 This version of SHA implements a 256 bit hash with 128 bits of
324 security against collision attacks.
325
Adrian Bunkb6d44342008-07-16 19:28:00 +0800326 This code also includes SHA-224, a 224 bit hash with 112 bits
327 of security against collision attacks.
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800328
329config CRYPTO_SHA512
330 tristate "SHA384 and SHA512 digest algorithms"
331 select CRYPTO_ALGAPI
332 help
333 SHA512 secure hash standard (DFIPS 180-2).
334
335 This version of SHA implements a 512 bit hash with 256 bits of
336 security against collision attacks.
337
338 This code also includes SHA-384, a 384 bit hash with 192 bits
339 of security against collision attacks.
340
341config CRYPTO_TGR192
342 tristate "Tiger digest algorithms"
343 select CRYPTO_ALGAPI
344 help
345 Tiger hash algorithm 192, 160 and 128-bit hashes
346
347 Tiger is a hash function optimized for 64-bit processors while
348 still having decent performance on 32-bit processors.
349 Tiger was developed by Ross Anderson and Eli Biham.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700350
351 See also:
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800352 <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>.
353
354config CRYPTO_WP512
355 tristate "Whirlpool digest algorithms"
356 select CRYPTO_ALGAPI
357 help
358 Whirlpool hash algorithm 512, 384 and 256-bit hashes
359
360 Whirlpool-512 is part of the NESSIE cryptographic primitives.
361 Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard
362
363 See also:
364 <http://planeta.terra.com.br/informatica/paulobarreto/WhirlpoolPage.html>
365
366comment "Ciphers"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700367
368config CRYPTO_AES
369 tristate "AES cipher algorithms"
Herbert Xucce9e062006-08-21 21:08:13 +1000370 select CRYPTO_ALGAPI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700371 help
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800372 AES cipher algorithms (FIPS-197). AES uses the Rijndael
Linus Torvalds1da177e2005-04-16 15:20:36 -0700373 algorithm.
374
375 Rijndael appears to be consistently a very good performer in
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800376 both hardware and software across a wide range of computing
377 environments regardless of its use in feedback or non-feedback
378 modes. Its key setup time is excellent, and its key agility is
379 good. Rijndael's very low memory requirements make it very well
380 suited for restricted-space environments, in which it also
381 demonstrates excellent performance. Rijndael's operations are
382 among the easiest to defend against power and timing attacks.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700383
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800384 The AES specifies three key sizes: 128, 192 and 256 bits
Linus Torvalds1da177e2005-04-16 15:20:36 -0700385
386 See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information.
387
388config CRYPTO_AES_586
389 tristate "AES cipher algorithms (i586)"
Herbert Xucce9e062006-08-21 21:08:13 +1000390 depends on (X86 || UML_X86) && !64BIT
391 select CRYPTO_ALGAPI
Sebastian Siewior5157dea2007-11-10 19:07:16 +0800392 select CRYPTO_AES
Linus Torvalds1da177e2005-04-16 15:20:36 -0700393 help
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800394 AES cipher algorithms (FIPS-197). AES uses the Rijndael
Linus Torvalds1da177e2005-04-16 15:20:36 -0700395 algorithm.
396
397 Rijndael appears to be consistently a very good performer in
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800398 both hardware and software across a wide range of computing
399 environments regardless of its use in feedback or non-feedback
400 modes. Its key setup time is excellent, and its key agility is
401 good. Rijndael's very low memory requirements make it very well
402 suited for restricted-space environments, in which it also
403 demonstrates excellent performance. Rijndael's operations are
404 among the easiest to defend against power and timing attacks.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700405
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800406 The AES specifies three key sizes: 128, 192 and 256 bits
Linus Torvalds1da177e2005-04-16 15:20:36 -0700407
408 See <http://csrc.nist.gov/encryption/aes/> for more information.
409
Andreas Steinmetza2a892a2005-07-06 13:55:00 -0700410config CRYPTO_AES_X86_64
411 tristate "AES cipher algorithms (x86_64)"
Herbert Xucce9e062006-08-21 21:08:13 +1000412 depends on (X86 || UML_X86) && 64BIT
413 select CRYPTO_ALGAPI
Sebastian Siewior81190b32007-11-08 21:25:04 +0800414 select CRYPTO_AES
Andreas Steinmetza2a892a2005-07-06 13:55:00 -0700415 help
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800416 AES cipher algorithms (FIPS-197). AES uses the Rijndael
Andreas Steinmetza2a892a2005-07-06 13:55:00 -0700417 algorithm.
418
419 Rijndael appears to be consistently a very good performer in
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800420 both hardware and software across a wide range of computing
421 environments regardless of its use in feedback or non-feedback
422 modes. Its key setup time is excellent, and its key agility is
423 good. Rijndael's very low memory requirements make it very well
424 suited for restricted-space environments, in which it also
425 demonstrates excellent performance. Rijndael's operations are
426 among the easiest to defend against power and timing attacks.
Andreas Steinmetza2a892a2005-07-06 13:55:00 -0700427
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800428 The AES specifies three key sizes: 128, 192 and 256 bits
Andreas Steinmetza2a892a2005-07-06 13:55:00 -0700429
430 See <http://csrc.nist.gov/encryption/aes/> for more information.
431
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800432config CRYPTO_ANUBIS
433 tristate "Anubis cipher algorithm"
434 select CRYPTO_ALGAPI
435 help
436 Anubis cipher algorithm.
437
438 Anubis is a variable key length cipher which can use keys from
439 128 bits to 320 bits in length. It was evaluated as a entrant
440 in the NESSIE competition.
441
442 See also:
443 <https://www.cosic.esat.kuleuven.ac.be/nessie/reports/>
444 <http://planeta.terra.com.br/informatica/paulobarreto/AnubisPage.html>
445
446config CRYPTO_ARC4
447 tristate "ARC4 cipher algorithm"
448 select CRYPTO_ALGAPI
449 help
450 ARC4 cipher algorithm.
451
452 ARC4 is a stream cipher using keys ranging from 8 bits to 2048
453 bits in length. This algorithm is required for driver-based
454 WEP, but it should not be for other purposes because of the
455 weakness of the algorithm.
456
457config CRYPTO_BLOWFISH
458 tristate "Blowfish cipher algorithm"
459 select CRYPTO_ALGAPI
460 help
461 Blowfish cipher algorithm, by Bruce Schneier.
462
463 This is a variable key length cipher which can use keys from 32
464 bits to 448 bits in length. It's fast, simple and specifically
465 designed for use on "large microprocessors".
466
467 See also:
468 <http://www.schneier.com/blowfish.html>
469
470config CRYPTO_CAMELLIA
471 tristate "Camellia cipher algorithms"
472 depends on CRYPTO
473 select CRYPTO_ALGAPI
474 help
475 Camellia cipher algorithms module.
476
477 Camellia is a symmetric key block cipher developed jointly
478 at NTT and Mitsubishi Electric Corporation.
479
480 The Camellia specifies three key sizes: 128, 192 and 256 bits.
481
482 See also:
483 <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
484
Linus Torvalds1da177e2005-04-16 15:20:36 -0700485config CRYPTO_CAST5
486 tristate "CAST5 (CAST-128) cipher algorithm"
Herbert Xucce9e062006-08-21 21:08:13 +1000487 select CRYPTO_ALGAPI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700488 help
489 The CAST5 encryption algorithm (synonymous with CAST-128) is
490 described in RFC2144.
491
492config CRYPTO_CAST6
493 tristate "CAST6 (CAST-256) cipher algorithm"
Herbert Xucce9e062006-08-21 21:08:13 +1000494 select CRYPTO_ALGAPI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700495 help
496 The CAST6 encryption algorithm (synonymous with CAST-256) is
497 described in RFC2612.
498
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800499config CRYPTO_DES
500 tristate "DES and Triple DES EDE cipher algorithms"
Herbert Xucce9e062006-08-21 21:08:13 +1000501 select CRYPTO_ALGAPI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700502 help
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800503 DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
Linus Torvalds1da177e2005-04-16 15:20:36 -0700504
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800505config CRYPTO_FCRYPT
506 tristate "FCrypt cipher algorithm"
Herbert Xucce9e062006-08-21 21:08:13 +1000507 select CRYPTO_ALGAPI
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800508 select CRYPTO_BLKCIPHER
Linus Torvalds1da177e2005-04-16 15:20:36 -0700509 help
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800510 FCrypt algorithm used by RxRPC.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700511
512config CRYPTO_KHAZAD
513 tristate "Khazad cipher algorithm"
Herbert Xucce9e062006-08-21 21:08:13 +1000514 select CRYPTO_ALGAPI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700515 help
516 Khazad cipher algorithm.
517
518 Khazad was a finalist in the initial NESSIE competition. It is
519 an algorithm optimized for 64-bit processors with good performance
520 on 32-bit processors. Khazad uses an 128 bit key size.
521
522 See also:
523 <http://planeta.terra.com.br/informatica/paulobarreto/KhazadPage.html>
524
Tan Swee Heng2407d602007-11-23 19:45:00 +0800525config CRYPTO_SALSA20
526 tristate "Salsa20 stream cipher algorithm (EXPERIMENTAL)"
527 depends on EXPERIMENTAL
528 select CRYPTO_BLKCIPHER
529 help
530 Salsa20 stream cipher algorithm.
531
532 Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
533 Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
534
535 The Salsa20 stream cipher algorithm is designed by Daniel J.
536 Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
Linus Torvalds1da177e2005-04-16 15:20:36 -0700537
Tan Swee Heng974e4b72007-12-10 15:52:56 +0800538config CRYPTO_SALSA20_586
539 tristate "Salsa20 stream cipher algorithm (i586) (EXPERIMENTAL)"
540 depends on (X86 || UML_X86) && !64BIT
541 depends on EXPERIMENTAL
542 select CRYPTO_BLKCIPHER
Tan Swee Heng974e4b72007-12-10 15:52:56 +0800543 help
544 Salsa20 stream cipher algorithm.
545
546 Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
547 Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
548
549 The Salsa20 stream cipher algorithm is designed by Daniel J.
550 Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
551
Tan Swee Heng9a7dafb2007-12-18 00:04:40 +0800552config CRYPTO_SALSA20_X86_64
553 tristate "Salsa20 stream cipher algorithm (x86_64) (EXPERIMENTAL)"
554 depends on (X86 || UML_X86) && 64BIT
555 depends on EXPERIMENTAL
556 select CRYPTO_BLKCIPHER
Tan Swee Heng9a7dafb2007-12-18 00:04:40 +0800557 help
558 Salsa20 stream cipher algorithm.
559
560 Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
561 Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
562
563 The Salsa20 stream cipher algorithm is designed by Daniel J.
564 Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
565
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800566config CRYPTO_SEED
567 tristate "SEED cipher algorithm"
568 select CRYPTO_ALGAPI
569 help
570 SEED cipher algorithm (RFC4269).
571
572 SEED is a 128-bit symmetric key block cipher that has been
573 developed by KISA (Korea Information Security Agency) as a
574 national standard encryption algorithm of the Republic of Korea.
575 It is a 16 round block cipher with the key size of 128 bit.
576
577 See also:
578 <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp>
579
580config CRYPTO_SERPENT
581 tristate "Serpent cipher algorithm"
582 select CRYPTO_ALGAPI
583 help
584 Serpent cipher algorithm, by Anderson, Biham & Knudsen.
585
586 Keys are allowed to be from 0 to 256 bits in length, in steps
587 of 8 bits. Also includes the 'Tnepres' algorithm, a reversed
588 variant of Serpent for compatibility with old kerneli.org code.
589
590 See also:
591 <http://www.cl.cam.ac.uk/~rja14/serpent.html>
592
593config CRYPTO_TEA
594 tristate "TEA, XTEA and XETA cipher algorithms"
595 select CRYPTO_ALGAPI
596 help
597 TEA cipher algorithm.
598
599 Tiny Encryption Algorithm is a simple cipher that uses
600 many rounds for security. It is very fast and uses
601 little memory.
602
603 Xtendend Tiny Encryption Algorithm is a modification to
604 the TEA algorithm to address a potential key weakness
605 in the TEA algorithm.
606
607 Xtendend Encryption Tiny Algorithm is a mis-implementation
608 of the XTEA algorithm for compatibility purposes.
609
610config CRYPTO_TWOFISH
611 tristate "Twofish cipher algorithm"
612 select CRYPTO_ALGAPI
613 select CRYPTO_TWOFISH_COMMON
614 help
615 Twofish cipher algorithm.
616
617 Twofish was submitted as an AES (Advanced Encryption Standard)
618 candidate cipher by researchers at CounterPane Systems. It is a
619 16 round block cipher supporting key sizes of 128, 192, and 256
620 bits.
621
622 See also:
623 <http://www.schneier.com/twofish.html>
624
625config CRYPTO_TWOFISH_COMMON
626 tristate
627 help
628 Common parts of the Twofish cipher algorithm shared by the
629 generic c and the assembler implementations.
630
631config CRYPTO_TWOFISH_586
632 tristate "Twofish cipher algorithms (i586)"
633 depends on (X86 || UML_X86) && !64BIT
634 select CRYPTO_ALGAPI
635 select CRYPTO_TWOFISH_COMMON
636 help
637 Twofish cipher algorithm.
638
639 Twofish was submitted as an AES (Advanced Encryption Standard)
640 candidate cipher by researchers at CounterPane Systems. It is a
641 16 round block cipher supporting key sizes of 128, 192, and 256
642 bits.
643
644 See also:
645 <http://www.schneier.com/twofish.html>
646
647config CRYPTO_TWOFISH_X86_64
648 tristate "Twofish cipher algorithm (x86_64)"
649 depends on (X86 || UML_X86) && 64BIT
650 select CRYPTO_ALGAPI
651 select CRYPTO_TWOFISH_COMMON
652 help
653 Twofish cipher algorithm (x86_64).
654
655 Twofish was submitted as an AES (Advanced Encryption Standard)
656 candidate cipher by researchers at CounterPane Systems. It is a
657 16 round block cipher supporting key sizes of 128, 192, and 256
658 bits.
659
660 See also:
661 <http://www.schneier.com/twofish.html>
662
663comment "Compression"
664
Linus Torvalds1da177e2005-04-16 15:20:36 -0700665config CRYPTO_DEFLATE
666 tristate "Deflate compression algorithm"
Herbert Xucce9e062006-08-21 21:08:13 +1000667 select CRYPTO_ALGAPI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700668 select ZLIB_INFLATE
669 select ZLIB_DEFLATE
670 help
671 This is the Deflate algorithm (RFC1951), specified for use in
672 IPSec with the IPCOMP protocol (RFC3173, RFC2394).
Sebastian Siewior584fffc2008-04-05 21:04:48 +0800673
Linus Torvalds1da177e2005-04-16 15:20:36 -0700674 You will most probably want this if using IPSec.
675
Zoltan Sogor0b77abb2007-12-07 16:53:23 +0800676config CRYPTO_LZO
677 tristate "LZO compression algorithm"
678 select CRYPTO_ALGAPI
679 select LZO_COMPRESS
680 select LZO_DECOMPRESS
681 help
682 This is the LZO algorithm.
683
Linus Torvalds1da177e2005-04-16 15:20:36 -0700684source "drivers/crypto/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700685
Herbert Xucce9e062006-08-21 21:08:13 +1000686endif # if CRYPTO