blob: c3166a1a5bb6da630f7861581b96a6a5f5a19073 [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
Linus Torvalds1da177e2005-04-16 15:20:36 -070016 bool "Cryptographic API"
17 help
18 This option provides the core Cryptographic API.
19
Herbert Xucce9e062006-08-21 21:08:13 +100020if CRYPTO
21
22config CRYPTO_ALGAPI
23 tristate
24 help
25 This option provides the API for cryptographic algorithms.
26
Herbert Xu1ae97822007-08-30 15:36:14 +080027config CRYPTO_AEAD
28 tristate
29 select CRYPTO_ALGAPI
30
Herbert Xu5cde0af2006-08-22 00:07:53 +100031config CRYPTO_BLKCIPHER
32 tristate
33 select CRYPTO_ALGAPI
34
Herbert Xu0a270322007-11-30 21:38:37 +110035config CRYPTO_SEQIV
36 tristate "Sequence Number IV Generator"
Herbert Xu47262042007-12-14 10:19:27 +080037 select CRYPTO_AEAD
Herbert Xu0a270322007-11-30 21:38:37 +110038 select CRYPTO_BLKCIPHER
39 help
40 This IV generator generates an IV based on a sequence number by
41 xoring it with a salt. This algorithm is mainly useful for CTR
42 and similar modes.
43
Herbert Xu055bcee2006-08-19 22:24:23 +100044config CRYPTO_HASH
45 tristate
46 select CRYPTO_ALGAPI
47
Herbert Xu2b8c19d2006-09-21 11:31:44 +100048config CRYPTO_MANAGER
49 tristate "Cryptographic algorithm manager"
50 select CRYPTO_ALGAPI
Herbert Xu2b8c19d2006-09-21 11:31:44 +100051 help
52 Create default cryptographic template instantiations such as
53 cbc(aes).
54
Linus Torvalds1da177e2005-04-16 15:20:36 -070055config CRYPTO_HMAC
Herbert Xu84251652006-08-20 15:25:22 +100056 tristate "HMAC support"
Herbert Xu0796ae02006-08-21 20:50:52 +100057 select CRYPTO_HASH
Herbert Xu43518402006-10-16 21:28:58 +100058 select CRYPTO_MANAGER
Linus Torvalds1da177e2005-04-16 15:20:36 -070059 help
60 HMAC: Keyed-Hashing for Message Authentication (RFC2104).
61 This is required for IPSec.
62
Kazunori MIYAZAWA333b0d72006-10-28 13:15:24 +100063config CRYPTO_XCBC
64 tristate "XCBC support"
65 depends on EXPERIMENTAL
66 select CRYPTO_HASH
67 select CRYPTO_MANAGER
68 help
69 XCBC: Keyed-Hashing with encryption algorithm
70 http://www.ietf.org/rfc/rfc3566.txt
71 http://csrc.nist.gov/encryption/modes/proposedmodes/
72 xcbc-mac/xcbc-mac-spec.pdf
73
Linus Torvalds1da177e2005-04-16 15:20:36 -070074config CRYPTO_NULL
75 tristate "Null algorithms"
Herbert Xucce9e062006-08-21 21:08:13 +100076 select CRYPTO_ALGAPI
Linus Torvalds1da177e2005-04-16 15:20:36 -070077 help
78 These are 'Null' algorithms, used by IPsec, which do nothing.
79
80config CRYPTO_MD4
81 tristate "MD4 digest algorithm"
Herbert Xucce9e062006-08-21 21:08:13 +100082 select CRYPTO_ALGAPI
Linus Torvalds1da177e2005-04-16 15:20:36 -070083 help
84 MD4 message digest algorithm (RFC1320).
85
86config CRYPTO_MD5
87 tristate "MD5 digest algorithm"
Herbert Xucce9e062006-08-21 21:08:13 +100088 select CRYPTO_ALGAPI
Linus Torvalds1da177e2005-04-16 15:20:36 -070089 help
90 MD5 message digest algorithm (RFC1321).
91
92config CRYPTO_SHA1
93 tristate "SHA1 digest algorithm"
Herbert Xucce9e062006-08-21 21:08:13 +100094 select CRYPTO_ALGAPI
Linus Torvalds1da177e2005-04-16 15:20:36 -070095 help
96 SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
97
Linus Torvalds1da177e2005-04-16 15:20:36 -070098config CRYPTO_SHA256
Jonathan Lynchcd12fb902007-11-10 20:08:25 +080099 tristate "SHA224 and SHA256 digest algorithm"
Herbert Xucce9e062006-08-21 21:08:13 +1000100 select CRYPTO_ALGAPI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700101 help
102 SHA256 secure hash standard (DFIPS 180-2).
103
104 This version of SHA implements a 256 bit hash with 128 bits of
105 security against collision attacks.
106
Jonathan Lynchcd12fb902007-11-10 20:08:25 +0800107 This code also includes SHA-224, a 224 bit hash with 112 bits
108 of security against collision attacks.
109
Linus Torvalds1da177e2005-04-16 15:20:36 -0700110config CRYPTO_SHA512
111 tristate "SHA384 and SHA512 digest algorithms"
Herbert Xucce9e062006-08-21 21:08:13 +1000112 select CRYPTO_ALGAPI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700113 help
114 SHA512 secure hash standard (DFIPS 180-2).
115
116 This version of SHA implements a 512 bit hash with 256 bits of
117 security against collision attacks.
118
119 This code also includes SHA-384, a 384 bit hash with 192 bits
120 of security against collision attacks.
121
122config CRYPTO_WP512
123 tristate "Whirlpool digest algorithms"
Herbert Xucce9e062006-08-21 21:08:13 +1000124 select CRYPTO_ALGAPI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700125 help
126 Whirlpool hash algorithm 512, 384 and 256-bit hashes
127
128 Whirlpool-512 is part of the NESSIE cryptographic primitives.
129 Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard
130
131 See also:
132 <http://planeta.terra.com.br/informatica/paulobarreto/WhirlpoolPage.html>
133
134config CRYPTO_TGR192
135 tristate "Tiger digest algorithms"
Herbert Xucce9e062006-08-21 21:08:13 +1000136 select CRYPTO_ALGAPI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700137 help
138 Tiger hash algorithm 192, 160 and 128-bit hashes
139
140 Tiger is a hash function optimized for 64-bit processors while
141 still having decent performance on 32-bit processors.
142 Tiger was developed by Ross Anderson and Eli Biham.
143
144 See also:
145 <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>.
146
Rik Snelc494e072006-11-29 18:59:44 +1100147config CRYPTO_GF128MUL
148 tristate "GF(2^128) multiplication functions (EXPERIMENTAL)"
149 depends on EXPERIMENTAL
150 help
151 Efficient table driven implementation of multiplications in the
152 field GF(2^128). This is needed by some cypher modes. This
153 option will be selected automatically if you select such a
154 cipher mode. Only select this option by hand if you expect to load
155 an external module that requires these functions.
156
Herbert Xudb131ef2006-09-21 11:44:08 +1000157config CRYPTO_ECB
158 tristate "ECB support"
159 select CRYPTO_BLKCIPHER
Herbert Xu43518402006-10-16 21:28:58 +1000160 select CRYPTO_MANAGER
Herbert Xudb131ef2006-09-21 11:44:08 +1000161 help
162 ECB: Electronic CodeBook mode
163 This is the simplest block cipher algorithm. It simply encrypts
164 the input block by block.
165
166config CRYPTO_CBC
167 tristate "CBC support"
168 select CRYPTO_BLKCIPHER
Herbert Xu43518402006-10-16 21:28:58 +1000169 select CRYPTO_MANAGER
Herbert Xudb131ef2006-09-21 11:44:08 +1000170 help
171 CBC: Cipher Block Chaining mode
172 This block cipher algorithm is required for IPSec.
173
David Howells91652be2006-12-16 12:09:02 +1100174config CRYPTO_PCBC
175 tristate "PCBC support"
176 select CRYPTO_BLKCIPHER
177 select CRYPTO_MANAGER
David Howells91652be2006-12-16 12:09:02 +1100178 help
179 PCBC: Propagating Cipher Block Chaining mode
180 This block cipher algorithm is required for RxRPC.
181
Rik Snel64470f12006-11-26 09:43:10 +1100182config CRYPTO_LRW
183 tristate "LRW support (EXPERIMENTAL)"
184 depends on EXPERIMENTAL
185 select CRYPTO_BLKCIPHER
186 select CRYPTO_MANAGER
187 select CRYPTO_GF128MUL
188 help
189 LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable
190 narrow block cipher mode for dm-crypt. Use it with cipher
191 specification string aes-lrw-benbi, the key must be 256, 320 or 384.
192 The first 128, 192 or 256 bits in the key are used for AES and the
193 rest is used to tie each cipher block to its logical position.
194
Rik Snelf19f5112007-09-19 20:23:13 +0800195config CRYPTO_XTS
196 tristate "XTS support (EXPERIMENTAL)"
197 depends on EXPERIMENTAL
198 select CRYPTO_BLKCIPHER
199 select CRYPTO_MANAGER
200 select CRYPTO_GF128MUL
201 help
202 XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain,
203 key size 256, 384 or 512 bits. This implementation currently
204 can't handle a sectorsize which is not a multiple of 16 bytes.
205
Joy Latten23e353c2007-10-23 08:50:32 +0800206config CRYPTO_CTR
207 tristate "CTR support"
208 select CRYPTO_BLKCIPHER
Herbert Xu0a270322007-11-30 21:38:37 +1100209 select CRYPTO_SEQIV
Joy Latten23e353c2007-10-23 08:50:32 +0800210 select CRYPTO_MANAGER
Joy Latten23e353c2007-10-23 08:50:32 +0800211 help
212 CTR: Counter mode
213 This block cipher algorithm is required for IPSec.
214
Mikko Herranen28db8e32007-11-26 22:24:11 +0800215config CRYPTO_GCM
216 tristate "GCM/GMAC support"
217 select CRYPTO_CTR
218 select CRYPTO_AEAD
219 select CRYPTO_GF128MUL
220 help
221 Support for Galois/Counter Mode (GCM) and Galois Message
222 Authentication Code (GMAC). Required for IPSec.
223
Joy Latten4a49b492007-12-12 20:25:13 +0800224config CRYPTO_CCM
225 tristate "CCM support"
226 select CRYPTO_CTR
227 select CRYPTO_AEAD
228 help
229 Support for Counter with CBC MAC. Required for IPsec.
230
Herbert Xu124b53d2007-04-16 20:49:20 +1000231config CRYPTO_CRYPTD
232 tristate "Software async crypto daemon"
Herbert Xu653ebd92007-11-27 19:48:27 +0800233 select CRYPTO_BLKCIPHER
Herbert Xu124b53d2007-04-16 20:49:20 +1000234 select CRYPTO_MANAGER
235 help
236 This is a generic software asynchronous crypto daemon that
237 converts an arbitrary synchronous software crypto algorithm
238 into an asynchronous algorithm that executes in a kernel thread.
239
Linus Torvalds1da177e2005-04-16 15:20:36 -0700240config CRYPTO_DES
241 tristate "DES and Triple DES EDE cipher algorithms"
Herbert Xucce9e062006-08-21 21:08:13 +1000242 select CRYPTO_ALGAPI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700243 help
244 DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
245
David Howells90831632006-12-16 12:13:14 +1100246config CRYPTO_FCRYPT
247 tristate "FCrypt cipher algorithm"
248 select CRYPTO_ALGAPI
249 select CRYPTO_BLKCIPHER
250 help
251 FCrypt algorithm used by RxRPC.
252
Linus Torvalds1da177e2005-04-16 15:20:36 -0700253config CRYPTO_BLOWFISH
254 tristate "Blowfish cipher algorithm"
Herbert Xucce9e062006-08-21 21:08:13 +1000255 select CRYPTO_ALGAPI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700256 help
257 Blowfish cipher algorithm, by Bruce Schneier.
258
259 This is a variable key length cipher which can use keys from 32
260 bits to 448 bits in length. It's fast, simple and specifically
261 designed for use on "large microprocessors".
262
263 See also:
264 <http://www.schneier.com/blowfish.html>
265
266config CRYPTO_TWOFISH
267 tristate "Twofish cipher algorithm"
Herbert Xucce9e062006-08-21 21:08:13 +1000268 select CRYPTO_ALGAPI
Joachim Fritschi2729bb42006-06-20 20:37:23 +1000269 select CRYPTO_TWOFISH_COMMON
Linus Torvalds1da177e2005-04-16 15:20:36 -0700270 help
271 Twofish cipher algorithm.
272
273 Twofish was submitted as an AES (Advanced Encryption Standard)
274 candidate cipher by researchers at CounterPane Systems. It is a
275 16 round block cipher supporting key sizes of 128, 192, and 256
276 bits.
277
278 See also:
279 <http://www.schneier.com/twofish.html>
280
Joachim Fritschi2729bb42006-06-20 20:37:23 +1000281config CRYPTO_TWOFISH_COMMON
282 tristate
Joachim Fritschi2729bb42006-06-20 20:37:23 +1000283 help
284 Common parts of the Twofish cipher algorithm shared by the
285 generic c and the assembler implementations.
286
Joachim Fritschib9f535f2006-06-20 20:59:16 +1000287config CRYPTO_TWOFISH_586
288 tristate "Twofish cipher algorithms (i586)"
Herbert Xucce9e062006-08-21 21:08:13 +1000289 depends on (X86 || UML_X86) && !64BIT
290 select CRYPTO_ALGAPI
Joachim Fritschib9f535f2006-06-20 20:59:16 +1000291 select CRYPTO_TWOFISH_COMMON
292 help
293 Twofish cipher algorithm.
294
295 Twofish was submitted as an AES (Advanced Encryption Standard)
296 candidate cipher by researchers at CounterPane Systems. It is a
297 16 round block cipher supporting key sizes of 128, 192, and 256
298 bits.
299
300 See also:
301 <http://www.schneier.com/twofish.html>
302
Joachim Fritschieaf44082006-06-20 21:12:02 +1000303config CRYPTO_TWOFISH_X86_64
304 tristate "Twofish cipher algorithm (x86_64)"
Herbert Xucce9e062006-08-21 21:08:13 +1000305 depends on (X86 || UML_X86) && 64BIT
306 select CRYPTO_ALGAPI
Joachim Fritschieaf44082006-06-20 21:12:02 +1000307 select CRYPTO_TWOFISH_COMMON
308 help
309 Twofish cipher algorithm (x86_64).
310
311 Twofish was submitted as an AES (Advanced Encryption Standard)
312 candidate cipher by researchers at CounterPane Systems. It is a
313 16 round block cipher supporting key sizes of 128, 192, and 256
314 bits.
315
316 See also:
317 <http://www.schneier.com/twofish.html>
318
Linus Torvalds1da177e2005-04-16 15:20:36 -0700319config CRYPTO_SERPENT
320 tristate "Serpent cipher algorithm"
Herbert Xucce9e062006-08-21 21:08:13 +1000321 select CRYPTO_ALGAPI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700322 help
323 Serpent cipher algorithm, by Anderson, Biham & Knudsen.
324
325 Keys are allowed to be from 0 to 256 bits in length, in steps
326 of 8 bits. Also includes the 'Tnepres' algorithm, a reversed
David Sterba3dde6ad2007-05-09 07:12:20 +0200327 variant of Serpent for compatibility with old kerneli.org code.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700328
329 See also:
330 <http://www.cl.cam.ac.uk/~rja14/serpent.html>
331
332config CRYPTO_AES
333 tristate "AES cipher algorithms"
Herbert Xucce9e062006-08-21 21:08:13 +1000334 select CRYPTO_ALGAPI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700335 help
336 AES cipher algorithms (FIPS-197). AES uses the Rijndael
337 algorithm.
338
339 Rijndael appears to be consistently a very good performer in
340 both hardware and software across a wide range of computing
341 environments regardless of its use in feedback or non-feedback
342 modes. Its key setup time is excellent, and its key agility is
343 good. Rijndael's very low memory requirements make it very well
344 suited for restricted-space environments, in which it also
345 demonstrates excellent performance. Rijndael's operations are
346 among the easiest to defend against power and timing attacks.
347
348 The AES specifies three key sizes: 128, 192 and 256 bits
349
350 See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information.
351
352config CRYPTO_AES_586
353 tristate "AES cipher algorithms (i586)"
Herbert Xucce9e062006-08-21 21:08:13 +1000354 depends on (X86 || UML_X86) && !64BIT
355 select CRYPTO_ALGAPI
Sebastian Siewior5157dea2007-11-10 19:07:16 +0800356 select CRYPTO_AES
Linus Torvalds1da177e2005-04-16 15:20:36 -0700357 help
358 AES cipher algorithms (FIPS-197). AES uses the Rijndael
359 algorithm.
360
361 Rijndael appears to be consistently a very good performer in
362 both hardware and software across a wide range of computing
363 environments regardless of its use in feedback or non-feedback
364 modes. Its key setup time is excellent, and its key agility is
365 good. Rijndael's very low memory requirements make it very well
366 suited for restricted-space environments, in which it also
367 demonstrates excellent performance. Rijndael's operations are
368 among the easiest to defend against power and timing attacks.
369
370 The AES specifies three key sizes: 128, 192 and 256 bits
371
372 See <http://csrc.nist.gov/encryption/aes/> for more information.
373
Andreas Steinmetza2a892a2005-07-06 13:55:00 -0700374config CRYPTO_AES_X86_64
375 tristate "AES cipher algorithms (x86_64)"
Herbert Xucce9e062006-08-21 21:08:13 +1000376 depends on (X86 || UML_X86) && 64BIT
377 select CRYPTO_ALGAPI
Sebastian Siewior81190b32007-11-08 21:25:04 +0800378 select CRYPTO_AES
Andreas Steinmetza2a892a2005-07-06 13:55:00 -0700379 help
380 AES cipher algorithms (FIPS-197). AES uses the Rijndael
381 algorithm.
382
383 Rijndael appears to be consistently a very good performer in
384 both hardware and software across a wide range of computing
385 environments regardless of its use in feedback or non-feedback
386 modes. Its key setup time is excellent, and its key agility is
387 good. Rijndael's very low memory requirements make it very well
388 suited for restricted-space environments, in which it also
389 demonstrates excellent performance. Rijndael's operations are
390 among the easiest to defend against power and timing attacks.
391
392 The AES specifies three key sizes: 128, 192 and 256 bits
393
394 See <http://csrc.nist.gov/encryption/aes/> for more information.
395
Linus Torvalds1da177e2005-04-16 15:20:36 -0700396config CRYPTO_CAST5
397 tristate "CAST5 (CAST-128) cipher algorithm"
Herbert Xucce9e062006-08-21 21:08:13 +1000398 select CRYPTO_ALGAPI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700399 help
400 The CAST5 encryption algorithm (synonymous with CAST-128) is
401 described in RFC2144.
402
403config CRYPTO_CAST6
404 tristate "CAST6 (CAST-256) cipher algorithm"
Herbert Xucce9e062006-08-21 21:08:13 +1000405 select CRYPTO_ALGAPI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700406 help
407 The CAST6 encryption algorithm (synonymous with CAST-256) is
408 described in RFC2612.
409
410config CRYPTO_TEA
Aaron Grothefb4f10e2005-09-01 17:42:46 -0700411 tristate "TEA, XTEA and XETA cipher algorithms"
Herbert Xucce9e062006-08-21 21:08:13 +1000412 select CRYPTO_ALGAPI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700413 help
414 TEA cipher algorithm.
415
416 Tiny Encryption Algorithm is a simple cipher that uses
417 many rounds for security. It is very fast and uses
418 little memory.
419
420 Xtendend Tiny Encryption Algorithm is a modification to
421 the TEA algorithm to address a potential key weakness
422 in the TEA algorithm.
423
Aaron Grothefb4f10e2005-09-01 17:42:46 -0700424 Xtendend Encryption Tiny Algorithm is a mis-implementation
425 of the XTEA algorithm for compatibility purposes.
426
Linus Torvalds1da177e2005-04-16 15:20:36 -0700427config CRYPTO_ARC4
428 tristate "ARC4 cipher algorithm"
Herbert Xucce9e062006-08-21 21:08:13 +1000429 select CRYPTO_ALGAPI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700430 help
431 ARC4 cipher algorithm.
432
433 ARC4 is a stream cipher using keys ranging from 8 bits to 2048
434 bits in length. This algorithm is required for driver-based
435 WEP, but it should not be for other purposes because of the
436 weakness of the algorithm.
437
438config CRYPTO_KHAZAD
439 tristate "Khazad cipher algorithm"
Herbert Xucce9e062006-08-21 21:08:13 +1000440 select CRYPTO_ALGAPI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700441 help
442 Khazad cipher algorithm.
443
444 Khazad was a finalist in the initial NESSIE competition. It is
445 an algorithm optimized for 64-bit processors with good performance
446 on 32-bit processors. Khazad uses an 128 bit key size.
447
448 See also:
449 <http://planeta.terra.com.br/informatica/paulobarreto/KhazadPage.html>
450
451config CRYPTO_ANUBIS
452 tristate "Anubis cipher algorithm"
Herbert Xucce9e062006-08-21 21:08:13 +1000453 select CRYPTO_ALGAPI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700454 help
455 Anubis cipher algorithm.
456
457 Anubis is a variable key length cipher which can use keys from
458 128 bits to 320 bits in length. It was evaluated as a entrant
459 in the NESSIE competition.
460
461 See also:
462 <https://www.cosic.esat.kuleuven.ac.be/nessie/reports/>
463 <http://planeta.terra.com.br/informatica/paulobarreto/AnubisPage.html>
464
Hye-Shik Change2ee95b2007-08-21 20:01:03 +0800465config CRYPTO_SEED
466 tristate "SEED cipher algorithm"
467 select CRYPTO_ALGAPI
468 help
469 SEED cipher algorithm (RFC4269).
470
471 SEED is a 128-bit symmetric key block cipher that has been
472 developed by KISA (Korea Information Security Agency) as a
473 national standard encryption algorithm of the Republic of Korea.
474 It is a 16 round block cipher with the key size of 128 bit.
475
476 See also:
477 <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp>
478
Tan Swee Heng2407d602007-11-23 19:45:00 +0800479config CRYPTO_SALSA20
480 tristate "Salsa20 stream cipher algorithm (EXPERIMENTAL)"
481 depends on EXPERIMENTAL
482 select CRYPTO_BLKCIPHER
483 help
484 Salsa20 stream cipher algorithm.
485
486 Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
487 Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
488
489 The Salsa20 stream cipher algorithm is designed by Daniel J.
490 Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
Linus Torvalds1da177e2005-04-16 15:20:36 -0700491
Tan Swee Heng974e4b72007-12-10 15:52:56 +0800492config CRYPTO_SALSA20_586
493 tristate "Salsa20 stream cipher algorithm (i586) (EXPERIMENTAL)"
494 depends on (X86 || UML_X86) && !64BIT
495 depends on EXPERIMENTAL
496 select CRYPTO_BLKCIPHER
Tan Swee Heng974e4b72007-12-10 15:52:56 +0800497 help
498 Salsa20 stream cipher algorithm.
499
500 Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
501 Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
502
503 The Salsa20 stream cipher algorithm is designed by Daniel J.
504 Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
505
Tan Swee Heng9a7dafb2007-12-18 00:04:40 +0800506config CRYPTO_SALSA20_X86_64
507 tristate "Salsa20 stream cipher algorithm (x86_64) (EXPERIMENTAL)"
508 depends on (X86 || UML_X86) && 64BIT
509 depends on EXPERIMENTAL
510 select CRYPTO_BLKCIPHER
Tan Swee Heng9a7dafb2007-12-18 00:04:40 +0800511 help
512 Salsa20 stream cipher algorithm.
513
514 Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
515 Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
516
517 The Salsa20 stream cipher algorithm is designed by Daniel J.
518 Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
519
Linus Torvalds1da177e2005-04-16 15:20:36 -0700520config CRYPTO_DEFLATE
521 tristate "Deflate compression algorithm"
Herbert Xucce9e062006-08-21 21:08:13 +1000522 select CRYPTO_ALGAPI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700523 select ZLIB_INFLATE
524 select ZLIB_DEFLATE
525 help
526 This is the Deflate algorithm (RFC1951), specified for use in
527 IPSec with the IPCOMP protocol (RFC3173, RFC2394).
528
529 You will most probably want this if using IPSec.
530
531config CRYPTO_MICHAEL_MIC
532 tristate "Michael MIC keyed digest algorithm"
Herbert Xucce9e062006-08-21 21:08:13 +1000533 select CRYPTO_ALGAPI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700534 help
535 Michael MIC is used for message integrity protection in TKIP
536 (IEEE 802.11i). This algorithm is required for TKIP, but it
537 should not be used for other purposes because of the weakness
538 of the algorithm.
539
540config CRYPTO_CRC32C
541 tristate "CRC32c CRC algorithm"
Herbert Xucce9e062006-08-21 21:08:13 +1000542 select CRYPTO_ALGAPI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700543 select LIBCRC32C
544 help
545 Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used
546 by iSCSI for header and data digests and by others.
547 See Castagnoli93. This implementation uses lib/libcrc32c.
548 Module will be crc32c.
549
Noriaki TAKAMIYA04ac7db2006-10-22 14:49:17 +1000550config CRYPTO_CAMELLIA
551 tristate "Camellia cipher algorithms"
552 depends on CRYPTO
553 select CRYPTO_ALGAPI
554 help
555 Camellia cipher algorithms module.
556
557 Camellia is a symmetric key block cipher developed jointly
558 at NTT and Mitsubishi Electric Corporation.
559
560 The Camellia specifies three key sizes: 128, 192 and 256 bits.
561
562 See also:
563 <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
564
Linus Torvalds1da177e2005-04-16 15:20:36 -0700565config CRYPTO_TEST
566 tristate "Testing module"
Herbert Xucce9e062006-08-21 21:08:13 +1000567 depends on m
568 select CRYPTO_ALGAPI
Sebastian Siewiord1cda4e2007-12-18 00:08:27 +0800569 select CRYPTO_AEAD
Linus Torvalds1da177e2005-04-16 15:20:36 -0700570 help
571 Quick & dirty crypto test module.
572
Herbert Xu3c09f172007-08-30 16:24:15 +0800573config CRYPTO_AUTHENC
574 tristate "Authenc support"
575 select CRYPTO_AEAD
576 select CRYPTO_MANAGER
Borislav Petkov5e553112007-12-14 16:43:32 +0800577 select CRYPTO_HASH
Herbert Xu3c09f172007-08-30 16:24:15 +0800578 help
579 Authenc: Combined mode wrapper for IPsec.
580 This is required for IPSec.
581
Zoltan Sogor0b77abb2007-12-07 16:53:23 +0800582config CRYPTO_LZO
583 tristate "LZO compression algorithm"
584 select CRYPTO_ALGAPI
585 select LZO_COMPRESS
586 select LZO_DECOMPRESS
587 help
588 This is the LZO algorithm.
589
Linus Torvalds1da177e2005-04-16 15:20:36 -0700590source "drivers/crypto/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700591
Herbert Xucce9e062006-08-21 21:08:13 +1000592endif # if CRYPTO