Kconfig 6.67 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11
#
# Cryptographic API Configuration
#

menu "Cryptographic options"

config CRYPTO
	bool "Cryptographic API"
	help
	  This option provides the core Cryptographic API.

12 13 14 15 16 17 18
config CRYPTO_HMAC
	bool "HMAC support"
	depends on CRYPTO
	help
	  HMAC: Keyed-Hashing for Message Authentication (RFC2104).
	  This is required for IPSec.

19 20 21 22 23 24
config CRYPTO_NULL
	tristate "Null algorithms"
	depends on CRYPTO
	help
	  These are 'Null' algorithms, used by IPsec, which do nothing.

25 26 27 28
config CRYPTO_MD4
	tristate "MD4 digest algorithm"
	depends on CRYPTO
	help
29
	  MD4 message digest algorithm (RFC1320).
30 31 32 33 34

config CRYPTO_MD5
	tristate "MD5 digest algorithm"
	depends on CRYPTO
	help
35
	  MD5 message digest algorithm (RFC1321).
36 37

config CRYPTO_SHA1
38
	tristate "SHA1 digest algorithm"
39 40
	depends on CRYPTO
	help
41
	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
42

Andrew Morton's avatar
Andrew Morton committed
43 44 45 46 47 48
config CRYPTO_SHA1_Z990
	tristate "SHA1 digest algorithm for IBM zSeries z990"
	depends on CRYPTO && ARCH_S390
	help
	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).

49 50 51 52
config CRYPTO_SHA256
	tristate "SHA256 digest algorithm"
	depends on CRYPTO
	help
53
	  SHA256 secure hash standard (DFIPS 180-2).
54 55
	  
	  This version of SHA implements a 256 bit hash with 128 bits of
56
	  security against collision attacks.
57

58 59 60 61 62 63 64 65 66 67 68 69
config CRYPTO_SHA512
	tristate "SHA384 and SHA512 digest algorithms"
	depends on CRYPTO
	help
	  SHA512 secure hash standard (DFIPS 180-2).
	  
	  This version of SHA implements a 512 bit hash with 256 bits of
	  security against collision attacks.

	  This code also includes SHA-384, a 384 bit hash with 192 bits
	  of security against collision attacks.

70 71 72 73 74 75
config CRYPTO_DES
	tristate "DES and Triple DES EDE cipher algorithms"
	depends on CRYPTO
	help
	  DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).

Andrew Morton's avatar
Andrew Morton committed
76 77 78 79 80 81
config CRYPTO_DES_Z990
	tristate "DES and Triple DES cipher algorithms for IBM zSeries z990"
	depends on CRYPTO && ARCH_S390
	help
	  DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).

82 83 84 85 86 87
config CRYPTO_BLOWFISH
	tristate "Blowfish cipher algorithm"
	depends on CRYPTO
	help
	  Blowfish cipher algorithm, by Bruce Schneier.
	  
James Morris's avatar
James Morris committed
88 89 90
	  This is a variable key length cipher which can use keys from 32
	  bits to 448 bits in length.  It's fast, simple and specifically
	  designed for use on "large microprocessors".
91 92
	  
	  See also:
93
	  http://www.schneier.com/blowfish.html
94

95 96 97 98 99 100 101 102 103 104 105 106
config CRYPTO_TWOFISH
	tristate "Twofish cipher algorithm"
	depends on CRYPTO
	help
	  Twofish cipher algorithm.
	  
	  Twofish was submitted as an AES (Advanced Encryption Standard)
	  candidate cipher by researchers at CounterPane Systems.  It is a
	  16 round block cipher supporting key sizes of 128, 192, and 256
	  bits.
	  
	  See also:
107
	  http://www.schneier.com/twofish.html
108

109 110 111 112 113 114 115 116 117 118 119 120
config CRYPTO_SERPENT
	tristate "Serpent cipher algorithm"
	depends on CRYPTO
	help
	  Serpent cipher algorithm, by Anderson, Biham & Knudsen.

	  Keys are allowed to be from 0 to 256 bits in length, in steps
	  of 8 bits.

	  See also:
	  http://www.cl.cam.ac.uk/~rja14/serpent.html

121
config CRYPTO_AES_GENERIC
James Morris's avatar
James Morris committed
122
	tristate "AES cipher algorithms"
123
	depends on CRYPTO && !(X86 && !X86_64)
James Morris's avatar
James Morris committed
124 125 126 127 128 129 130 131 132 133 134 135 136 137 138
	help
	  AES cipher algorithms (FIPS-197). AES uses the Rijndael 
	  algorithm.

	  Rijndael appears to be consistently a very good performer in
	  both hardware and software across a wide range of computing 
	  environments regardless of its use in feedback or non-feedback 
	  modes. Its key setup time is excellent, and its key agility is 
	  good. Rijndael's very low memory requirements make it very well 
	  suited for restricted-space environments, in which it also 
	  demonstrates excellent performance. Rijndael's operations are 
	  among the easiest to defend against power and timing attacks.	

	  The AES specifies three key sizes: 128, 192 and 256 bits	  

139
	  See http://csrc.nist.gov/CryptoToolkit/aes/ for more information.
James Morris's avatar
James Morris committed
140

141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160
config CRYPTO_AES_586
	tristate "AES cipher algorithms (i586)"
	depends on CRYPTO && (X86 && !X86_64)
	help
	  AES cipher algorithms (FIPS-197). AES uses the Rijndael 
	  algorithm.

	  Rijndael appears to be consistently a very good performer in
	  both hardware and software across a wide range of computing 
	  environments regardless of its use in feedback or non-feedback 
	  modes. Its key setup time is excellent, and its key agility is 
	  good. Rijndael's very low memory requirements make it very well 
	  suited for restricted-space environments, in which it also 
	  demonstrates excellent performance. Rijndael's operations are 
	  among the easiest to defend against power and timing attacks.	

	  The AES specifies three key sizes: 128, 192 and 256 bits	  

	  See http://csrc.nist.gov/encryption/aes/ for more information.

161 162 163 164 165 166 167
config CRYPTO_CAST5
	tristate "CAST5 (CAST-128) cipher algorithm"
	depends on CRYPTO
	help
	  The CAST5 encryption algorithm (synonymous with CAST-128) is
	  described in RFC2144.

168 169 170 171 172 173 174
config CRYPTO_CAST6
	tristate "CAST6 (CAST-256) cipher algorithm"
	depends on CRYPTO
	help
	  The CAST6 encryption algorithm (synonymous with CAST-256) is
	  described in RFC2612.

175 176 177 178 179 180 181 182 183 184 185 186 187 188
config CRYPTO_TEA
	tristate "TEA and XTEA cipher algorithms"
	depends on CRYPTO
	help
	  TEA cipher algorithm.

	  Tiny Encryption Algorithm is a simple cipher that uses
	  many rounds for security.  It is very fast and uses
	  little memory.

	  Xtendend Tiny Encryption Algorithm is a modifcation to
	  the TEA algorithm to address a potential key weakness
	  in the TEA algorithm.

Jon Oberheide's avatar
Jon Oberheide committed
189 190 191 192 193 194
config CRYPTO_ARC4
	tristate "ARC4 cipher algorithm"
	depends on CRYPTO
	help
	  ARC4 cipher algorithm.

195 196 197 198
	  ARC4 is a stream cipher using keys ranging from 8 bits to 2048
	  bits in length.  This algorithm is required for driver-based 
	  WEP, but it should not be for other purposes because of the
	  weakness of the algorithm.
Jon Oberheide's avatar
Jon Oberheide committed
199

200 201 202
config CRYPTO_DEFLATE
	tristate "Deflate compression algorithm"
	depends on CRYPTO
Adrian Bunk's avatar
Adrian Bunk committed
203 204
	select ZLIB_INFLATE
	select ZLIB_DEFLATE
205 206 207 208 209 210
	help
	  This is the Deflate algorithm (RFC1951), specified for use in
	  IPSec with the IPCOMP protocol (RFC3173, RFC2394).
	  
	  You will most probably want this if using IPSec.

211 212 213 214 215 216 217 218 219
config CRYPTO_MICHAEL_MIC
	tristate "Michael MIC keyed digest algorithm"
	depends on CRYPTO
	help
	  Michael MIC is used for message integrity protection in TKIP
	  (IEEE 802.11i). This algorithm is required for TKIP, but it
	  should not be used for other purposes because of the weakness
	  of the algorithm.

220 221 222 223 224 225 226 227 228 229
config CRYPTO_CRC32C
	tristate "CRC32c CRC algorithm"
	depends on CRYPTO
	select LIBCRC32C
	help
	  Castagnoli, et al Cyclic Redundancy-Check Algorithm.  Used
	  by iSCSI for header and data digests and by others.
	  See Castagnoli93.  This implementation uses lib/libcrc32c.
          Module will be crc32c.

230 231 232 233 234 235 236 237
config CRYPTO_TEST
	tristate "Testing module"
	depends on CRYPTO
	help
	  Quick & dirty crypto test module.

endmenu