2 # Cryptographic API Configuration
5 menu "Cryptographic options"
8 bool "Cryptographic API"
10 This option provides the core Cryptographic API.
17 This option provides the API for cryptographic algorithms.
20 tristate "Cryptographic algorithm manager"
24 Create default cryptographic template instantiations such as
30 HMAC: Keyed-Hashing for Message Authentication (RFC2104).
31 This is required for IPSec.
34 tristate "Null algorithms"
37 These are 'Null' algorithms, used by IPsec, which do nothing.
40 tristate "MD4 digest algorithm"
43 MD4 message digest algorithm (RFC1320).
46 tristate "MD5 digest algorithm"
49 MD5 message digest algorithm (RFC1321).
52 tristate "SHA1 digest algorithm"
55 SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
57 config CRYPTO_SHA1_S390
58 tristate "SHA1 digest algorithm (s390)"
62 This is the s390 hardware accelerated implementation of the
63 SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
66 tristate "SHA256 digest algorithm"
69 SHA256 secure hash standard (DFIPS 180-2).
71 This version of SHA implements a 256 bit hash with 128 bits of
72 security against collision attacks.
74 config CRYPTO_SHA256_S390
75 tristate "SHA256 digest algorithm (s390)"
79 This is the s390 hardware accelerated implementation of the
80 SHA256 secure hash standard (DFIPS 180-2).
82 This version of SHA implements a 256 bit hash with 128 bits of
83 security against collision attacks.
86 tristate "SHA384 and SHA512 digest algorithms"
89 SHA512 secure hash standard (DFIPS 180-2).
91 This version of SHA implements a 512 bit hash with 256 bits of
92 security against collision attacks.
94 This code also includes SHA-384, a 384 bit hash with 192 bits
95 of security against collision attacks.
98 tristate "Whirlpool digest algorithms"
101 Whirlpool hash algorithm 512, 384 and 256-bit hashes
103 Whirlpool-512 is part of the NESSIE cryptographic primitives.
104 Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard
107 <http://planeta.terra.com.br/informatica/paulobarreto/WhirlpoolPage.html>
110 tristate "Tiger digest algorithms"
113 Tiger hash algorithm 192, 160 and 128-bit hashes
115 Tiger is a hash function optimized for 64-bit processors while
116 still having decent performance on 32-bit processors.
117 Tiger was developed by Ross Anderson and Eli Biham.
120 <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>.
123 tristate "DES and Triple DES EDE cipher algorithms"
126 DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
128 config CRYPTO_DES_S390
129 tristate "DES and Triple DES cipher algorithms (s390)"
133 DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
135 config CRYPTO_BLOWFISH
136 tristate "Blowfish cipher algorithm"
139 Blowfish cipher algorithm, by Bruce Schneier.
141 This is a variable key length cipher which can use keys from 32
142 bits to 448 bits in length. It's fast, simple and specifically
143 designed for use on "large microprocessors".
146 <http://www.schneier.com/blowfish.html>
148 config CRYPTO_TWOFISH
149 tristate "Twofish cipher algorithm"
151 select CRYPTO_TWOFISH_COMMON
153 Twofish cipher algorithm.
155 Twofish was submitted as an AES (Advanced Encryption Standard)
156 candidate cipher by researchers at CounterPane Systems. It is a
157 16 round block cipher supporting key sizes of 128, 192, and 256
161 <http://www.schneier.com/twofish.html>
163 config CRYPTO_TWOFISH_COMMON
166 Common parts of the Twofish cipher algorithm shared by the
167 generic c and the assembler implementations.
169 config CRYPTO_TWOFISH_586
170 tristate "Twofish cipher algorithms (i586)"
171 depends on (X86 || UML_X86) && !64BIT
173 select CRYPTO_TWOFISH_COMMON
175 Twofish cipher algorithm.
177 Twofish was submitted as an AES (Advanced Encryption Standard)
178 candidate cipher by researchers at CounterPane Systems. It is a
179 16 round block cipher supporting key sizes of 128, 192, and 256
183 <http://www.schneier.com/twofish.html>
185 config CRYPTO_TWOFISH_X86_64
186 tristate "Twofish cipher algorithm (x86_64)"
187 depends on (X86 || UML_X86) && 64BIT
189 select CRYPTO_TWOFISH_COMMON
191 Twofish cipher algorithm (x86_64).
193 Twofish was submitted as an AES (Advanced Encryption Standard)
194 candidate cipher by researchers at CounterPane Systems. It is a
195 16 round block cipher supporting key sizes of 128, 192, and 256
199 <http://www.schneier.com/twofish.html>
201 config CRYPTO_SERPENT
202 tristate "Serpent cipher algorithm"
205 Serpent cipher algorithm, by Anderson, Biham & Knudsen.
207 Keys are allowed to be from 0 to 256 bits in length, in steps
208 of 8 bits. Also includes the 'Tnepres' algorithm, a reversed
209 variant of Serpent for compatibility with old kerneli code.
212 <http://www.cl.cam.ac.uk/~rja14/serpent.html>
215 tristate "AES cipher algorithms"
218 AES cipher algorithms (FIPS-197). AES uses the Rijndael
221 Rijndael appears to be consistently a very good performer in
222 both hardware and software across a wide range of computing
223 environments regardless of its use in feedback or non-feedback
224 modes. Its key setup time is excellent, and its key agility is
225 good. Rijndael's very low memory requirements make it very well
226 suited for restricted-space environments, in which it also
227 demonstrates excellent performance. Rijndael's operations are
228 among the easiest to defend against power and timing attacks.
230 The AES specifies three key sizes: 128, 192 and 256 bits
232 See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information.
234 config CRYPTO_AES_586
235 tristate "AES cipher algorithms (i586)"
236 depends on (X86 || UML_X86) && !64BIT
239 AES cipher algorithms (FIPS-197). AES uses the Rijndael
242 Rijndael appears to be consistently a very good performer in
243 both hardware and software across a wide range of computing
244 environments regardless of its use in feedback or non-feedback
245 modes. Its key setup time is excellent, and its key agility is
246 good. Rijndael's very low memory requirements make it very well
247 suited for restricted-space environments, in which it also
248 demonstrates excellent performance. Rijndael's operations are
249 among the easiest to defend against power and timing attacks.
251 The AES specifies three key sizes: 128, 192 and 256 bits
253 See <http://csrc.nist.gov/encryption/aes/> for more information.
255 config CRYPTO_AES_X86_64
256 tristate "AES cipher algorithms (x86_64)"
257 depends on (X86 || UML_X86) && 64BIT
260 AES cipher algorithms (FIPS-197). AES uses the Rijndael
263 Rijndael appears to be consistently a very good performer in
264 both hardware and software across a wide range of computing
265 environments regardless of its use in feedback or non-feedback
266 modes. Its key setup time is excellent, and its key agility is
267 good. Rijndael's very low memory requirements make it very well
268 suited for restricted-space environments, in which it also
269 demonstrates excellent performance. Rijndael's operations are
270 among the easiest to defend against power and timing attacks.
272 The AES specifies three key sizes: 128, 192 and 256 bits
274 See <http://csrc.nist.gov/encryption/aes/> for more information.
276 config CRYPTO_AES_S390
277 tristate "AES cipher algorithms (s390)"
281 This is the s390 hardware accelerated implementation of the
282 AES cipher algorithms (FIPS-197). AES uses the Rijndael
285 Rijndael appears to be consistently a very good performer in
286 both hardware and software across a wide range of computing
287 environments regardless of its use in feedback or non-feedback
288 modes. Its key setup time is excellent, and its key agility is
289 good. Rijndael's very low memory requirements make it very well
290 suited for restricted-space environments, in which it also
291 demonstrates excellent performance. Rijndael's operations are
292 among the easiest to defend against power and timing attacks.
294 On s390 the System z9-109 currently only supports the key size
298 tristate "CAST5 (CAST-128) cipher algorithm"
301 The CAST5 encryption algorithm (synonymous with CAST-128) is
302 described in RFC2144.
305 tristate "CAST6 (CAST-256) cipher algorithm"
308 The CAST6 encryption algorithm (synonymous with CAST-256) is
309 described in RFC2612.
312 tristate "TEA, XTEA and XETA cipher algorithms"
315 TEA cipher algorithm.
317 Tiny Encryption Algorithm is a simple cipher that uses
318 many rounds for security. It is very fast and uses
321 Xtendend Tiny Encryption Algorithm is a modification to
322 the TEA algorithm to address a potential key weakness
323 in the TEA algorithm.
325 Xtendend Encryption Tiny Algorithm is a mis-implementation
326 of the XTEA algorithm for compatibility purposes.
329 tristate "ARC4 cipher algorithm"
332 ARC4 cipher algorithm.
334 ARC4 is a stream cipher using keys ranging from 8 bits to 2048
335 bits in length. This algorithm is required for driver-based
336 WEP, but it should not be for other purposes because of the
337 weakness of the algorithm.
340 tristate "Khazad cipher algorithm"
343 Khazad cipher algorithm.
345 Khazad was a finalist in the initial NESSIE competition. It is
346 an algorithm optimized for 64-bit processors with good performance
347 on 32-bit processors. Khazad uses an 128 bit key size.
350 <http://planeta.terra.com.br/informatica/paulobarreto/KhazadPage.html>
353 tristate "Anubis cipher algorithm"
356 Anubis cipher algorithm.
358 Anubis is a variable key length cipher which can use keys from
359 128 bits to 320 bits in length. It was evaluated as a entrant
360 in the NESSIE competition.
363 <https://www.cosic.esat.kuleuven.ac.be/nessie/reports/>
364 <http://planeta.terra.com.br/informatica/paulobarreto/AnubisPage.html>
367 config CRYPTO_DEFLATE
368 tristate "Deflate compression algorithm"
373 This is the Deflate algorithm (RFC1951), specified for use in
374 IPSec with the IPCOMP protocol (RFC3173, RFC2394).
376 You will most probably want this if using IPSec.
378 config CRYPTO_MICHAEL_MIC
379 tristate "Michael MIC keyed digest algorithm"
382 Michael MIC is used for message integrity protection in TKIP
383 (IEEE 802.11i). This algorithm is required for TKIP, but it
384 should not be used for other purposes because of the weakness
388 tristate "CRC32c CRC algorithm"
392 Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used
393 by iSCSI for header and data digests and by others.
394 See Castagnoli93. This implementation uses lib/libcrc32c.
395 Module will be crc32c.
398 tristate "Testing module"
402 Quick & dirty crypto test module.
404 source "drivers/crypto/Kconfig"