crypto: drop selects of bogus Kconfig symbol
[linux-flexiantxendom0-3.2.10.git] / crypto / Kconfig
1 #
2 # Generic algorithms support
3 #
4 config XOR_BLOCKS
5         tristate
6
7 #
8 # async_tx api: hardware offloaded memory transfer/transform support
9 #
10 source "crypto/async_tx/Kconfig"
11
12 #
13 # Cryptographic API Configuration
14 #
15 menuconfig CRYPTO
16         tristate "Cryptographic API"
17         help
18           This option provides the core Cryptographic API.
19
20 if CRYPTO
21
22 comment "Crypto core or helper"
23
24 config CRYPTO_FIPS
25         bool "FIPS 200 compliance"
26         depends on CRYPTO_ANSI_CPRNG && !CRYPTO_MANAGER_DISABLE_TESTS
27         help
28           This options enables the fips boot option which is
29           required if you want to system to operate in a FIPS 200
30           certification.  You should say no unless you know what
31           this is.
32
33 config CRYPTO_ALGAPI
34         tristate
35         select CRYPTO_ALGAPI2
36         help
37           This option provides the API for cryptographic algorithms.
38
39 config CRYPTO_ALGAPI2
40         tristate
41
42 config CRYPTO_AEAD
43         tristate
44         select CRYPTO_AEAD2
45         select CRYPTO_ALGAPI
46
47 config CRYPTO_AEAD2
48         tristate
49         select CRYPTO_ALGAPI2
50
51 config CRYPTO_BLKCIPHER
52         tristate
53         select CRYPTO_BLKCIPHER2
54         select CRYPTO_ALGAPI
55
56 config CRYPTO_BLKCIPHER2
57         tristate
58         select CRYPTO_ALGAPI2
59         select CRYPTO_RNG2
60         select CRYPTO_WORKQUEUE
61
62 config CRYPTO_HASH
63         tristate
64         select CRYPTO_HASH2
65         select CRYPTO_ALGAPI
66
67 config CRYPTO_HASH2
68         tristate
69         select CRYPTO_ALGAPI2
70
71 config CRYPTO_RNG
72         tristate
73         select CRYPTO_RNG2
74         select CRYPTO_ALGAPI
75
76 config CRYPTO_RNG2
77         tristate
78         select CRYPTO_ALGAPI2
79
80 config CRYPTO_PCOMP
81         tristate
82         select CRYPTO_PCOMP2
83         select CRYPTO_ALGAPI
84
85 config CRYPTO_PCOMP2
86         tristate
87         select CRYPTO_ALGAPI2
88
89 config CRYPTO_MANAGER
90         tristate "Cryptographic algorithm manager"
91         select CRYPTO_MANAGER2
92         help
93           Create default cryptographic template instantiations such as
94           cbc(aes).
95
96 config CRYPTO_MANAGER2
97         def_tristate CRYPTO_MANAGER || (CRYPTO_MANAGER!=n && CRYPTO_ALGAPI=y)
98         select CRYPTO_AEAD2
99         select CRYPTO_HASH2
100         select CRYPTO_BLKCIPHER2
101         select CRYPTO_PCOMP2
102
103 config CRYPTO_MANAGER_DISABLE_TESTS
104         bool "Disable run-time self tests"
105         default y
106         depends on CRYPTO_MANAGER2
107         help
108           Disable run-time self tests that normally take place at
109           algorithm registration.
110
111 config CRYPTO_GF128MUL
112         tristate "GF(2^128) multiplication functions (EXPERIMENTAL)"
113         help
114           Efficient table driven implementation of multiplications in the
115           field GF(2^128).  This is needed by some cypher modes. This
116           option will be selected automatically if you select such a
117           cipher mode.  Only select this option by hand if you expect to load
118           an external module that requires these functions.
119
120 config CRYPTO_NULL
121         tristate "Null algorithms"
122         select CRYPTO_ALGAPI
123         select CRYPTO_BLKCIPHER
124         select CRYPTO_HASH
125         help
126           These are 'Null' algorithms, used by IPsec, which do nothing.
127
128 config CRYPTO_PCRYPT
129         tristate "Parallel crypto engine (EXPERIMENTAL)"
130         depends on SMP && EXPERIMENTAL
131         select PADATA
132         select CRYPTO_MANAGER
133         select CRYPTO_AEAD
134         help
135           This converts an arbitrary crypto algorithm into a parallel
136           algorithm that executes in kernel threads.
137
138 config CRYPTO_WORKQUEUE
139        tristate
140
141 config CRYPTO_CRYPTD
142         tristate "Software async crypto daemon"
143         select CRYPTO_BLKCIPHER
144         select CRYPTO_HASH
145         select CRYPTO_MANAGER
146         select CRYPTO_WORKQUEUE
147         help
148           This is a generic software asynchronous crypto daemon that
149           converts an arbitrary synchronous software crypto algorithm
150           into an asynchronous algorithm that executes in a kernel thread.
151
152 config CRYPTO_AUTHENC
153         tristate "Authenc support"
154         select CRYPTO_AEAD
155         select CRYPTO_BLKCIPHER
156         select CRYPTO_MANAGER
157         select CRYPTO_HASH
158         help
159           Authenc: Combined mode wrapper for IPsec.
160           This is required for IPSec.
161
162 config CRYPTO_TEST
163         tristate "Testing module"
164         depends on m
165         select CRYPTO_MANAGER
166         help
167           Quick & dirty crypto test module.
168
169 comment "Authenticated Encryption with Associated Data"
170
171 config CRYPTO_CCM
172         tristate "CCM support"
173         select CRYPTO_CTR
174         select CRYPTO_AEAD
175         help
176           Support for Counter with CBC MAC. Required for IPsec.
177
178 config CRYPTO_GCM
179         tristate "GCM/GMAC support"
180         select CRYPTO_CTR
181         select CRYPTO_AEAD
182         select CRYPTO_GHASH
183         help
184           Support for Galois/Counter Mode (GCM) and Galois Message
185           Authentication Code (GMAC). Required for IPSec.
186
187 config CRYPTO_SEQIV
188         tristate "Sequence Number IV Generator"
189         select CRYPTO_AEAD
190         select CRYPTO_BLKCIPHER
191         select CRYPTO_RNG
192         help
193           This IV generator generates an IV based on a sequence number by
194           xoring it with a salt.  This algorithm is mainly useful for CTR
195
196 comment "Block modes"
197
198 config CRYPTO_CBC
199         tristate "CBC support"
200         select CRYPTO_BLKCIPHER
201         select CRYPTO_MANAGER
202         help
203           CBC: Cipher Block Chaining mode
204           This block cipher algorithm is required for IPSec.
205
206 config CRYPTO_CTR
207         tristate "CTR support"
208         select CRYPTO_BLKCIPHER
209         select CRYPTO_SEQIV
210         select CRYPTO_MANAGER
211         help
212           CTR: Counter mode
213           This block cipher algorithm is required for IPSec.
214
215 config CRYPTO_CTS
216         tristate "CTS support"
217         select CRYPTO_BLKCIPHER
218         help
219           CTS: Cipher Text Stealing
220           This is the Cipher Text Stealing mode as described by
221           Section 8 of rfc2040 and referenced by rfc3962.
222           (rfc3962 includes errata information in its Appendix A)
223           This mode is required for Kerberos gss mechanism support
224           for AES encryption.
225
226 config CRYPTO_ECB
227         tristate "ECB support"
228         select CRYPTO_BLKCIPHER
229         select CRYPTO_MANAGER
230         help
231           ECB: Electronic CodeBook mode
232           This is the simplest block cipher algorithm.  It simply encrypts
233           the input block by block.
234
235 config CRYPTO_LRW
236         tristate "LRW support (EXPERIMENTAL)"
237         depends on EXPERIMENTAL
238         select CRYPTO_BLKCIPHER
239         select CRYPTO_MANAGER
240         select CRYPTO_GF128MUL
241         help
242           LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable
243           narrow block cipher mode for dm-crypt.  Use it with cipher
244           specification string aes-lrw-benbi, the key must be 256, 320 or 384.
245           The first 128, 192 or 256 bits in the key are used for AES and the
246           rest is used to tie each cipher block to its logical position.
247
248 config CRYPTO_PCBC
249         tristate "PCBC support"
250         select CRYPTO_BLKCIPHER
251         select CRYPTO_MANAGER
252         help
253           PCBC: Propagating Cipher Block Chaining mode
254           This block cipher algorithm is required for RxRPC.
255
256 config CRYPTO_XTS
257         tristate "XTS support (EXPERIMENTAL)"
258         depends on EXPERIMENTAL
259         select CRYPTO_BLKCIPHER
260         select CRYPTO_MANAGER
261         select CRYPTO_GF128MUL
262         help
263           XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain,
264           key size 256, 384 or 512 bits. This implementation currently
265           can't handle a sectorsize which is not a multiple of 16 bytes.
266
267 comment "Hash modes"
268
269 config CRYPTO_HMAC
270         tristate "HMAC support"
271         select CRYPTO_HASH
272         select CRYPTO_MANAGER
273         help
274           HMAC: Keyed-Hashing for Message Authentication (RFC2104).
275           This is required for IPSec.
276
277 config CRYPTO_XCBC
278         tristate "XCBC support"
279         depends on EXPERIMENTAL
280         select CRYPTO_HASH
281         select CRYPTO_MANAGER
282         help
283           XCBC: Keyed-Hashing with encryption algorithm
284                 http://www.ietf.org/rfc/rfc3566.txt
285                 http://csrc.nist.gov/encryption/modes/proposedmodes/
286                  xcbc-mac/xcbc-mac-spec.pdf
287
288 config CRYPTO_VMAC
289         tristate "VMAC support"
290         depends on EXPERIMENTAL
291         select CRYPTO_HASH
292         select CRYPTO_MANAGER
293         help
294           VMAC is a message authentication algorithm designed for
295           very high speed on 64-bit architectures.
296
297           See also:
298           <http://fastcrypto.org/vmac>
299
300 comment "Digest"
301
302 config CRYPTO_CRC32C
303         tristate "CRC32c CRC algorithm"
304         select CRYPTO_HASH
305         help
306           Castagnoli, et al Cyclic Redundancy-Check Algorithm.  Used
307           by iSCSI for header and data digests and by others.
308           See Castagnoli93.  Module will be crc32c.
309
310 config CRYPTO_CRC32C_INTEL
311         tristate "CRC32c INTEL hardware acceleration"
312         depends on X86
313         select CRYPTO_HASH
314         help
315           In Intel processor with SSE4.2 supported, the processor will
316           support CRC32C implementation using hardware accelerated CRC32
317           instruction. This option will create 'crc32c-intel' module,
318           which will enable any routine to use the CRC32 instruction to
319           gain performance compared with software implementation.
320           Module will be crc32c-intel.
321
322 config CRYPTO_GHASH
323         tristate "GHASH digest algorithm"
324         select CRYPTO_GF128MUL
325         help
326           GHASH is message digest algorithm for GCM (Galois/Counter Mode).
327
328 config CRYPTO_MD4
329         tristate "MD4 digest algorithm"
330         select CRYPTO_HASH
331         help
332           MD4 message digest algorithm (RFC1320).
333
334 config CRYPTO_MD5
335         tristate "MD5 digest algorithm"
336         select CRYPTO_HASH
337         help
338           MD5 message digest algorithm (RFC1321).
339
340 config CRYPTO_MICHAEL_MIC
341         tristate "Michael MIC keyed digest algorithm"
342         select CRYPTO_HASH
343         help
344           Michael MIC is used for message integrity protection in TKIP
345           (IEEE 802.11i). This algorithm is required for TKIP, but it
346           should not be used for other purposes because of the weakness
347           of the algorithm.
348
349 config CRYPTO_RMD128
350         tristate "RIPEMD-128 digest algorithm"
351         select CRYPTO_HASH
352         help
353           RIPEMD-128 (ISO/IEC 10118-3:2004).
354
355           RIPEMD-128 is a 128-bit cryptographic hash function. It should only
356           be used as a secure replacement for RIPEMD. For other use cases,
357           RIPEMD-160 should be used.
358
359           Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
360           See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
361
362 config CRYPTO_RMD160
363         tristate "RIPEMD-160 digest algorithm"
364         select CRYPTO_HASH
365         help
366           RIPEMD-160 (ISO/IEC 10118-3:2004).
367
368           RIPEMD-160 is a 160-bit cryptographic hash function. It is intended
369           to be used as a secure replacement for the 128-bit hash functions
370           MD4, MD5 and it's predecessor RIPEMD
371           (not to be confused with RIPEMD-128).
372
373           It's speed is comparable to SHA1 and there are no known attacks
374           against RIPEMD-160.
375
376           Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
377           See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
378
379 config CRYPTO_RMD256
380         tristate "RIPEMD-256 digest algorithm"
381         select CRYPTO_HASH
382         help
383           RIPEMD-256 is an optional extension of RIPEMD-128 with a
384           256 bit hash. It is intended for applications that require
385           longer hash-results, without needing a larger security level
386           (than RIPEMD-128).
387
388           Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
389           See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
390
391 config CRYPTO_RMD320
392         tristate "RIPEMD-320 digest algorithm"
393         select CRYPTO_HASH
394         help
395           RIPEMD-320 is an optional extension of RIPEMD-160 with a
396           320 bit hash. It is intended for applications that require
397           longer hash-results, without needing a larger security level
398           (than RIPEMD-160).
399
400           Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
401           See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
402
403 config CRYPTO_SHA1
404         tristate "SHA1 digest algorithm"
405         select CRYPTO_HASH
406         help
407           SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
408
409 config CRYPTO_SHA256
410         tristate "SHA224 and SHA256 digest algorithm"
411         select CRYPTO_HASH
412         help
413           SHA256 secure hash standard (DFIPS 180-2).
414
415           This version of SHA implements a 256 bit hash with 128 bits of
416           security against collision attacks.
417
418           This code also includes SHA-224, a 224 bit hash with 112 bits
419           of security against collision attacks.
420
421 config CRYPTO_SHA512
422         tristate "SHA384 and SHA512 digest algorithms"
423         select CRYPTO_HASH
424         help
425           SHA512 secure hash standard (DFIPS 180-2).
426
427           This version of SHA implements a 512 bit hash with 256 bits of
428           security against collision attacks.
429
430           This code also includes SHA-384, a 384 bit hash with 192 bits
431           of security against collision attacks.
432
433 config CRYPTO_TGR192
434         tristate "Tiger digest algorithms"
435         select CRYPTO_HASH
436         help
437           Tiger hash algorithm 192, 160 and 128-bit hashes
438
439           Tiger is a hash function optimized for 64-bit processors while
440           still having decent performance on 32-bit processors.
441           Tiger was developed by Ross Anderson and Eli Biham.
442
443           See also:
444           <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>.
445
446 config CRYPTO_WP512
447         tristate "Whirlpool digest algorithms"
448         select CRYPTO_HASH
449         help
450           Whirlpool hash algorithm 512, 384 and 256-bit hashes
451
452           Whirlpool-512 is part of the NESSIE cryptographic primitives.
453           Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard
454
455           See also:
456           <http://www.larc.usp.br/~pbarreto/WhirlpoolPage.html>
457
458 config CRYPTO_GHASH_CLMUL_NI_INTEL
459         tristate "GHASH digest algorithm (CLMUL-NI accelerated)"
460         depends on X86 && 64BIT
461         select CRYPTO_CRYPTD
462         help
463           GHASH is message digest algorithm for GCM (Galois/Counter Mode).
464           The implementation is accelerated by CLMUL-NI of Intel.
465
466 comment "Ciphers"
467
468 config CRYPTO_AES
469         tristate "AES cipher algorithms"
470         select CRYPTO_ALGAPI
471         help
472           AES cipher algorithms (FIPS-197). AES uses the Rijndael
473           algorithm.
474
475           Rijndael appears to be consistently a very good performer in
476           both hardware and software across a wide range of computing
477           environments regardless of its use in feedback or non-feedback
478           modes. Its key setup time is excellent, and its key agility is
479           good. Rijndael's very low memory requirements make it very well
480           suited for restricted-space environments, in which it also
481           demonstrates excellent performance. Rijndael's operations are
482           among the easiest to defend against power and timing attacks.
483
484           The AES specifies three key sizes: 128, 192 and 256 bits
485
486           See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information.
487
488 config CRYPTO_AES_586
489         tristate "AES cipher algorithms (i586)"
490         depends on (X86 || UML_X86) && !64BIT
491         select CRYPTO_ALGAPI
492         select CRYPTO_AES
493         help
494           AES cipher algorithms (FIPS-197). AES uses the Rijndael
495           algorithm.
496
497           Rijndael appears to be consistently a very good performer in
498           both hardware and software across a wide range of computing
499           environments regardless of its use in feedback or non-feedback
500           modes. Its key setup time is excellent, and its key agility is
501           good. Rijndael's very low memory requirements make it very well
502           suited for restricted-space environments, in which it also
503           demonstrates excellent performance. Rijndael's operations are
504           among the easiest to defend against power and timing attacks.
505
506           The AES specifies three key sizes: 128, 192 and 256 bits
507
508           See <http://csrc.nist.gov/encryption/aes/> for more information.
509
510 config CRYPTO_AES_X86_64
511         tristate "AES cipher algorithms (x86_64)"
512         depends on (X86 || UML_X86) && 64BIT
513         select CRYPTO_ALGAPI
514         select CRYPTO_AES
515         help
516           AES cipher algorithms (FIPS-197). AES uses the Rijndael
517           algorithm.
518
519           Rijndael appears to be consistently a very good performer in
520           both hardware and software across a wide range of computing
521           environments regardless of its use in feedback or non-feedback
522           modes. Its key setup time is excellent, and its key agility is
523           good. Rijndael's very low memory requirements make it very well
524           suited for restricted-space environments, in which it also
525           demonstrates excellent performance. Rijndael's operations are
526           among the easiest to defend against power and timing attacks.
527
528           The AES specifies three key sizes: 128, 192 and 256 bits
529
530           See <http://csrc.nist.gov/encryption/aes/> for more information.
531
532 config CRYPTO_AES_NI_INTEL
533         tristate "AES cipher algorithms (AES-NI)"
534         depends on X86
535         select CRYPTO_AES_X86_64 if 64BIT
536         select CRYPTO_AES_586 if !64BIT
537         select CRYPTO_CRYPTD
538         select CRYPTO_ALGAPI
539         help
540           Use Intel AES-NI instructions for AES algorithm.
541
542           AES cipher algorithms (FIPS-197). AES uses the Rijndael
543           algorithm.
544
545           Rijndael appears to be consistently a very good performer in
546           both hardware and software across a wide range of computing
547           environments regardless of its use in feedback or non-feedback
548           modes. Its key setup time is excellent, and its key agility is
549           good. Rijndael's very low memory requirements make it very well
550           suited for restricted-space environments, in which it also
551           demonstrates excellent performance. Rijndael's operations are
552           among the easiest to defend against power and timing attacks.
553
554           The AES specifies three key sizes: 128, 192 and 256 bits
555
556           See <http://csrc.nist.gov/encryption/aes/> for more information.
557
558           In addition to AES cipher algorithm support, the acceleration
559           for some popular block cipher mode is supported too, including
560           ECB, CBC, LRW, PCBC, XTS. The 64 bit version has additional
561           acceleration for CTR.
562
563 config CRYPTO_ANUBIS
564         tristate "Anubis cipher algorithm"
565         select CRYPTO_ALGAPI
566         help
567           Anubis cipher algorithm.
568
569           Anubis is a variable key length cipher which can use keys from
570           128 bits to 320 bits in length.  It was evaluated as a entrant
571           in the NESSIE competition.
572
573           See also:
574           <https://www.cosic.esat.kuleuven.be/nessie/reports/>
575           <http://www.larc.usp.br/~pbarreto/AnubisPage.html>
576
577 config CRYPTO_ARC4
578         tristate "ARC4 cipher algorithm"
579         select CRYPTO_ALGAPI
580         help
581           ARC4 cipher algorithm.
582
583           ARC4 is a stream cipher using keys ranging from 8 bits to 2048
584           bits in length.  This algorithm is required for driver-based
585           WEP, but it should not be for other purposes because of the
586           weakness of the algorithm.
587
588 config CRYPTO_BLOWFISH
589         tristate "Blowfish cipher algorithm"
590         select CRYPTO_ALGAPI
591         help
592           Blowfish cipher algorithm, by Bruce Schneier.
593
594           This is a variable key length cipher which can use keys from 32
595           bits to 448 bits in length.  It's fast, simple and specifically
596           designed for use on "large microprocessors".
597
598           See also:
599           <http://www.schneier.com/blowfish.html>
600
601 config CRYPTO_CAMELLIA
602         tristate "Camellia cipher algorithms"
603         depends on CRYPTO
604         select CRYPTO_ALGAPI
605         help
606           Camellia cipher algorithms module.
607
608           Camellia is a symmetric key block cipher developed jointly
609           at NTT and Mitsubishi Electric Corporation.
610
611           The Camellia specifies three key sizes: 128, 192 and 256 bits.
612
613           See also:
614           <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
615
616 config CRYPTO_CAST5
617         tristate "CAST5 (CAST-128) cipher algorithm"
618         select CRYPTO_ALGAPI
619         help
620           The CAST5 encryption algorithm (synonymous with CAST-128) is
621           described in RFC2144.
622
623 config CRYPTO_CAST6
624         tristate "CAST6 (CAST-256) cipher algorithm"
625         select CRYPTO_ALGAPI
626         help
627           The CAST6 encryption algorithm (synonymous with CAST-256) is
628           described in RFC2612.
629
630 config CRYPTO_DES
631         tristate "DES and Triple DES EDE cipher algorithms"
632         select CRYPTO_ALGAPI
633         help
634           DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
635
636 config CRYPTO_FCRYPT
637         tristate "FCrypt cipher algorithm"
638         select CRYPTO_ALGAPI
639         select CRYPTO_BLKCIPHER
640         help
641           FCrypt algorithm used by RxRPC.
642
643 config CRYPTO_KHAZAD
644         tristate "Khazad cipher algorithm"
645         select CRYPTO_ALGAPI
646         help
647           Khazad cipher algorithm.
648
649           Khazad was a finalist in the initial NESSIE competition.  It is
650           an algorithm optimized for 64-bit processors with good performance
651           on 32-bit processors.  Khazad uses an 128 bit key size.
652
653           See also:
654           <http://www.larc.usp.br/~pbarreto/KhazadPage.html>
655
656 config CRYPTO_SALSA20
657         tristate "Salsa20 stream cipher algorithm (EXPERIMENTAL)"
658         depends on EXPERIMENTAL
659         select CRYPTO_BLKCIPHER
660         help
661           Salsa20 stream cipher algorithm.
662
663           Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
664           Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
665
666           The Salsa20 stream cipher algorithm is designed by Daniel J.
667           Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
668
669 config CRYPTO_SALSA20_586
670         tristate "Salsa20 stream cipher algorithm (i586) (EXPERIMENTAL)"
671         depends on (X86 || UML_X86) && !64BIT
672         depends on EXPERIMENTAL
673         select CRYPTO_BLKCIPHER
674         help
675           Salsa20 stream cipher algorithm.
676
677           Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
678           Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
679
680           The Salsa20 stream cipher algorithm is designed by Daniel J.
681           Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
682
683 config CRYPTO_SALSA20_X86_64
684         tristate "Salsa20 stream cipher algorithm (x86_64) (EXPERIMENTAL)"
685         depends on (X86 || UML_X86) && 64BIT
686         depends on EXPERIMENTAL
687         select CRYPTO_BLKCIPHER
688         help
689           Salsa20 stream cipher algorithm.
690
691           Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
692           Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
693
694           The Salsa20 stream cipher algorithm is designed by Daniel J.
695           Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
696
697 config CRYPTO_SEED
698         tristate "SEED cipher algorithm"
699         select CRYPTO_ALGAPI
700         help
701           SEED cipher algorithm (RFC4269).
702
703           SEED is a 128-bit symmetric key block cipher that has been
704           developed by KISA (Korea Information Security Agency) as a
705           national standard encryption algorithm of the Republic of Korea.
706           It is a 16 round block cipher with the key size of 128 bit.
707
708           See also:
709           <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp>
710
711 config CRYPTO_SERPENT
712         tristate "Serpent cipher algorithm"
713         select CRYPTO_ALGAPI
714         help
715           Serpent cipher algorithm, by Anderson, Biham & Knudsen.
716
717           Keys are allowed to be from 0 to 256 bits in length, in steps
718           of 8 bits.  Also includes the 'Tnepres' algorithm, a reversed
719           variant of Serpent for compatibility with old kerneli.org code.
720
721           See also:
722           <http://www.cl.cam.ac.uk/~rja14/serpent.html>
723
724 config CRYPTO_TEA
725         tristate "TEA, XTEA and XETA cipher algorithms"
726         select CRYPTO_ALGAPI
727         help
728           TEA cipher algorithm.
729
730           Tiny Encryption Algorithm is a simple cipher that uses
731           many rounds for security.  It is very fast and uses
732           little memory.
733
734           Xtendend Tiny Encryption Algorithm is a modification to
735           the TEA algorithm to address a potential key weakness
736           in the TEA algorithm.
737
738           Xtendend Encryption Tiny Algorithm is a mis-implementation
739           of the XTEA algorithm for compatibility purposes.
740
741 config CRYPTO_TWOFISH
742         tristate "Twofish cipher algorithm"
743         select CRYPTO_ALGAPI
744         select CRYPTO_TWOFISH_COMMON
745         help
746           Twofish cipher algorithm.
747
748           Twofish was submitted as an AES (Advanced Encryption Standard)
749           candidate cipher by researchers at CounterPane Systems.  It is a
750           16 round block cipher supporting key sizes of 128, 192, and 256
751           bits.
752
753           See also:
754           <http://www.schneier.com/twofish.html>
755
756 config CRYPTO_TWOFISH_COMMON
757         tristate
758         help
759           Common parts of the Twofish cipher algorithm shared by the
760           generic c and the assembler implementations.
761
762 config CRYPTO_TWOFISH_586
763         tristate "Twofish cipher algorithms (i586)"
764         depends on (X86 || UML_X86) && !64BIT
765         select CRYPTO_ALGAPI
766         select CRYPTO_TWOFISH_COMMON
767         help
768           Twofish cipher algorithm.
769
770           Twofish was submitted as an AES (Advanced Encryption Standard)
771           candidate cipher by researchers at CounterPane Systems.  It is a
772           16 round block cipher supporting key sizes of 128, 192, and 256
773           bits.
774
775           See also:
776           <http://www.schneier.com/twofish.html>
777
778 config CRYPTO_TWOFISH_X86_64
779         tristate "Twofish cipher algorithm (x86_64)"
780         depends on (X86 || UML_X86) && 64BIT
781         select CRYPTO_ALGAPI
782         select CRYPTO_TWOFISH_COMMON
783         help
784           Twofish cipher algorithm (x86_64).
785
786           Twofish was submitted as an AES (Advanced Encryption Standard)
787           candidate cipher by researchers at CounterPane Systems.  It is a
788           16 round block cipher supporting key sizes of 128, 192, and 256
789           bits.
790
791           See also:
792           <http://www.schneier.com/twofish.html>
793
794 comment "Compression"
795
796 config CRYPTO_DEFLATE
797         tristate "Deflate compression algorithm"
798         select CRYPTO_ALGAPI
799         select ZLIB_INFLATE
800         select ZLIB_DEFLATE
801         help
802           This is the Deflate algorithm (RFC1951), specified for use in
803           IPSec with the IPCOMP protocol (RFC3173, RFC2394).
804
805           You will most probably want this if using IPSec.
806
807 config CRYPTO_ZLIB
808         tristate "Zlib compression algorithm"
809         select CRYPTO_PCOMP
810         select ZLIB_INFLATE
811         select ZLIB_DEFLATE
812         select NLATTR
813         help
814           This is the zlib algorithm.
815
816 config CRYPTO_LZO
817         tristate "LZO compression algorithm"
818         select CRYPTO_ALGAPI
819         select LZO_COMPRESS
820         select LZO_DECOMPRESS
821         help
822           This is the LZO algorithm.
823
824 comment "Random Number Generation"
825
826 config CRYPTO_ANSI_CPRNG
827         tristate "Pseudo Random Number Generation for Cryptographic modules"
828         default m
829         select CRYPTO_AES
830         select CRYPTO_RNG
831         help
832           This option enables the generic pseudo random number generator
833           for cryptographic modules.  Uses the Algorithm specified in
834           ANSI X9.31 A.2.4. Note that this option must be enabled if
835           CRYPTO_FIPS is selected
836
837 config CRYPTO_USER_API
838         tristate
839
840 config CRYPTO_USER_API_HASH
841         tristate "User-space interface for hash algorithms"
842         depends on NET
843         select CRYPTO_HASH
844         select CRYPTO_USER_API
845         help
846           This option enables the user-spaces interface for hash
847           algorithms.
848
849 config CRYPTO_USER_API_SKCIPHER
850         tristate "User-space interface for symmetric key cipher algorithms"
851         depends on NET
852         select CRYPTO_BLKCIPHER
853         select CRYPTO_USER_API
854         help
855           This option enables the user-spaces interface for symmetric
856           key cipher algorithms.
857
858 source "drivers/crypto/Kconfig"
859
860 endif   # if CRYPTO