xref: /linux/crypto/Kconfig (revision 055bcee3102dc35f019b69df9c2618e9d6dd1c09)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Cryptographic API Configuration
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvaldsmenu "Cryptographic options"
61da177e4SLinus Torvalds
71da177e4SLinus Torvaldsconfig CRYPTO
81da177e4SLinus Torvalds	bool "Cryptographic API"
91da177e4SLinus Torvalds	help
101da177e4SLinus Torvalds	  This option provides the core Cryptographic API.
111da177e4SLinus Torvalds
12cce9e06dSHerbert Xuif CRYPTO
13cce9e06dSHerbert Xu
14cce9e06dSHerbert Xuconfig CRYPTO_ALGAPI
15cce9e06dSHerbert Xu	tristate
16cce9e06dSHerbert Xu	help
17cce9e06dSHerbert Xu	  This option provides the API for cryptographic algorithms.
18cce9e06dSHerbert Xu
195cde0af2SHerbert Xuconfig CRYPTO_BLKCIPHER
205cde0af2SHerbert Xu	tristate
215cde0af2SHerbert Xu	select CRYPTO_ALGAPI
225cde0af2SHerbert Xu
23*055bcee3SHerbert Xuconfig CRYPTO_HASH
24*055bcee3SHerbert Xu	tristate
25*055bcee3SHerbert Xu	select CRYPTO_ALGAPI
26*055bcee3SHerbert Xu
272b8c19dbSHerbert Xuconfig CRYPTO_MANAGER
282b8c19dbSHerbert Xu	tristate "Cryptographic algorithm manager"
292b8c19dbSHerbert Xu	select CRYPTO_ALGAPI
302b8c19dbSHerbert Xu	default m
312b8c19dbSHerbert Xu	help
322b8c19dbSHerbert Xu	  Create default cryptographic template instantiations such as
332b8c19dbSHerbert Xu	  cbc(aes).
342b8c19dbSHerbert Xu
351da177e4SLinus Torvaldsconfig CRYPTO_HMAC
361da177e4SLinus Torvalds	bool "HMAC support"
371da177e4SLinus Torvalds	help
381da177e4SLinus Torvalds	  HMAC: Keyed-Hashing for Message Authentication (RFC2104).
391da177e4SLinus Torvalds	  This is required for IPSec.
401da177e4SLinus Torvalds
411da177e4SLinus Torvaldsconfig CRYPTO_NULL
421da177e4SLinus Torvalds	tristate "Null algorithms"
43cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
441da177e4SLinus Torvalds	help
451da177e4SLinus Torvalds	  These are 'Null' algorithms, used by IPsec, which do nothing.
461da177e4SLinus Torvalds
471da177e4SLinus Torvaldsconfig CRYPTO_MD4
481da177e4SLinus Torvalds	tristate "MD4 digest algorithm"
49cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
501da177e4SLinus Torvalds	help
511da177e4SLinus Torvalds	  MD4 message digest algorithm (RFC1320).
521da177e4SLinus Torvalds
531da177e4SLinus Torvaldsconfig CRYPTO_MD5
541da177e4SLinus Torvalds	tristate "MD5 digest algorithm"
55cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
561da177e4SLinus Torvalds	help
571da177e4SLinus Torvalds	  MD5 message digest algorithm (RFC1321).
581da177e4SLinus Torvalds
591da177e4SLinus Torvaldsconfig CRYPTO_SHA1
601da177e4SLinus Torvalds	tristate "SHA1 digest algorithm"
61cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
621da177e4SLinus Torvalds	help
631da177e4SLinus Torvalds	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
641da177e4SLinus Torvalds
65c1e26e1eSJan Glauberconfig CRYPTO_SHA1_S390
66c1e26e1eSJan Glauber	tristate "SHA1 digest algorithm (s390)"
67cce9e06dSHerbert Xu	depends on S390
68cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
691da177e4SLinus Torvalds	help
700a497c17SJan Glauber	  This is the s390 hardware accelerated implementation of the
711da177e4SLinus Torvalds	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
721da177e4SLinus Torvalds
731da177e4SLinus Torvaldsconfig CRYPTO_SHA256
741da177e4SLinus Torvalds	tristate "SHA256 digest algorithm"
75cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
761da177e4SLinus Torvalds	help
771da177e4SLinus Torvalds	  SHA256 secure hash standard (DFIPS 180-2).
781da177e4SLinus Torvalds
791da177e4SLinus Torvalds	  This version of SHA implements a 256 bit hash with 128 bits of
801da177e4SLinus Torvalds	  security against collision attacks.
811da177e4SLinus Torvalds
820a497c17SJan Glauberconfig CRYPTO_SHA256_S390
830a497c17SJan Glauber	tristate "SHA256 digest algorithm (s390)"
84cce9e06dSHerbert Xu	depends on S390
85cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
860a497c17SJan Glauber	help
870a497c17SJan Glauber	  This is the s390 hardware accelerated implementation of the
880a497c17SJan Glauber	  SHA256 secure hash standard (DFIPS 180-2).
890a497c17SJan Glauber
900a497c17SJan Glauber	  This version of SHA implements a 256 bit hash with 128 bits of
910a497c17SJan Glauber	  security against collision attacks.
920a497c17SJan Glauber
931da177e4SLinus Torvaldsconfig CRYPTO_SHA512
941da177e4SLinus Torvalds	tristate "SHA384 and SHA512 digest algorithms"
95cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
961da177e4SLinus Torvalds	help
971da177e4SLinus Torvalds	  SHA512 secure hash standard (DFIPS 180-2).
981da177e4SLinus Torvalds
991da177e4SLinus Torvalds	  This version of SHA implements a 512 bit hash with 256 bits of
1001da177e4SLinus Torvalds	  security against collision attacks.
1011da177e4SLinus Torvalds
1021da177e4SLinus Torvalds	  This code also includes SHA-384, a 384 bit hash with 192 bits
1031da177e4SLinus Torvalds	  of security against collision attacks.
1041da177e4SLinus Torvalds
1051da177e4SLinus Torvaldsconfig CRYPTO_WP512
1061da177e4SLinus Torvalds	tristate "Whirlpool digest algorithms"
107cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
1081da177e4SLinus Torvalds	help
1091da177e4SLinus Torvalds	  Whirlpool hash algorithm 512, 384 and 256-bit hashes
1101da177e4SLinus Torvalds
1111da177e4SLinus Torvalds	  Whirlpool-512 is part of the NESSIE cryptographic primitives.
1121da177e4SLinus Torvalds	  Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard
1131da177e4SLinus Torvalds
1141da177e4SLinus Torvalds	  See also:
1151da177e4SLinus Torvalds	  <http://planeta.terra.com.br/informatica/paulobarreto/WhirlpoolPage.html>
1161da177e4SLinus Torvalds
1171da177e4SLinus Torvaldsconfig CRYPTO_TGR192
1181da177e4SLinus Torvalds	tristate "Tiger digest algorithms"
119cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
1201da177e4SLinus Torvalds	help
1211da177e4SLinus Torvalds	  Tiger hash algorithm 192, 160 and 128-bit hashes
1221da177e4SLinus Torvalds
1231da177e4SLinus Torvalds	  Tiger is a hash function optimized for 64-bit processors while
1241da177e4SLinus Torvalds	  still having decent performance on 32-bit processors.
1251da177e4SLinus Torvalds	  Tiger was developed by Ross Anderson and Eli Biham.
1261da177e4SLinus Torvalds
1271da177e4SLinus Torvalds	  See also:
1281da177e4SLinus Torvalds	  <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>.
1291da177e4SLinus Torvalds
130db131ef9SHerbert Xuconfig CRYPTO_ECB
131db131ef9SHerbert Xu	tristate "ECB support"
132db131ef9SHerbert Xu	select CRYPTO_BLKCIPHER
133db131ef9SHerbert Xu	default m
134db131ef9SHerbert Xu	help
135db131ef9SHerbert Xu	  ECB: Electronic CodeBook mode
136db131ef9SHerbert Xu	  This is the simplest block cipher algorithm.  It simply encrypts
137db131ef9SHerbert Xu	  the input block by block.
138db131ef9SHerbert Xu
139db131ef9SHerbert Xuconfig CRYPTO_CBC
140db131ef9SHerbert Xu	tristate "CBC support"
141db131ef9SHerbert Xu	select CRYPTO_BLKCIPHER
142db131ef9SHerbert Xu	default m
143db131ef9SHerbert Xu	help
144db131ef9SHerbert Xu	  CBC: Cipher Block Chaining mode
145db131ef9SHerbert Xu	  This block cipher algorithm is required for IPSec.
146db131ef9SHerbert Xu
1471da177e4SLinus Torvaldsconfig CRYPTO_DES
1481da177e4SLinus Torvalds	tristate "DES and Triple DES EDE cipher algorithms"
149cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
1501da177e4SLinus Torvalds	help
1511da177e4SLinus Torvalds	  DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
1521da177e4SLinus Torvalds
153c1e26e1eSJan Glauberconfig CRYPTO_DES_S390
154c1e26e1eSJan Glauber	tristate "DES and Triple DES cipher algorithms (s390)"
155cce9e06dSHerbert Xu	depends on S390
156cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
157a9e62fadSHerbert Xu	select CRYPTO_BLKCIPHER
1581da177e4SLinus Torvalds	help
1591da177e4SLinus Torvalds	  DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
1601da177e4SLinus Torvalds
1611da177e4SLinus Torvaldsconfig CRYPTO_BLOWFISH
1621da177e4SLinus Torvalds	tristate "Blowfish cipher algorithm"
163cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
1641da177e4SLinus Torvalds	help
1651da177e4SLinus Torvalds	  Blowfish cipher algorithm, by Bruce Schneier.
1661da177e4SLinus Torvalds
1671da177e4SLinus Torvalds	  This is a variable key length cipher which can use keys from 32
1681da177e4SLinus Torvalds	  bits to 448 bits in length.  It's fast, simple and specifically
1691da177e4SLinus Torvalds	  designed for use on "large microprocessors".
1701da177e4SLinus Torvalds
1711da177e4SLinus Torvalds	  See also:
1721da177e4SLinus Torvalds	  <http://www.schneier.com/blowfish.html>
1731da177e4SLinus Torvalds
1741da177e4SLinus Torvaldsconfig CRYPTO_TWOFISH
1751da177e4SLinus Torvalds	tristate "Twofish cipher algorithm"
176cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
1772729bb42SJoachim Fritschi	select CRYPTO_TWOFISH_COMMON
1781da177e4SLinus Torvalds	help
1791da177e4SLinus Torvalds	  Twofish cipher algorithm.
1801da177e4SLinus Torvalds
1811da177e4SLinus Torvalds	  Twofish was submitted as an AES (Advanced Encryption Standard)
1821da177e4SLinus Torvalds	  candidate cipher by researchers at CounterPane Systems.  It is a
1831da177e4SLinus Torvalds	  16 round block cipher supporting key sizes of 128, 192, and 256
1841da177e4SLinus Torvalds	  bits.
1851da177e4SLinus Torvalds
1861da177e4SLinus Torvalds	  See also:
1871da177e4SLinus Torvalds	  <http://www.schneier.com/twofish.html>
1881da177e4SLinus Torvalds
1892729bb42SJoachim Fritschiconfig CRYPTO_TWOFISH_COMMON
1902729bb42SJoachim Fritschi	tristate
1912729bb42SJoachim Fritschi	help
1922729bb42SJoachim Fritschi	  Common parts of the Twofish cipher algorithm shared by the
1932729bb42SJoachim Fritschi	  generic c and the assembler implementations.
1942729bb42SJoachim Fritschi
195b9f535ffSJoachim Fritschiconfig CRYPTO_TWOFISH_586
196b9f535ffSJoachim Fritschi	tristate "Twofish cipher algorithms (i586)"
197cce9e06dSHerbert Xu	depends on (X86 || UML_X86) && !64BIT
198cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
199b9f535ffSJoachim Fritschi	select CRYPTO_TWOFISH_COMMON
200b9f535ffSJoachim Fritschi	help
201b9f535ffSJoachim Fritschi	  Twofish cipher algorithm.
202b9f535ffSJoachim Fritschi
203b9f535ffSJoachim Fritschi	  Twofish was submitted as an AES (Advanced Encryption Standard)
204b9f535ffSJoachim Fritschi	  candidate cipher by researchers at CounterPane Systems.  It is a
205b9f535ffSJoachim Fritschi	  16 round block cipher supporting key sizes of 128, 192, and 256
206b9f535ffSJoachim Fritschi	  bits.
207b9f535ffSJoachim Fritschi
208b9f535ffSJoachim Fritschi	  See also:
209b9f535ffSJoachim Fritschi	  <http://www.schneier.com/twofish.html>
210b9f535ffSJoachim Fritschi
211eaf44088SJoachim Fritschiconfig CRYPTO_TWOFISH_X86_64
212eaf44088SJoachim Fritschi	tristate "Twofish cipher algorithm (x86_64)"
213cce9e06dSHerbert Xu	depends on (X86 || UML_X86) && 64BIT
214cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
215eaf44088SJoachim Fritschi	select CRYPTO_TWOFISH_COMMON
216eaf44088SJoachim Fritschi	help
217eaf44088SJoachim Fritschi	  Twofish cipher algorithm (x86_64).
218eaf44088SJoachim Fritschi
219eaf44088SJoachim Fritschi	  Twofish was submitted as an AES (Advanced Encryption Standard)
220eaf44088SJoachim Fritschi	  candidate cipher by researchers at CounterPane Systems.  It is a
221eaf44088SJoachim Fritschi	  16 round block cipher supporting key sizes of 128, 192, and 256
222eaf44088SJoachim Fritschi	  bits.
223eaf44088SJoachim Fritschi
224eaf44088SJoachim Fritschi	  See also:
225eaf44088SJoachim Fritschi	  <http://www.schneier.com/twofish.html>
226eaf44088SJoachim Fritschi
2271da177e4SLinus Torvaldsconfig CRYPTO_SERPENT
2281da177e4SLinus Torvalds	tristate "Serpent cipher algorithm"
229cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
2301da177e4SLinus Torvalds	help
2311da177e4SLinus Torvalds	  Serpent cipher algorithm, by Anderson, Biham & Knudsen.
2321da177e4SLinus Torvalds
2331da177e4SLinus Torvalds	  Keys are allowed to be from 0 to 256 bits in length, in steps
2341da177e4SLinus Torvalds	  of 8 bits.  Also includes the 'Tnepres' algorithm, a reversed
2351da177e4SLinus Torvalds	  variant of Serpent for compatibility with old kerneli code.
2361da177e4SLinus Torvalds
2371da177e4SLinus Torvalds	  See also:
2381da177e4SLinus Torvalds	  <http://www.cl.cam.ac.uk/~rja14/serpent.html>
2391da177e4SLinus Torvalds
2401da177e4SLinus Torvaldsconfig CRYPTO_AES
2411da177e4SLinus Torvalds	tristate "AES cipher algorithms"
242cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
2431da177e4SLinus Torvalds	help
2441da177e4SLinus Torvalds	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
2451da177e4SLinus Torvalds	  algorithm.
2461da177e4SLinus Torvalds
2471da177e4SLinus Torvalds	  Rijndael appears to be consistently a very good performer in
2481da177e4SLinus Torvalds	  both hardware and software across a wide range of computing
2491da177e4SLinus Torvalds	  environments regardless of its use in feedback or non-feedback
2501da177e4SLinus Torvalds	  modes. Its key setup time is excellent, and its key agility is
2511da177e4SLinus Torvalds	  good. Rijndael's very low memory requirements make it very well
2521da177e4SLinus Torvalds	  suited for restricted-space environments, in which it also
2531da177e4SLinus Torvalds	  demonstrates excellent performance. Rijndael's operations are
2541da177e4SLinus Torvalds	  among the easiest to defend against power and timing attacks.
2551da177e4SLinus Torvalds
2561da177e4SLinus Torvalds	  The AES specifies three key sizes: 128, 192 and 256 bits
2571da177e4SLinus Torvalds
2581da177e4SLinus Torvalds	  See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information.
2591da177e4SLinus Torvalds
2601da177e4SLinus Torvaldsconfig CRYPTO_AES_586
2611da177e4SLinus Torvalds	tristate "AES cipher algorithms (i586)"
262cce9e06dSHerbert Xu	depends on (X86 || UML_X86) && !64BIT
263cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
2641da177e4SLinus Torvalds	help
2651da177e4SLinus Torvalds	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
2661da177e4SLinus Torvalds	  algorithm.
2671da177e4SLinus Torvalds
2681da177e4SLinus Torvalds	  Rijndael appears to be consistently a very good performer in
2691da177e4SLinus Torvalds	  both hardware and software across a wide range of computing
2701da177e4SLinus Torvalds	  environments regardless of its use in feedback or non-feedback
2711da177e4SLinus Torvalds	  modes. Its key setup time is excellent, and its key agility is
2721da177e4SLinus Torvalds	  good. Rijndael's very low memory requirements make it very well
2731da177e4SLinus Torvalds	  suited for restricted-space environments, in which it also
2741da177e4SLinus Torvalds	  demonstrates excellent performance. Rijndael's operations are
2751da177e4SLinus Torvalds	  among the easiest to defend against power and timing attacks.
2761da177e4SLinus Torvalds
2771da177e4SLinus Torvalds	  The AES specifies three key sizes: 128, 192 and 256 bits
2781da177e4SLinus Torvalds
2791da177e4SLinus Torvalds	  See <http://csrc.nist.gov/encryption/aes/> for more information.
2801da177e4SLinus Torvalds
281a2a892a2SAndreas Steinmetzconfig CRYPTO_AES_X86_64
282a2a892a2SAndreas Steinmetz	tristate "AES cipher algorithms (x86_64)"
283cce9e06dSHerbert Xu	depends on (X86 || UML_X86) && 64BIT
284cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
285a2a892a2SAndreas Steinmetz	help
286a2a892a2SAndreas Steinmetz	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
287a2a892a2SAndreas Steinmetz	  algorithm.
288a2a892a2SAndreas Steinmetz
289a2a892a2SAndreas Steinmetz	  Rijndael appears to be consistently a very good performer in
290a2a892a2SAndreas Steinmetz	  both hardware and software across a wide range of computing
291a2a892a2SAndreas Steinmetz	  environments regardless of its use in feedback or non-feedback
292a2a892a2SAndreas Steinmetz	  modes. Its key setup time is excellent, and its key agility is
293a2a892a2SAndreas Steinmetz	  good. Rijndael's very low memory requirements make it very well
294a2a892a2SAndreas Steinmetz	  suited for restricted-space environments, in which it also
295a2a892a2SAndreas Steinmetz	  demonstrates excellent performance. Rijndael's operations are
296a2a892a2SAndreas Steinmetz	  among the easiest to defend against power and timing attacks.
297a2a892a2SAndreas Steinmetz
298a2a892a2SAndreas Steinmetz	  The AES specifies three key sizes: 128, 192 and 256 bits
299a2a892a2SAndreas Steinmetz
300a2a892a2SAndreas Steinmetz	  See <http://csrc.nist.gov/encryption/aes/> for more information.
301a2a892a2SAndreas Steinmetz
302bf754ae8SJan Glauberconfig CRYPTO_AES_S390
303bf754ae8SJan Glauber	tristate "AES cipher algorithms (s390)"
304cce9e06dSHerbert Xu	depends on S390
305cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
306a9e62fadSHerbert Xu	select CRYPTO_BLKCIPHER
307bf754ae8SJan Glauber	help
308bf754ae8SJan Glauber	  This is the s390 hardware accelerated implementation of the
309bf754ae8SJan Glauber	  AES cipher algorithms (FIPS-197). AES uses the Rijndael
310bf754ae8SJan Glauber	  algorithm.
311bf754ae8SJan Glauber
312bf754ae8SJan Glauber	  Rijndael appears to be consistently a very good performer in
313bf754ae8SJan Glauber	  both hardware and software across a wide range of computing
314bf754ae8SJan Glauber	  environments regardless of its use in feedback or non-feedback
315bf754ae8SJan Glauber	  modes. Its key setup time is excellent, and its key agility is
316bf754ae8SJan Glauber	  good. Rijndael's very low memory requirements make it very well
317bf754ae8SJan Glauber	  suited for restricted-space environments, in which it also
318bf754ae8SJan Glauber	  demonstrates excellent performance. Rijndael's operations are
319bf754ae8SJan Glauber	  among the easiest to defend against power and timing attacks.
320bf754ae8SJan Glauber
321bf754ae8SJan Glauber	  On s390 the System z9-109 currently only supports the key size
322bf754ae8SJan Glauber	  of 128 bit.
323bf754ae8SJan Glauber
3241da177e4SLinus Torvaldsconfig CRYPTO_CAST5
3251da177e4SLinus Torvalds	tristate "CAST5 (CAST-128) cipher algorithm"
326cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
3271da177e4SLinus Torvalds	help
3281da177e4SLinus Torvalds	  The CAST5 encryption algorithm (synonymous with CAST-128) is
3291da177e4SLinus Torvalds	  described in RFC2144.
3301da177e4SLinus Torvalds
3311da177e4SLinus Torvaldsconfig CRYPTO_CAST6
3321da177e4SLinus Torvalds	tristate "CAST6 (CAST-256) cipher algorithm"
333cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
3341da177e4SLinus Torvalds	help
3351da177e4SLinus Torvalds	  The CAST6 encryption algorithm (synonymous with CAST-256) is
3361da177e4SLinus Torvalds	  described in RFC2612.
3371da177e4SLinus Torvalds
3381da177e4SLinus Torvaldsconfig CRYPTO_TEA
339fb4f10edSAaron Grothe	tristate "TEA, XTEA and XETA cipher algorithms"
340cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
3411da177e4SLinus Torvalds	help
3421da177e4SLinus Torvalds	  TEA cipher algorithm.
3431da177e4SLinus Torvalds
3441da177e4SLinus Torvalds	  Tiny Encryption Algorithm is a simple cipher that uses
3451da177e4SLinus Torvalds	  many rounds for security.  It is very fast and uses
3461da177e4SLinus Torvalds	  little memory.
3471da177e4SLinus Torvalds
3481da177e4SLinus Torvalds	  Xtendend Tiny Encryption Algorithm is a modification to
3491da177e4SLinus Torvalds	  the TEA algorithm to address a potential key weakness
3501da177e4SLinus Torvalds	  in the TEA algorithm.
3511da177e4SLinus Torvalds
352fb4f10edSAaron Grothe	  Xtendend Encryption Tiny Algorithm is a mis-implementation
353fb4f10edSAaron Grothe	  of the XTEA algorithm for compatibility purposes.
354fb4f10edSAaron Grothe
3551da177e4SLinus Torvaldsconfig CRYPTO_ARC4
3561da177e4SLinus Torvalds	tristate "ARC4 cipher algorithm"
357cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
3581da177e4SLinus Torvalds	help
3591da177e4SLinus Torvalds	  ARC4 cipher algorithm.
3601da177e4SLinus Torvalds
3611da177e4SLinus Torvalds	  ARC4 is a stream cipher using keys ranging from 8 bits to 2048
3621da177e4SLinus Torvalds	  bits in length.  This algorithm is required for driver-based
3631da177e4SLinus Torvalds	  WEP, but it should not be for other purposes because of the
3641da177e4SLinus Torvalds	  weakness of the algorithm.
3651da177e4SLinus Torvalds
3661da177e4SLinus Torvaldsconfig CRYPTO_KHAZAD
3671da177e4SLinus Torvalds	tristate "Khazad cipher algorithm"
368cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
3691da177e4SLinus Torvalds	help
3701da177e4SLinus Torvalds	  Khazad cipher algorithm.
3711da177e4SLinus Torvalds
3721da177e4SLinus Torvalds	  Khazad was a finalist in the initial NESSIE competition.  It is
3731da177e4SLinus Torvalds	  an algorithm optimized for 64-bit processors with good performance
3741da177e4SLinus Torvalds	  on 32-bit processors.  Khazad uses an 128 bit key size.
3751da177e4SLinus Torvalds
3761da177e4SLinus Torvalds	  See also:
3771da177e4SLinus Torvalds	  <http://planeta.terra.com.br/informatica/paulobarreto/KhazadPage.html>
3781da177e4SLinus Torvalds
3791da177e4SLinus Torvaldsconfig CRYPTO_ANUBIS
3801da177e4SLinus Torvalds	tristate "Anubis cipher algorithm"
381cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
3821da177e4SLinus Torvalds	help
3831da177e4SLinus Torvalds	  Anubis cipher algorithm.
3841da177e4SLinus Torvalds
3851da177e4SLinus Torvalds	  Anubis is a variable key length cipher which can use keys from
3861da177e4SLinus Torvalds	  128 bits to 320 bits in length.  It was evaluated as a entrant
3871da177e4SLinus Torvalds	  in the NESSIE competition.
3881da177e4SLinus Torvalds
3891da177e4SLinus Torvalds	  See also:
3901da177e4SLinus Torvalds	  <https://www.cosic.esat.kuleuven.ac.be/nessie/reports/>
3911da177e4SLinus Torvalds	  <http://planeta.terra.com.br/informatica/paulobarreto/AnubisPage.html>
3921da177e4SLinus Torvalds
3931da177e4SLinus Torvalds
3941da177e4SLinus Torvaldsconfig CRYPTO_DEFLATE
3951da177e4SLinus Torvalds	tristate "Deflate compression algorithm"
396cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
3971da177e4SLinus Torvalds	select ZLIB_INFLATE
3981da177e4SLinus Torvalds	select ZLIB_DEFLATE
3991da177e4SLinus Torvalds	help
4001da177e4SLinus Torvalds	  This is the Deflate algorithm (RFC1951), specified for use in
4011da177e4SLinus Torvalds	  IPSec with the IPCOMP protocol (RFC3173, RFC2394).
4021da177e4SLinus Torvalds
4031da177e4SLinus Torvalds	  You will most probably want this if using IPSec.
4041da177e4SLinus Torvalds
4051da177e4SLinus Torvaldsconfig CRYPTO_MICHAEL_MIC
4061da177e4SLinus Torvalds	tristate "Michael MIC keyed digest algorithm"
407cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
4081da177e4SLinus Torvalds	help
4091da177e4SLinus Torvalds	  Michael MIC is used for message integrity protection in TKIP
4101da177e4SLinus Torvalds	  (IEEE 802.11i). This algorithm is required for TKIP, but it
4111da177e4SLinus Torvalds	  should not be used for other purposes because of the weakness
4121da177e4SLinus Torvalds	  of the algorithm.
4131da177e4SLinus Torvalds
4141da177e4SLinus Torvaldsconfig CRYPTO_CRC32C
4151da177e4SLinus Torvalds	tristate "CRC32c CRC algorithm"
416cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
4171da177e4SLinus Torvalds	select LIBCRC32C
4181da177e4SLinus Torvalds	help
4191da177e4SLinus Torvalds	  Castagnoli, et al Cyclic Redundancy-Check Algorithm.  Used
4201da177e4SLinus Torvalds	  by iSCSI for header and data digests and by others.
4211da177e4SLinus Torvalds	  See Castagnoli93.  This implementation uses lib/libcrc32c.
4221da177e4SLinus Torvalds          Module will be crc32c.
4231da177e4SLinus Torvalds
4241da177e4SLinus Torvaldsconfig CRYPTO_TEST
4251da177e4SLinus Torvalds	tristate "Testing module"
426cce9e06dSHerbert Xu	depends on m
427cce9e06dSHerbert Xu	select CRYPTO_ALGAPI
4281da177e4SLinus Torvalds	help
4291da177e4SLinus Torvalds	  Quick & dirty crypto test module.
4301da177e4SLinus Torvalds
4311da177e4SLinus Torvaldssource "drivers/crypto/Kconfig"
4321da177e4SLinus Torvalds
433cce9e06dSHerbert Xuendif	# if CRYPTO
434cce9e06dSHerbert Xu
435cce9e06dSHerbert Xuendmenu
436