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
150 ECB: Electronic CodeBook mode
151 This is the simplest block cipher algorithm. It simply encrypts
152 the input block by block.
155 tristate "CBC support"
156 select CRYPTO_BLKCIPHER
157 select CRYPTO_MANAGER
159 CBC: Cipher Block Chaining mode
160 This block cipher algorithm is required for IPSec.
163 tristate "PCBC support"
164 select CRYPTO_BLKCIPHER
165 select CRYPTO_MANAGER
167 PCBC: Propagating Cipher Block Chaining mode
168 This block cipher algorithm is required for RxRPC.
171 tristate "LRW support (EXPERIMENTAL)"
172 depends on EXPERIMENTAL
173 select CRYPTO_BLKCIPHER
174 select CRYPTO_MANAGER
175 select CRYPTO_GF128MUL
177 LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable
178 narrow block cipher mode for dm-crypt. Use it with cipher
179 specification string aes-lrw-benbi, the key must be 256, 320 or 384.
180 The first 128, 192 or 256 bits in the key are used for AES and the
181 rest is used to tie each cipher block to its logical position.
184 tristate "Software async crypto daemon"
185 select CRYPTO_ABLKCIPHER
186 select CRYPTO_MANAGER
188 This is a generic software asynchronous crypto daemon that
189 converts an arbitrary synchronous software crypto algorithm
190 into an asynchronous algorithm that executes in a kernel thread.
193 tristate "DES and Triple DES EDE cipher algorithms"
196 DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
199 tristate "FCrypt cipher algorithm"
201 select CRYPTO_BLKCIPHER
203 FCrypt algorithm used by RxRPC.
205 config CRYPTO_BLOWFISH
206 tristate "Blowfish cipher algorithm"
209 Blowfish cipher algorithm, by Bruce Schneier.
211 This is a variable key length cipher which can use keys from 32
212 bits to 448 bits in length. It's fast, simple and specifically
213 designed for use on "large microprocessors".
216 <http://www.schneier.com/blowfish.html>
218 config CRYPTO_TWOFISH
219 tristate "Twofish cipher algorithm"
221 select CRYPTO_TWOFISH_COMMON
223 Twofish cipher algorithm.
225 Twofish was submitted as an AES (Advanced Encryption Standard)
226 candidate cipher by researchers at CounterPane Systems. It is a
227 16 round block cipher supporting key sizes of 128, 192, and 256
231 <http://www.schneier.com/twofish.html>
233 config CRYPTO_TWOFISH_COMMON
236 Common parts of the Twofish cipher algorithm shared by the
237 generic c and the assembler implementations.
239 config CRYPTO_TWOFISH_586
240 tristate "Twofish cipher algorithms (i586)"
241 depends on (X86 || UML_X86) && !64BIT
243 select CRYPTO_TWOFISH_COMMON
245 Twofish cipher algorithm.
247 Twofish was submitted as an AES (Advanced Encryption Standard)
248 candidate cipher by researchers at CounterPane Systems. It is a
249 16 round block cipher supporting key sizes of 128, 192, and 256
253 <http://www.schneier.com/twofish.html>
255 config CRYPTO_TWOFISH_X86_64
256 tristate "Twofish cipher algorithm (x86_64)"
257 depends on (X86 || UML_X86) && 64BIT
259 select CRYPTO_TWOFISH_COMMON
261 Twofish cipher algorithm (x86_64).
263 Twofish was submitted as an AES (Advanced Encryption Standard)
264 candidate cipher by researchers at CounterPane Systems. It is a
265 16 round block cipher supporting key sizes of 128, 192, and 256
269 <http://www.schneier.com/twofish.html>
271 config CRYPTO_SERPENT
272 tristate "Serpent cipher algorithm"
275 Serpent cipher algorithm, by Anderson, Biham & Knudsen.
277 Keys are allowed to be from 0 to 256 bits in length, in steps
278 of 8 bits. Also includes the 'Tnepres' algorithm, a reversed
279 variant of Serpent for compatibility with old kerneli.org code.
282 <http://www.cl.cam.ac.uk/~rja14/serpent.html>
285 tristate "AES cipher algorithms"
288 AES cipher algorithms (FIPS-197). AES uses the Rijndael
291 Rijndael appears to be consistently a very good performer in
292 both hardware and software across a wide range of computing
293 environments regardless of its use in feedback or non-feedback
294 modes. Its key setup time is excellent, and its key agility is
295 good. Rijndael's very low memory requirements make it very well
296 suited for restricted-space environments, in which it also
297 demonstrates excellent performance. Rijndael's operations are
298 among the easiest to defend against power and timing attacks.
300 The AES specifies three key sizes: 128, 192 and 256 bits
302 See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information.
304 config CRYPTO_AES_586
305 tristate "AES cipher algorithms (i586)"
306 depends on (X86 || UML_X86) && !64BIT
309 AES cipher algorithms (FIPS-197). AES uses the Rijndael
312 Rijndael appears to be consistently a very good performer in
313 both hardware and software across a wide range of computing
314 environments regardless of its use in feedback or non-feedback
315 modes. Its key setup time is excellent, and its key agility is
316 good. Rijndael's very low memory requirements make it very well
317 suited for restricted-space environments, in which it also
318 demonstrates excellent performance. Rijndael's operations are
319 among the easiest to defend against power and timing attacks.
321 The AES specifies three key sizes: 128, 192 and 256 bits
323 See <http://csrc.nist.gov/encryption/aes/> for more information.
325 config CRYPTO_AES_X86_64
326 tristate "AES cipher algorithms (x86_64)"
327 depends on (X86 || UML_X86) && 64BIT
330 AES cipher algorithms (FIPS-197). AES uses the Rijndael
333 Rijndael appears to be consistently a very good performer in
334 both hardware and software across a wide range of computing
335 environments regardless of its use in feedback or non-feedback
336 modes. Its key setup time is excellent, and its key agility is
337 good. Rijndael's very low memory requirements make it very well
338 suited for restricted-space environments, in which it also
339 demonstrates excellent performance. Rijndael's operations are
340 among the easiest to defend against power and timing attacks.
342 The AES specifies three key sizes: 128, 192 and 256 bits
344 See <http://csrc.nist.gov/encryption/aes/> for more information.
347 tristate "CAST5 (CAST-128) cipher algorithm"
350 The CAST5 encryption algorithm (synonymous with CAST-128) is
351 described in RFC2144.
354 tristate "CAST6 (CAST-256) cipher algorithm"
357 The CAST6 encryption algorithm (synonymous with CAST-256) is
358 described in RFC2612.
361 tristate "TEA, XTEA and XETA cipher algorithms"
364 TEA cipher algorithm.
366 Tiny Encryption Algorithm is a simple cipher that uses
367 many rounds for security. It is very fast and uses
370 Xtendend Tiny Encryption Algorithm is a modification to
371 the TEA algorithm to address a potential key weakness
372 in the TEA algorithm.
374 Xtendend Encryption Tiny Algorithm is a mis-implementation
375 of the XTEA algorithm for compatibility purposes.
378 tristate "ARC4 cipher algorithm"
381 ARC4 cipher algorithm.
383 ARC4 is a stream cipher using keys ranging from 8 bits to 2048
384 bits in length. This algorithm is required for driver-based
385 WEP, but it should not be for other purposes because of the
386 weakness of the algorithm.
389 tristate "Khazad cipher algorithm"
392 Khazad cipher algorithm.
394 Khazad was a finalist in the initial NESSIE competition. It is
395 an algorithm optimized for 64-bit processors with good performance
396 on 32-bit processors. Khazad uses an 128 bit key size.
399 <http://planeta.terra.com.br/informatica/paulobarreto/KhazadPage.html>
402 tristate "Anubis cipher algorithm"
405 Anubis cipher algorithm.
407 Anubis is a variable key length cipher which can use keys from
408 128 bits to 320 bits in length. It was evaluated as a entrant
409 in the NESSIE competition.
412 <https://www.cosic.esat.kuleuven.ac.be/nessie/reports/>
413 <http://planeta.terra.com.br/informatica/paulobarreto/AnubisPage.html>
416 config CRYPTO_DEFLATE
417 tristate "Deflate compression algorithm"
422 This is the Deflate algorithm (RFC1951), specified for use in
423 IPSec with the IPCOMP protocol (RFC3173, RFC2394).
425 You will most probably want this if using IPSec.
427 config CRYPTO_MICHAEL_MIC
428 tristate "Michael MIC keyed digest algorithm"
431 Michael MIC is used for message integrity protection in TKIP
432 (IEEE 802.11i). This algorithm is required for TKIP, but it
433 should not be used for other purposes because of the weakness
437 tristate "CRC32c CRC algorithm"
441 Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used
442 by iSCSI for header and data digests and by others.
443 See Castagnoli93. This implementation uses lib/libcrc32c.
444 Module will be crc32c.
446 config CRYPTO_CAMELLIA
447 tristate "Camellia cipher algorithms"
451 Camellia cipher algorithms module.
453 Camellia is a symmetric key block cipher developed jointly
454 at NTT and Mitsubishi Electric Corporation.
456 The Camellia specifies three key sizes: 128, 192 and 256 bits.
459 <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
462 tristate "Testing module"
466 Quick & dirty crypto test module.
468 source "drivers/crypto/Kconfig"