]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - crypto/Kconfig
[CRYPTO] hash: Add asynchronous hash support
[mirror_ubuntu-bionic-kernel.git] / crypto / Kconfig
CommitLineData
685784aa
DW
1#
2# Generic algorithms support
3#
4config XOR_BLOCKS
5 tristate
6
1da177e4 7#
9bc89cd8 8# async_tx api: hardware offloaded memory transfer/transform support
1da177e4 9#
9bc89cd8 10source "crypto/async_tx/Kconfig"
1da177e4 11
9bc89cd8
DW
12#
13# Cryptographic API Configuration
14#
2e290f43 15menuconfig CRYPTO
c3715cb9 16 tristate "Cryptographic API"
1da177e4
LT
17 help
18 This option provides the core Cryptographic API.
19
cce9e06d
HX
20if CRYPTO
21
584fffc8
SS
22comment "Crypto core or helper"
23
cce9e06d
HX
24config CRYPTO_ALGAPI
25 tristate
26 help
27 This option provides the API for cryptographic algorithms.
28
1ae97820
HX
29config CRYPTO_AEAD
30 tristate
31 select CRYPTO_ALGAPI
32
5cde0af2
HX
33config CRYPTO_BLKCIPHER
34 tristate
35 select CRYPTO_ALGAPI
36
055bcee3
HX
37config CRYPTO_HASH
38 tristate
39 select CRYPTO_ALGAPI
40
2b8c19db
HX
41config CRYPTO_MANAGER
42 tristate "Cryptographic algorithm manager"
43 select CRYPTO_ALGAPI
2b8c19db
HX
44 help
45 Create default cryptographic template instantiations such as
46 cbc(aes).
47
584fffc8
SS
48config CRYPTO_GF128MUL
49 tristate "GF(2^128) multiplication functions (EXPERIMENTAL)"
333b0d7e 50 depends on EXPERIMENTAL
333b0d7e 51 help
584fffc8
SS
52 Efficient table driven implementation of multiplications in the
53 field GF(2^128). This is needed by some cypher modes. This
54 option will be selected automatically if you select such a
55 cipher mode. Only select this option by hand if you expect to load
56 an external module that requires these functions.
333b0d7e 57
1da177e4
LT
58config CRYPTO_NULL
59 tristate "Null algorithms"
cce9e06d 60 select CRYPTO_ALGAPI
c8620c25 61 select CRYPTO_BLKCIPHER
1da177e4
LT
62 help
63 These are 'Null' algorithms, used by IPsec, which do nothing.
64
584fffc8
SS
65config CRYPTO_CRYPTD
66 tristate "Software async crypto daemon"
67 select CRYPTO_BLKCIPHER
68 select CRYPTO_MANAGER
1da177e4 69 help
584fffc8
SS
70 This is a generic software asynchronous crypto daemon that
71 converts an arbitrary synchronous software crypto algorithm
72 into an asynchronous algorithm that executes in a kernel thread.
1da177e4 73
584fffc8
SS
74config CRYPTO_AUTHENC
75 tristate "Authenc support"
76 select CRYPTO_AEAD
77 select CRYPTO_BLKCIPHER
78 select CRYPTO_MANAGER
79 select CRYPTO_HASH
1da177e4 80 help
584fffc8
SS
81 Authenc: Combined mode wrapper for IPsec.
82 This is required for IPSec.
1da177e4 83
584fffc8
SS
84config CRYPTO_TEST
85 tristate "Testing module"
86 depends on m
cce9e06d 87 select CRYPTO_ALGAPI
584fffc8
SS
88 select CRYPTO_AEAD
89 select CRYPTO_BLKCIPHER
1da177e4 90 help
584fffc8 91 Quick & dirty crypto test module.
1da177e4 92
584fffc8 93comment "Authenticated Encryption with Associated Data"
cd12fb90 94
584fffc8
SS
95config CRYPTO_CCM
96 tristate "CCM support"
97 select CRYPTO_CTR
98 select CRYPTO_AEAD
1da177e4 99 help
584fffc8 100 Support for Counter with CBC MAC. Required for IPsec.
1da177e4 101
584fffc8
SS
102config CRYPTO_GCM
103 tristate "GCM/GMAC support"
104 select CRYPTO_CTR
105 select CRYPTO_AEAD
106 select CRYPTO_GF128MUL
1da177e4 107 help
584fffc8
SS
108 Support for Galois/Counter Mode (GCM) and Galois Message
109 Authentication Code (GMAC). Required for IPSec.
1da177e4 110
584fffc8
SS
111config CRYPTO_SEQIV
112 tristate "Sequence Number IV Generator"
113 select CRYPTO_AEAD
114 select CRYPTO_BLKCIPHER
1da177e4 115 help
584fffc8
SS
116 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
1da177e4 118
584fffc8 119comment "Block modes"
c494e070 120
584fffc8
SS
121config CRYPTO_CBC
122 tristate "CBC support"
db131ef9 123 select CRYPTO_BLKCIPHER
43518407 124 select CRYPTO_MANAGER
db131ef9 125 help
584fffc8
SS
126 CBC: Cipher Block Chaining mode
127 This block cipher algorithm is required for IPSec.
db131ef9 128
584fffc8
SS
129config CRYPTO_CTR
130 tristate "CTR support"
db131ef9 131 select CRYPTO_BLKCIPHER
584fffc8 132 select CRYPTO_SEQIV
43518407 133 select CRYPTO_MANAGER
db131ef9 134 help
584fffc8 135 CTR: Counter mode
db131ef9
HX
136 This block cipher algorithm is required for IPSec.
137
584fffc8
SS
138config CRYPTO_CTS
139 tristate "CTS support"
140 select CRYPTO_BLKCIPHER
141 help
142 CTS: Cipher Text Stealing
143 This is the Cipher Text Stealing mode as described by
144 Section 8 of rfc2040 and referenced by rfc3962.
145 (rfc3962 includes errata information in its Appendix A)
146 This mode is required for Kerberos gss mechanism support
147 for AES encryption.
148
149config CRYPTO_ECB
150 tristate "ECB support"
91652be5
DH
151 select CRYPTO_BLKCIPHER
152 select CRYPTO_MANAGER
91652be5 153 help
584fffc8
SS
154 ECB: Electronic CodeBook mode
155 This is the simplest block cipher algorithm. It simply encrypts
156 the input block by block.
91652be5 157
64470f1b
RS
158config CRYPTO_LRW
159 tristate "LRW support (EXPERIMENTAL)"
160 depends on EXPERIMENTAL
161 select CRYPTO_BLKCIPHER
162 select CRYPTO_MANAGER
163 select CRYPTO_GF128MUL
164 help
165 LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable
166 narrow block cipher mode for dm-crypt. Use it with cipher
167 specification string aes-lrw-benbi, the key must be 256, 320 or 384.
168 The first 128, 192 or 256 bits in the key are used for AES and the
169 rest is used to tie each cipher block to its logical position.
170
584fffc8
SS
171config CRYPTO_PCBC
172 tristate "PCBC support"
173 select CRYPTO_BLKCIPHER
174 select CRYPTO_MANAGER
175 help
176 PCBC: Propagating Cipher Block Chaining mode
177 This block cipher algorithm is required for RxRPC.
178
f19f5111
RS
179config CRYPTO_XTS
180 tristate "XTS support (EXPERIMENTAL)"
181 depends on EXPERIMENTAL
182 select CRYPTO_BLKCIPHER
183 select CRYPTO_MANAGER
184 select CRYPTO_GF128MUL
185 help
186 XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain,
187 key size 256, 384 or 512 bits. This implementation currently
188 can't handle a sectorsize which is not a multiple of 16 bytes.
189
584fffc8
SS
190comment "Hash modes"
191
192config CRYPTO_HMAC
193 tristate "HMAC support"
194 select CRYPTO_HASH
23e353c8 195 select CRYPTO_MANAGER
23e353c8 196 help
584fffc8
SS
197 HMAC: Keyed-Hashing for Message Authentication (RFC2104).
198 This is required for IPSec.
23e353c8 199
584fffc8
SS
200config CRYPTO_XCBC
201 tristate "XCBC support"
202 depends on EXPERIMENTAL
203 select CRYPTO_HASH
204 select CRYPTO_MANAGER
76cb9521 205 help
584fffc8
SS
206 XCBC: Keyed-Hashing with encryption algorithm
207 http://www.ietf.org/rfc/rfc3566.txt
208 http://csrc.nist.gov/encryption/modes/proposedmodes/
209 xcbc-mac/xcbc-mac-spec.pdf
76cb9521 210
584fffc8 211comment "Digest"
28db8e3e 212
584fffc8
SS
213config CRYPTO_CRC32C
214 tristate "CRC32c CRC algorithm"
215 select CRYPTO_ALGAPI
216 select LIBCRC32C
4a49b499 217 help
584fffc8
SS
218 Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used
219 by iSCSI for header and data digests and by others.
220 See Castagnoli93. This implementation uses lib/libcrc32c.
221 Module will be crc32c.
4a49b499 222
584fffc8
SS
223config CRYPTO_MD4
224 tristate "MD4 digest algorithm"
225 select CRYPTO_ALGAPI
124b53d0 226 help
584fffc8 227 MD4 message digest algorithm (RFC1320).
124b53d0 228
584fffc8
SS
229config CRYPTO_MD5
230 tristate "MD5 digest algorithm"
cce9e06d 231 select CRYPTO_ALGAPI
1da177e4 232 help
584fffc8 233 MD5 message digest algorithm (RFC1321).
1da177e4 234
584fffc8
SS
235config CRYPTO_MICHAEL_MIC
236 tristate "Michael MIC keyed digest algorithm"
90831639 237 select CRYPTO_ALGAPI
90831639 238 help
584fffc8
SS
239 Michael MIC is used for message integrity protection in TKIP
240 (IEEE 802.11i). This algorithm is required for TKIP, but it
241 should not be used for other purposes because of the weakness
242 of the algorithm.
90831639 243
82798f90
AKR
244config CRYPTO_RMD128
245 tristate "RIPEMD-128 digest algorithm"
246 select CRYPTO_ALGAPI
247 help
248 RIPEMD-128 (ISO/IEC 10118-3:2004).
249
250 RIPEMD-128 is a 128-bit cryptographic hash function. It should only
251 to be used as a secure replacement for RIPEMD. For other use cases
252 RIPEMD-160 should be used.
253
254 Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
255 See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
256
257config CRYPTO_RMD160
258 tristate "RIPEMD-160 digest algorithm"
259 select CRYPTO_ALGAPI
260 help
261 RIPEMD-160 (ISO/IEC 10118-3:2004).
262
263 RIPEMD-160 is a 160-bit cryptographic hash function. It is intended
264 to be used as a secure replacement for the 128-bit hash functions
265 MD4, MD5 and it's predecessor RIPEMD (not to be confused with RIPEMD-128).
266
534fe2c1
AKR
267 It's speed is comparable to SHA1 and there are no known attacks against
268 RIPEMD-160.
269
270 Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
271 See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
272
273config CRYPTO_RMD256
274 tristate "RIPEMD-256 digest algorithm"
275 select CRYPTO_ALGAPI
276 help
277 RIPEMD-256 is an optional extension of RIPEMD-128 with a 256 bit hash.
278 It is intended for applications that require longer hash-results, without
279 needing a larger security level (than RIPEMD-128).
280
281 Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
282 See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
283
284config CRYPTO_RMD320
285 tristate "RIPEMD-320 digest algorithm"
286 select CRYPTO_ALGAPI
287 help
288 RIPEMD-320 is an optional extension of RIPEMD-160 with a 320 bit hash.
289 It is intended for applications that require longer hash-results, without
290 needing a larger security level (than RIPEMD-160).
291
82798f90
AKR
292 Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
293 See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
294
584fffc8
SS
295config CRYPTO_SHA1
296 tristate "SHA1 digest algorithm"
cce9e06d 297 select CRYPTO_ALGAPI
1da177e4 298 help
584fffc8 299 SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
1da177e4 300
584fffc8
SS
301config CRYPTO_SHA256
302 tristate "SHA224 and SHA256 digest algorithm"
cce9e06d 303 select CRYPTO_ALGAPI
1da177e4 304 help
584fffc8 305 SHA256 secure hash standard (DFIPS 180-2).
1da177e4 306
584fffc8
SS
307 This version of SHA implements a 256 bit hash with 128 bits of
308 security against collision attacks.
2729bb42 309
584fffc8
SS
310 This code also includes SHA-224, a 224 bit hash with 112 bits
311 of security against collision attacks.
312
313config CRYPTO_SHA512
314 tristate "SHA384 and SHA512 digest algorithms"
cce9e06d 315 select CRYPTO_ALGAPI
b9f535ff 316 help
584fffc8 317 SHA512 secure hash standard (DFIPS 180-2).
b9f535ff 318
584fffc8
SS
319 This version of SHA implements a 512 bit hash with 256 bits of
320 security against collision attacks.
b9f535ff 321
584fffc8
SS
322 This code also includes SHA-384, a 384 bit hash with 192 bits
323 of security against collision attacks.
b9f535ff 324
584fffc8
SS
325config CRYPTO_TGR192
326 tristate "Tiger digest algorithms"
cce9e06d 327 select CRYPTO_ALGAPI
eaf44088 328 help
584fffc8 329 Tiger hash algorithm 192, 160 and 128-bit hashes
eaf44088 330
584fffc8
SS
331 Tiger is a hash function optimized for 64-bit processors while
332 still having decent performance on 32-bit processors.
333 Tiger was developed by Ross Anderson and Eli Biham.
eaf44088
JF
334
335 See also:
584fffc8 336 <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>.
eaf44088 337
584fffc8
SS
338config CRYPTO_WP512
339 tristate "Whirlpool digest algorithms"
cce9e06d 340 select CRYPTO_ALGAPI
1da177e4 341 help
584fffc8 342 Whirlpool hash algorithm 512, 384 and 256-bit hashes
1da177e4 343
584fffc8
SS
344 Whirlpool-512 is part of the NESSIE cryptographic primitives.
345 Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard
1da177e4
LT
346
347 See also:
584fffc8
SS
348 <http://planeta.terra.com.br/informatica/paulobarreto/WhirlpoolPage.html>
349
350comment "Ciphers"
1da177e4
LT
351
352config CRYPTO_AES
353 tristate "AES cipher algorithms"
cce9e06d 354 select CRYPTO_ALGAPI
1da177e4 355 help
584fffc8 356 AES cipher algorithms (FIPS-197). AES uses the Rijndael
1da177e4
LT
357 algorithm.
358
359 Rijndael appears to be consistently a very good performer in
584fffc8
SS
360 both hardware and software across a wide range of computing
361 environments regardless of its use in feedback or non-feedback
362 modes. Its key setup time is excellent, and its key agility is
363 good. Rijndael's very low memory requirements make it very well
364 suited for restricted-space environments, in which it also
365 demonstrates excellent performance. Rijndael's operations are
366 among the easiest to defend against power and timing attacks.
1da177e4 367
584fffc8 368 The AES specifies three key sizes: 128, 192 and 256 bits
1da177e4
LT
369
370 See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information.
371
372config CRYPTO_AES_586
373 tristate "AES cipher algorithms (i586)"
cce9e06d
HX
374 depends on (X86 || UML_X86) && !64BIT
375 select CRYPTO_ALGAPI
5157dea8 376 select CRYPTO_AES
1da177e4 377 help
584fffc8 378 AES cipher algorithms (FIPS-197). AES uses the Rijndael
1da177e4
LT
379 algorithm.
380
381 Rijndael appears to be consistently a very good performer in
584fffc8
SS
382 both hardware and software across a wide range of computing
383 environments regardless of its use in feedback or non-feedback
384 modes. Its key setup time is excellent, and its key agility is
385 good. Rijndael's very low memory requirements make it very well
386 suited for restricted-space environments, in which it also
387 demonstrates excellent performance. Rijndael's operations are
388 among the easiest to defend against power and timing attacks.
1da177e4 389
584fffc8 390 The AES specifies three key sizes: 128, 192 and 256 bits
a2a892a2
AS
391
392 See <http://csrc.nist.gov/encryption/aes/> for more information.
393
394config CRYPTO_AES_X86_64
395 tristate "AES cipher algorithms (x86_64)"
cce9e06d
HX
396 depends on (X86 || UML_X86) && 64BIT
397 select CRYPTO_ALGAPI
81190b32 398 select CRYPTO_AES
a2a892a2 399 help
584fffc8 400 AES cipher algorithms (FIPS-197). AES uses the Rijndael
a2a892a2
AS
401 algorithm.
402
403 Rijndael appears to be consistently a very good performer in
584fffc8
SS
404 both hardware and software across a wide range of computing
405 environments regardless of its use in feedback or non-feedback
406 modes. Its key setup time is excellent, and its key agility is
407 good. Rijndael's very low memory requirements make it very well
408 suited for restricted-space environments, in which it also
409 demonstrates excellent performance. Rijndael's operations are
410 among the easiest to defend against power and timing attacks.
a2a892a2 411
584fffc8 412 The AES specifies three key sizes: 128, 192 and 256 bits
1da177e4
LT
413
414 See <http://csrc.nist.gov/encryption/aes/> for more information.
415
584fffc8
SS
416config CRYPTO_ANUBIS
417 tristate "Anubis cipher algorithm"
418 select CRYPTO_ALGAPI
419 help
420 Anubis cipher algorithm.
421
422 Anubis is a variable key length cipher which can use keys from
423 128 bits to 320 bits in length. It was evaluated as a entrant
424 in the NESSIE competition.
425
426 See also:
427 <https://www.cosic.esat.kuleuven.ac.be/nessie/reports/>
428 <http://planeta.terra.com.br/informatica/paulobarreto/AnubisPage.html>
429
430config CRYPTO_ARC4
431 tristate "ARC4 cipher algorithm"
432 select CRYPTO_ALGAPI
433 help
434 ARC4 cipher algorithm.
435
436 ARC4 is a stream cipher using keys ranging from 8 bits to 2048
437 bits in length. This algorithm is required for driver-based
438 WEP, but it should not be for other purposes because of the
439 weakness of the algorithm.
440
441config CRYPTO_BLOWFISH
442 tristate "Blowfish cipher algorithm"
443 select CRYPTO_ALGAPI
444 help
445 Blowfish cipher algorithm, by Bruce Schneier.
446
447 This is a variable key length cipher which can use keys from 32
448 bits to 448 bits in length. It's fast, simple and specifically
449 designed for use on "large microprocessors".
450
451 See also:
452 <http://www.schneier.com/blowfish.html>
453
454config CRYPTO_CAMELLIA
455 tristate "Camellia cipher algorithms"
456 depends on CRYPTO
457 select CRYPTO_ALGAPI
458 help
459 Camellia cipher algorithms module.
460
461 Camellia is a symmetric key block cipher developed jointly
462 at NTT and Mitsubishi Electric Corporation.
463
464 The Camellia specifies three key sizes: 128, 192 and 256 bits.
465
466 See also:
467 <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
468
1da177e4
LT
469config CRYPTO_CAST5
470 tristate "CAST5 (CAST-128) cipher algorithm"
cce9e06d 471 select CRYPTO_ALGAPI
1da177e4
LT
472 help
473 The CAST5 encryption algorithm (synonymous with CAST-128) is
474 described in RFC2144.
475
476config CRYPTO_CAST6
477 tristate "CAST6 (CAST-256) cipher algorithm"
cce9e06d 478 select CRYPTO_ALGAPI
1da177e4
LT
479 help
480 The CAST6 encryption algorithm (synonymous with CAST-256) is
481 described in RFC2612.
482
584fffc8
SS
483config CRYPTO_DES
484 tristate "DES and Triple DES EDE cipher algorithms"
cce9e06d 485 select CRYPTO_ALGAPI
1da177e4 486 help
584fffc8 487 DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
fb4f10ed 488
584fffc8
SS
489config CRYPTO_FCRYPT
490 tristate "FCrypt cipher algorithm"
cce9e06d 491 select CRYPTO_ALGAPI
584fffc8 492 select CRYPTO_BLKCIPHER
1da177e4 493 help
584fffc8 494 FCrypt algorithm used by RxRPC.
1da177e4
LT
495
496config CRYPTO_KHAZAD
497 tristate "Khazad cipher algorithm"
cce9e06d 498 select CRYPTO_ALGAPI
1da177e4
LT
499 help
500 Khazad cipher algorithm.
501
502 Khazad was a finalist in the initial NESSIE competition. It is
503 an algorithm optimized for 64-bit processors with good performance
504 on 32-bit processors. Khazad uses an 128 bit key size.
505
506 See also:
507 <http://planeta.terra.com.br/informatica/paulobarreto/KhazadPage.html>
508
2407d608
TSH
509config CRYPTO_SALSA20
510 tristate "Salsa20 stream cipher algorithm (EXPERIMENTAL)"
511 depends on EXPERIMENTAL
512 select CRYPTO_BLKCIPHER
513 help
514 Salsa20 stream cipher algorithm.
515
516 Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
517 Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
974e4b75
TSH
518
519 The Salsa20 stream cipher algorithm is designed by Daniel J.
520 Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
521
522config CRYPTO_SALSA20_586
523 tristate "Salsa20 stream cipher algorithm (i586) (EXPERIMENTAL)"
524 depends on (X86 || UML_X86) && !64BIT
525 depends on EXPERIMENTAL
526 select CRYPTO_BLKCIPHER
974e4b75
TSH
527 help
528 Salsa20 stream cipher algorithm.
529
530 Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
531 Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
9a7dafbb
TSH
532
533 The Salsa20 stream cipher algorithm is designed by Daniel J.
534 Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
535
536config CRYPTO_SALSA20_X86_64
537 tristate "Salsa20 stream cipher algorithm (x86_64) (EXPERIMENTAL)"
538 depends on (X86 || UML_X86) && 64BIT
539 depends on EXPERIMENTAL
540 select CRYPTO_BLKCIPHER
9a7dafbb
TSH
541 help
542 Salsa20 stream cipher algorithm.
543
544 Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
545 Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
2407d608
TSH
546
547 The Salsa20 stream cipher algorithm is designed by Daniel J.
548 Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
1da177e4 549
584fffc8
SS
550config CRYPTO_SEED
551 tristate "SEED cipher algorithm"
cce9e06d 552 select CRYPTO_ALGAPI
1da177e4 553 help
584fffc8 554 SEED cipher algorithm (RFC4269).
1da177e4 555
584fffc8
SS
556 SEED is a 128-bit symmetric key block cipher that has been
557 developed by KISA (Korea Information Security Agency) as a
558 national standard encryption algorithm of the Republic of Korea.
559 It is a 16 round block cipher with the key size of 128 bit.
560
561 See also:
562 <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp>
563
564config CRYPTO_SERPENT
565 tristate "Serpent cipher algorithm"
cce9e06d 566 select CRYPTO_ALGAPI
1da177e4 567 help
584fffc8 568 Serpent cipher algorithm, by Anderson, Biham & Knudsen.
1da177e4 569
584fffc8
SS
570 Keys are allowed to be from 0 to 256 bits in length, in steps
571 of 8 bits. Also includes the 'Tnepres' algorithm, a reversed
572 variant of Serpent for compatibility with old kerneli.org code.
573
574 See also:
575 <http://www.cl.cam.ac.uk/~rja14/serpent.html>
576
577config CRYPTO_TEA
578 tristate "TEA, XTEA and XETA cipher algorithms"
cce9e06d 579 select CRYPTO_ALGAPI
1da177e4 580 help
584fffc8 581 TEA cipher algorithm.
1da177e4 582
584fffc8
SS
583 Tiny Encryption Algorithm is a simple cipher that uses
584 many rounds for security. It is very fast and uses
585 little memory.
586
587 Xtendend Tiny Encryption Algorithm is a modification to
588 the TEA algorithm to address a potential key weakness
589 in the TEA algorithm.
590
591 Xtendend Encryption Tiny Algorithm is a mis-implementation
592 of the XTEA algorithm for compatibility purposes.
593
594config CRYPTO_TWOFISH
595 tristate "Twofish cipher algorithm"
04ac7db3 596 select CRYPTO_ALGAPI
584fffc8 597 select CRYPTO_TWOFISH_COMMON
04ac7db3 598 help
584fffc8 599 Twofish cipher algorithm.
04ac7db3 600
584fffc8
SS
601 Twofish was submitted as an AES (Advanced Encryption Standard)
602 candidate cipher by researchers at CounterPane Systems. It is a
603 16 round block cipher supporting key sizes of 128, 192, and 256
604 bits.
04ac7db3 605
584fffc8
SS
606 See also:
607 <http://www.schneier.com/twofish.html>
608
609config CRYPTO_TWOFISH_COMMON
610 tristate
611 help
612 Common parts of the Twofish cipher algorithm shared by the
613 generic c and the assembler implementations.
614
615config CRYPTO_TWOFISH_586
616 tristate "Twofish cipher algorithms (i586)"
617 depends on (X86 || UML_X86) && !64BIT
618 select CRYPTO_ALGAPI
619 select CRYPTO_TWOFISH_COMMON
620 help
621 Twofish cipher algorithm.
622
623 Twofish was submitted as an AES (Advanced Encryption Standard)
624 candidate cipher by researchers at CounterPane Systems. It is a
625 16 round block cipher supporting key sizes of 128, 192, and 256
626 bits.
04ac7db3
NT
627
628 See also:
584fffc8 629 <http://www.schneier.com/twofish.html>
04ac7db3 630
584fffc8
SS
631config CRYPTO_TWOFISH_X86_64
632 tristate "Twofish cipher algorithm (x86_64)"
633 depends on (X86 || UML_X86) && 64BIT
cce9e06d 634 select CRYPTO_ALGAPI
584fffc8 635 select CRYPTO_TWOFISH_COMMON
1da177e4 636 help
584fffc8 637 Twofish cipher algorithm (x86_64).
1da177e4 638
584fffc8
SS
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
647comment "Compression"
648
649config CRYPTO_DEFLATE
650 tristate "Deflate compression algorithm"
651 select CRYPTO_ALGAPI
652 select ZLIB_INFLATE
653 select ZLIB_DEFLATE
3c09f17c 654 help
584fffc8
SS
655 This is the Deflate algorithm (RFC1951), specified for use in
656 IPSec with the IPCOMP protocol (RFC3173, RFC2394).
657
658 You will most probably want this if using IPSec.
3c09f17c 659
0b77abb3
ZS
660config CRYPTO_LZO
661 tristate "LZO compression algorithm"
662 select CRYPTO_ALGAPI
663 select LZO_COMPRESS
664 select LZO_DECOMPRESS
665 help
666 This is the LZO algorithm.
667
1da177e4 668source "drivers/crypto/Kconfig"
1da177e4 669
cce9e06d 670endif # if CRYPTO