2 # Generic algorithms support
8 # async_tx api: hardware offloaded memory transfer/transform support
10 source "crypto/async_tx/Kconfig"
13 # Cryptographic API Configuration
16 bool "Cryptographic API"
18 This option provides the core Cryptographic API.
25 This option provides the API for cryptographic algorithms.
27 config CRYPTO_ABLKCIPHER
29 select CRYPTO_BLKCIPHER
31 config CRYPTO_BLKCIPHER
40 tristate "Cryptographic algorithm manager"
43 Create default cryptographic template instantiations such as
47 tristate "HMAC support"
51 HMAC: Keyed-Hashing for Message Authentication (RFC2104).
52 This is required for IPSec.
55 tristate "XCBC support"
56 depends on EXPERIMENTAL
60 XCBC: Keyed-Hashing with encryption algorithm
61 http://www.ietf.org/rfc/rfc3566.txt
62 http://csrc.nist.gov/encryption/modes/proposedmodes/
63 xcbc-mac/xcbc-mac-spec.pdf
66 tristate "Null algorithms"
69 These are 'Null' algorithms, used by IPsec, which do nothing.
72 tristate "MD4 digest algorithm"
75 MD4 message digest algorithm (RFC1320).
78 tristate "MD5 digest algorithm"
81 MD5 message digest algorithm (RFC1321).
84 tristate "SHA1 digest algorithm"
87 SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
90 tristate "SHA256 digest algorithm"
93 SHA256 secure hash standard (DFIPS 180-2).
95 This version of SHA implements a 256 bit hash with 128 bits of
96 security against collision attacks.
99 tristate "SHA384 and SHA512 digest algorithms"
102 SHA512 secure hash standard (DFIPS 180-2).
104 This version of SHA implements a 512 bit hash with 256 bits of
105 security against collision attacks.
107 This code also includes SHA-384, a 384 bit hash with 192 bits
108 of security against collision attacks.
111 tristate "Whirlpool digest algorithms"
114 Whirlpool hash algorithm 512, 384 and 256-bit hashes
116 Whirlpool-512 is part of the NESSIE cryptographic primitives.
117 Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard
120 <http://planeta.terra.com.br/informatica/paulobarreto/WhirlpoolPage.html>
123 tristate "Tiger digest algorithms"
126 Tiger hash algorithm 192, 160 and 128-bit hashes
128 Tiger is a hash function optimized for 64-bit processors while
129 still having decent performance on 32-bit processors.
130 Tiger was developed by Ross Anderson and Eli Biham.
133 <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>.
135 config CRYPTO_GF128MUL
136 tristate "GF(2^128) multiplication functions (EXPERIMENTAL)"
137 depends on EXPERIMENTAL
139 Efficient table driven implementation of multiplications in the
140 field GF(2^128). This is needed by some cypher modes. This
141 option will be selected automatically if you select such a
142 cipher mode. Only select this option by hand if you expect to load
143 an external module that requires these functions.
146 tristate "ECB support"
147 select CRYPTO_BLKCIPHER
148 select CRYPTO_MANAGER
151 ECB: Electronic CodeBook mode
152 This is the simplest block cipher algorithm. It simply encrypts
153 the input block by block.
156 tristate "CBC support"
157 select CRYPTO_BLKCIPHER
158 select CRYPTO_MANAGER
161 CBC: Cipher Block Chaining mode
162 This block cipher algorithm is required for IPSec.
165 tristate "PCBC support"
166 select CRYPTO_BLKCIPHER
167 select CRYPTO_MANAGER
170 PCBC: Propagating Cipher Block Chaining mode
171 This block cipher algorithm is required for RxRPC.
174 tristate "LRW support (EXPERIMENTAL)"
175 depends on EXPERIMENTAL
176 select CRYPTO_BLKCIPHER
177 select CRYPTO_MANAGER
178 select CRYPTO_GF128MUL
180 LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable
181 narrow block cipher mode for dm-crypt. Use it with cipher
182 specification string aes-lrw-benbi, the key must be 256, 320 or 384.
183 The first 128, 192 or 256 bits in the key are used for AES and the
184 rest is used to tie each cipher block to its logical position.
187 tristate "Software async crypto daemon"
188 select CRYPTO_ABLKCIPHER
189 select CRYPTO_MANAGER
191 This is a generic software asynchronous crypto daemon that
192 converts an arbitrary synchronous software crypto algorithm
193 into an asynchronous algorithm that executes in a kernel thread.
196 tristate "DES and Triple DES EDE cipher algorithms"
199 DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
202 tristate "FCrypt cipher algorithm"
204 select CRYPTO_BLKCIPHER
206 FCrypt algorithm used by RxRPC.
208 config CRYPTO_BLOWFISH
209 tristate "Blowfish cipher algorithm"
212 Blowfish cipher algorithm, by Bruce Schneier.
214 This is a variable key length cipher which can use keys from 32
215 bits to 448 bits in length. It's fast, simple and specifically
216 designed for use on "large microprocessors".
219 <http://www.schneier.com/blowfish.html>
221 config CRYPTO_TWOFISH
222 tristate "Twofish cipher algorithm"
224 select CRYPTO_TWOFISH_COMMON
226 Twofish cipher algorithm.
228 Twofish was submitted as an AES (Advanced Encryption Standard)
229 candidate cipher by researchers at CounterPane Systems. It is a
230 16 round block cipher supporting key sizes of 128, 192, and 256
234 <http://www.schneier.com/twofish.html>
236 config CRYPTO_TWOFISH_COMMON
239 Common parts of the Twofish cipher algorithm shared by the
240 generic c and the assembler implementations.
242 config CRYPTO_TWOFISH_586
243 tristate "Twofish cipher algorithms (i586)"
244 depends on (X86 || UML_X86) && !64BIT
246 select CRYPTO_TWOFISH_COMMON
248 Twofish cipher algorithm.
250 Twofish was submitted as an AES (Advanced Encryption Standard)
251 candidate cipher by researchers at CounterPane Systems. It is a
252 16 round block cipher supporting key sizes of 128, 192, and 256
256 <http://www.schneier.com/twofish.html>
258 config CRYPTO_TWOFISH_X86_64
259 tristate "Twofish cipher algorithm (x86_64)"
260 depends on (X86 || UML_X86) && 64BIT
262 select CRYPTO_TWOFISH_COMMON
264 Twofish cipher algorithm (x86_64).
266 Twofish was submitted as an AES (Advanced Encryption Standard)
267 candidate cipher by researchers at CounterPane Systems. It is a
268 16 round block cipher supporting key sizes of 128, 192, and 256
272 <http://www.schneier.com/twofish.html>
274 config CRYPTO_SERPENT
275 tristate "Serpent cipher algorithm"
278 Serpent cipher algorithm, by Anderson, Biham & Knudsen.
280 Keys are allowed to be from 0 to 256 bits in length, in steps
281 of 8 bits. Also includes the 'Tnepres' algorithm, a reversed
282 variant of Serpent for compatibility with old kerneli.org code.
285 <http://www.cl.cam.ac.uk/~rja14/serpent.html>
288 tristate "AES cipher algorithms"
291 AES cipher algorithms (FIPS-197). AES uses the Rijndael
294 Rijndael appears to be consistently a very good performer in
295 both hardware and software across a wide range of computing
296 environments regardless of its use in feedback or non-feedback
297 modes. Its key setup time is excellent, and its key agility is
298 good. Rijndael's very low memory requirements make it very well
299 suited for restricted-space environments, in which it also
300 demonstrates excellent performance. Rijndael's operations are
301 among the easiest to defend against power and timing attacks.
303 The AES specifies three key sizes: 128, 192 and 256 bits
305 See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information.
307 config CRYPTO_AES_586
308 tristate "AES cipher algorithms (i586)"
309 depends on (X86 || UML_X86) && !64BIT
312 AES cipher algorithms (FIPS-197). AES uses the Rijndael
315 Rijndael appears to be consistently a very good performer in
316 both hardware and software across a wide range of computing
317 environments regardless of its use in feedback or non-feedback
318 modes. Its key setup time is excellent, and its key agility is
319 good. Rijndael's very low memory requirements make it very well
320 suited for restricted-space environments, in which it also
321 demonstrates excellent performance. Rijndael's operations are
322 among the easiest to defend against power and timing attacks.
324 The AES specifies three key sizes: 128, 192 and 256 bits
326 See <http://csrc.nist.gov/encryption/aes/> for more information.
328 config CRYPTO_AES_X86_64
329 tristate "AES cipher algorithms (x86_64)"
330 depends on (X86 || UML_X86) && 64BIT
333 AES cipher algorithms (FIPS-197). AES uses the Rijndael
336 Rijndael appears to be consistently a very good performer in
337 both hardware and software across a wide range of computing
338 environments regardless of its use in feedback or non-feedback
339 modes. Its key setup time is excellent, and its key agility is
340 good. Rijndael's very low memory requirements make it very well
341 suited for restricted-space environments, in which it also
342 demonstrates excellent performance. Rijndael's operations are
343 among the easiest to defend against power and timing attacks.
345 The AES specifies three key sizes: 128, 192 and 256 bits
347 See <http://csrc.nist.gov/encryption/aes/> for more information.
350 tristate "CAST5 (CAST-128) cipher algorithm"
353 The CAST5 encryption algorithm (synonymous with CAST-128) is
354 described in RFC2144.
357 tristate "CAST6 (CAST-256) cipher algorithm"
360 The CAST6 encryption algorithm (synonymous with CAST-256) is
361 described in RFC2612.
364 tristate "TEA, XTEA and XETA cipher algorithms"
367 TEA cipher algorithm.
369 Tiny Encryption Algorithm is a simple cipher that uses
370 many rounds for security. It is very fast and uses
373 Xtendend Tiny Encryption Algorithm is a modification to
374 the TEA algorithm to address a potential key weakness
375 in the TEA algorithm.
377 Xtendend Encryption Tiny Algorithm is a mis-implementation
378 of the XTEA algorithm for compatibility purposes.
381 tristate "ARC4 cipher algorithm"
384 ARC4 cipher algorithm.
386 ARC4 is a stream cipher using keys ranging from 8 bits to 2048
387 bits in length. This algorithm is required for driver-based
388 WEP, but it should not be for other purposes because of the
389 weakness of the algorithm.
392 tristate "Khazad cipher algorithm"
395 Khazad cipher algorithm.
397 Khazad was a finalist in the initial NESSIE competition. It is
398 an algorithm optimized for 64-bit processors with good performance
399 on 32-bit processors. Khazad uses an 128 bit key size.
402 <http://planeta.terra.com.br/informatica/paulobarreto/KhazadPage.html>
405 tristate "Anubis cipher algorithm"
408 Anubis cipher algorithm.
410 Anubis is a variable key length cipher which can use keys from
411 128 bits to 320 bits in length. It was evaluated as a entrant
412 in the NESSIE competition.
415 <https://www.cosic.esat.kuleuven.ac.be/nessie/reports/>
416 <http://planeta.terra.com.br/informatica/paulobarreto/AnubisPage.html>
419 config CRYPTO_DEFLATE
420 tristate "Deflate compression algorithm"
425 This is the Deflate algorithm (RFC1951), specified for use in
426 IPSec with the IPCOMP protocol (RFC3173, RFC2394).
428 You will most probably want this if using IPSec.
430 config CRYPTO_MICHAEL_MIC
431 tristate "Michael MIC keyed digest algorithm"
434 Michael MIC is used for message integrity protection in TKIP
435 (IEEE 802.11i). This algorithm is required for TKIP, but it
436 should not be used for other purposes because of the weakness
440 tristate "CRC32c CRC algorithm"
444 Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used
445 by iSCSI for header and data digests and by others.
446 See Castagnoli93. This implementation uses lib/libcrc32c.
447 Module will be crc32c.
449 config CRYPTO_CAMELLIA
450 tristate "Camellia cipher algorithms"
454 Camellia cipher algorithms module.
456 Camellia is a symmetric key block cipher developed jointly
457 at NTT and Mitsubishi Electric Corporation.
459 The Camellia specifies three key sizes: 128, 192 and 256 bits.
462 <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
465 tristate "Testing module"
469 Quick & dirty crypto test module.
471 source "drivers/crypto/Kconfig"