Blame view
crypto/Kconfig
29.1 KB
1da177e4c
|
1 |
# |
685784aaf
|
2 3 4 5 6 7 |
# Generic algorithms support # config XOR_BLOCKS tristate # |
9bc89cd82
|
8 |
# async_tx api: hardware offloaded memory transfer/transform support |
1da177e4c
|
9 |
# |
9bc89cd82
|
10 |
source "crypto/async_tx/Kconfig" |
1da177e4c
|
11 |
|
9bc89cd82
|
12 13 14 |
# # Cryptographic API Configuration # |
2e290f43d
|
15 |
menuconfig CRYPTO |
c3715cb90
|
16 |
tristate "Cryptographic API" |
1da177e4c
|
17 18 |
help This option provides the core Cryptographic API. |
cce9e06d1
|
19 |
if CRYPTO |
584fffc8b
|
20 |
comment "Crypto core or helper" |
ccb778e18
|
21 22 |
config CRYPTO_FIPS bool "FIPS 200 compliance" |
e84c5480b
|
23 |
depends on CRYPTO_ANSI_CPRNG && !CRYPTO_MANAGER_DISABLE_TESTS |
ccb778e18
|
24 25 26 27 |
help This options enables the fips boot option which is required if you want to system to operate in a FIPS 200 certification. You should say no unless you know what |
e84c5480b
|
28 |
this is. |
ccb778e18
|
29 |
|
cce9e06d1
|
30 31 |
config CRYPTO_ALGAPI tristate |
6a0fcbb4d
|
32 |
select CRYPTO_ALGAPI2 |
cce9e06d1
|
33 34 |
help This option provides the API for cryptographic algorithms. |
6a0fcbb4d
|
35 36 |
config CRYPTO_ALGAPI2 tristate |
1ae978208
|
37 38 |
config CRYPTO_AEAD tristate |
6a0fcbb4d
|
39 |
select CRYPTO_AEAD2 |
1ae978208
|
40 |
select CRYPTO_ALGAPI |
6a0fcbb4d
|
41 42 43 |
config CRYPTO_AEAD2 tristate select CRYPTO_ALGAPI2 |
5cde0af2a
|
44 45 |
config CRYPTO_BLKCIPHER tristate |
6a0fcbb4d
|
46 |
select CRYPTO_BLKCIPHER2 |
5cde0af2a
|
47 |
select CRYPTO_ALGAPI |
6a0fcbb4d
|
48 49 50 51 52 |
config CRYPTO_BLKCIPHER2 tristate select CRYPTO_ALGAPI2 select CRYPTO_RNG2 |
0a2e821d6
|
53 |
select CRYPTO_WORKQUEUE |
5cde0af2a
|
54 |
|
055bcee31
|
55 56 |
config CRYPTO_HASH tristate |
6a0fcbb4d
|
57 |
select CRYPTO_HASH2 |
055bcee31
|
58 |
select CRYPTO_ALGAPI |
6a0fcbb4d
|
59 60 61 |
config CRYPTO_HASH2 tristate select CRYPTO_ALGAPI2 |
17f0f4a47
|
62 63 |
config CRYPTO_RNG tristate |
6a0fcbb4d
|
64 |
select CRYPTO_RNG2 |
17f0f4a47
|
65 |
select CRYPTO_ALGAPI |
6a0fcbb4d
|
66 67 68 |
config CRYPTO_RNG2 tristate select CRYPTO_ALGAPI2 |
a1d2f0954
|
69 70 |
config CRYPTO_PCOMP tristate |
bc94e5966
|
71 72 73 74 75 |
select CRYPTO_PCOMP2 select CRYPTO_ALGAPI config CRYPTO_PCOMP2 tristate |
a1d2f0954
|
76 |
select CRYPTO_ALGAPI2 |
2b8c19dbd
|
77 78 |
config CRYPTO_MANAGER tristate "Cryptographic algorithm manager" |
6a0fcbb4d
|
79 |
select CRYPTO_MANAGER2 |
2b8c19dbd
|
80 81 82 |
help Create default cryptographic template instantiations such as cbc(aes). |
6a0fcbb4d
|
83 84 85 86 87 |
config CRYPTO_MANAGER2 def_tristate CRYPTO_MANAGER || (CRYPTO_MANAGER!=n && CRYPTO_ALGAPI=y) select CRYPTO_AEAD2 select CRYPTO_HASH2 select CRYPTO_BLKCIPHER2 |
bc94e5966
|
88 |
select CRYPTO_PCOMP2 |
6a0fcbb4d
|
89 |
|
a38f7907b
|
90 91 |
config CRYPTO_USER tristate "Userspace cryptographic algorithm configuration" |
5db017aa2
|
92 |
depends on NET |
a38f7907b
|
93 94 |
select CRYPTO_MANAGER help |
d19978f58
|
95 |
Userspace configuration for cryptographic instantiations such as |
a38f7907b
|
96 |
cbc(aes). |
326a6346f
|
97 98 |
config CRYPTO_MANAGER_DISABLE_TESTS bool "Disable run-time self tests" |
00ca28a50
|
99 100 |
default y depends on CRYPTO_MANAGER2 |
0b767f961
|
101 |
help |
326a6346f
|
102 103 |
Disable run-time self tests that normally take place at algorithm registration. |
0b767f961
|
104 |
|
584fffc8b
|
105 |
config CRYPTO_GF128MUL |
08c70fc3a
|
106 |
tristate "GF(2^128) multiplication functions" |
333b0d7ee
|
107 |
help |
584fffc8b
|
108 109 110 111 112 |
Efficient table driven implementation of multiplications in the field GF(2^128). This is needed by some cypher modes. This option will be selected automatically if you select such a cipher mode. Only select this option by hand if you expect to load an external module that requires these functions. |
333b0d7ee
|
113 |
|
1da177e4c
|
114 115 |
config CRYPTO_NULL tristate "Null algorithms" |
cce9e06d1
|
116 |
select CRYPTO_ALGAPI |
c8620c259
|
117 |
select CRYPTO_BLKCIPHER |
d35d2454c
|
118 |
select CRYPTO_HASH |
1da177e4c
|
119 120 |
help These are 'Null' algorithms, used by IPsec, which do nothing. |
5068c7a88
|
121 122 123 124 125 126 127 128 129 |
config CRYPTO_PCRYPT tristate "Parallel crypto engine (EXPERIMENTAL)" depends on SMP && EXPERIMENTAL select PADATA select CRYPTO_MANAGER select CRYPTO_AEAD help This converts an arbitrary crypto algorithm into a parallel algorithm that executes in kernel threads. |
25c38d3fb
|
130 131 |
config CRYPTO_WORKQUEUE tristate |
584fffc8b
|
132 133 134 |
config CRYPTO_CRYPTD tristate "Software async crypto daemon" select CRYPTO_BLKCIPHER |
b8a28251c
|
135 |
select CRYPTO_HASH |
584fffc8b
|
136 |
select CRYPTO_MANAGER |
254eff771
|
137 |
select CRYPTO_WORKQUEUE |
1da177e4c
|
138 |
help |
584fffc8b
|
139 140 141 |
This is a generic software asynchronous crypto daemon that converts an arbitrary synchronous software crypto algorithm into an asynchronous algorithm that executes in a kernel thread. |
1da177e4c
|
142 |
|
584fffc8b
|
143 144 145 146 147 148 |
config CRYPTO_AUTHENC tristate "Authenc support" select CRYPTO_AEAD select CRYPTO_BLKCIPHER select CRYPTO_MANAGER select CRYPTO_HASH |
1da177e4c
|
149 |
help |
584fffc8b
|
150 151 |
Authenc: Combined mode wrapper for IPsec. This is required for IPSec. |
1da177e4c
|
152 |
|
584fffc8b
|
153 154 155 |
config CRYPTO_TEST tristate "Testing module" depends on m |
da7f033dd
|
156 |
select CRYPTO_MANAGER |
1da177e4c
|
157 |
help |
584fffc8b
|
158 |
Quick & dirty crypto test module. |
1da177e4c
|
159 |
|
ffaf91563
|
160 161 162 163 |
config CRYPTO_ABLK_HELPER_X86 tristate depends on X86 select CRYPTO_CRYPTD |
596d87505
|
164 165 166 167 |
config CRYPTO_GLUE_HELPER_X86 tristate depends on X86 select CRYPTO_ALGAPI |
584fffc8b
|
168 |
comment "Authenticated Encryption with Associated Data" |
cd12fb906
|
169 |
|
584fffc8b
|
170 171 172 173 |
config CRYPTO_CCM tristate "CCM support" select CRYPTO_CTR select CRYPTO_AEAD |
1da177e4c
|
174 |
help |
584fffc8b
|
175 |
Support for Counter with CBC MAC. Required for IPsec. |
1da177e4c
|
176 |
|
584fffc8b
|
177 178 179 180 |
config CRYPTO_GCM tristate "GCM/GMAC support" select CRYPTO_CTR select CRYPTO_AEAD |
9382d97af
|
181 |
select CRYPTO_GHASH |
1da177e4c
|
182 |
help |
584fffc8b
|
183 184 |
Support for Galois/Counter Mode (GCM) and Galois Message Authentication Code (GMAC). Required for IPSec. |
1da177e4c
|
185 |
|
584fffc8b
|
186 187 188 189 |
config CRYPTO_SEQIV tristate "Sequence Number IV Generator" select CRYPTO_AEAD select CRYPTO_BLKCIPHER |
a0f000ec9
|
190 |
select CRYPTO_RNG |
1da177e4c
|
191 |
help |
584fffc8b
|
192 193 |
This IV generator generates an IV based on a sequence number by xoring it with a salt. This algorithm is mainly useful for CTR |
1da177e4c
|
194 |
|
584fffc8b
|
195 |
comment "Block modes" |
c494e0705
|
196 |
|
584fffc8b
|
197 198 |
config CRYPTO_CBC tristate "CBC support" |
db131ef90
|
199 |
select CRYPTO_BLKCIPHER |
43518407d
|
200 |
select CRYPTO_MANAGER |
db131ef90
|
201 |
help |
584fffc8b
|
202 203 |
CBC: Cipher Block Chaining mode This block cipher algorithm is required for IPSec. |
db131ef90
|
204 |
|
584fffc8b
|
205 206 |
config CRYPTO_CTR tristate "CTR support" |
db131ef90
|
207 |
select CRYPTO_BLKCIPHER |
584fffc8b
|
208 |
select CRYPTO_SEQIV |
43518407d
|
209 |
select CRYPTO_MANAGER |
db131ef90
|
210 |
help |
584fffc8b
|
211 |
CTR: Counter mode |
db131ef90
|
212 |
This block cipher algorithm is required for IPSec. |
584fffc8b
|
213 214 215 216 217 218 219 220 221 222 223 224 225 |
config CRYPTO_CTS tristate "CTS support" select CRYPTO_BLKCIPHER help CTS: Cipher Text Stealing This is the Cipher Text Stealing mode as described by Section 8 of rfc2040 and referenced by rfc3962. (rfc3962 includes errata information in its Appendix A) This mode is required for Kerberos gss mechanism support for AES encryption. config CRYPTO_ECB tristate "ECB support" |
91652be5d
|
226 227 |
select CRYPTO_BLKCIPHER select CRYPTO_MANAGER |
91652be5d
|
228 |
help |
584fffc8b
|
229 230 231 |
ECB: Electronic CodeBook mode This is the simplest block cipher algorithm. It simply encrypts the input block by block. |
91652be5d
|
232 |
|
64470f1b8
|
233 |
config CRYPTO_LRW |
2470a2b2c
|
234 |
tristate "LRW support" |
64470f1b8
|
235 236 237 238 239 240 241 242 243 |
select CRYPTO_BLKCIPHER select CRYPTO_MANAGER select CRYPTO_GF128MUL help LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable narrow block cipher mode for dm-crypt. Use it with cipher specification string aes-lrw-benbi, the key must be 256, 320 or 384. The first 128, 192 or 256 bits in the key are used for AES and the rest is used to tie each cipher block to its logical position. |
584fffc8b
|
244 245 246 247 248 249 250 |
config CRYPTO_PCBC tristate "PCBC support" select CRYPTO_BLKCIPHER select CRYPTO_MANAGER help PCBC: Propagating Cipher Block Chaining mode This block cipher algorithm is required for RxRPC. |
f19f5111c
|
251 |
config CRYPTO_XTS |
5bcf8e6dd
|
252 |
tristate "XTS support" |
f19f5111c
|
253 254 255 256 257 258 259 |
select CRYPTO_BLKCIPHER select CRYPTO_MANAGER select CRYPTO_GF128MUL help XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain, key size 256, 384 or 512 bits. This implementation currently can't handle a sectorsize which is not a multiple of 16 bytes. |
584fffc8b
|
260 261 262 263 264 |
comment "Hash modes" config CRYPTO_HMAC tristate "HMAC support" select CRYPTO_HASH |
23e353c8a
|
265 |
select CRYPTO_MANAGER |
23e353c8a
|
266 |
help |
584fffc8b
|
267 268 |
HMAC: Keyed-Hashing for Message Authentication (RFC2104). This is required for IPSec. |
23e353c8a
|
269 |
|
584fffc8b
|
270 271 272 273 274 |
config CRYPTO_XCBC tristate "XCBC support" depends on EXPERIMENTAL select CRYPTO_HASH select CRYPTO_MANAGER |
76cb95217
|
275 |
help |
584fffc8b
|
276 277 278 279 |
XCBC: Keyed-Hashing with encryption algorithm http://www.ietf.org/rfc/rfc3566.txt http://csrc.nist.gov/encryption/modes/proposedmodes/ xcbc-mac/xcbc-mac-spec.pdf |
76cb95217
|
280 |
|
f1939f7c5
|
281 282 283 284 285 286 287 288 289 290 291 |
config CRYPTO_VMAC tristate "VMAC support" depends on EXPERIMENTAL select CRYPTO_HASH select CRYPTO_MANAGER help VMAC is a message authentication algorithm designed for very high speed on 64-bit architectures. See also: <http://fastcrypto.org/vmac> |
584fffc8b
|
292 |
comment "Digest" |
28db8e3e3
|
293 |
|
584fffc8b
|
294 295 |
config CRYPTO_CRC32C tristate "CRC32c CRC algorithm" |
5773a3e6e
|
296 |
select CRYPTO_HASH |
6a0962b22
|
297 |
select CRC32 |
4a49b499d
|
298 |
help |
584fffc8b
|
299 300 |
Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used by iSCSI for header and data digests and by others. |
69c35efcf
|
301 |
See Castagnoli93. Module will be crc32c. |
4a49b499d
|
302 |
|
8cb51ba8e
|
303 304 305 306 307 308 309 310 311 312 313 |
config CRYPTO_CRC32C_INTEL tristate "CRC32c INTEL hardware acceleration" depends on X86 select CRYPTO_HASH help In Intel processor with SSE4.2 supported, the processor will support CRC32C implementation using hardware accelerated CRC32 instruction. This option will create 'crc32c-intel' module, which will enable any routine to use the CRC32 instruction to gain performance compared with software implementation. Module will be crc32c-intel. |
2cdc6899a
|
314 315 |
config CRYPTO_GHASH tristate "GHASH digest algorithm" |
2cdc6899a
|
316 317 318 |
select CRYPTO_GF128MUL help GHASH is message digest algorithm for GCM (Galois/Counter Mode). |
584fffc8b
|
319 320 |
config CRYPTO_MD4 tristate "MD4 digest algorithm" |
808a1763c
|
321 |
select CRYPTO_HASH |
124b53d02
|
322 |
help |
584fffc8b
|
323 |
MD4 message digest algorithm (RFC1320). |
124b53d02
|
324 |
|
584fffc8b
|
325 326 |
config CRYPTO_MD5 tristate "MD5 digest algorithm" |
14b75ba70
|
327 |
select CRYPTO_HASH |
1da177e4c
|
328 |
help |
584fffc8b
|
329 |
MD5 message digest algorithm (RFC1321). |
1da177e4c
|
330 |
|
584fffc8b
|
331 332 |
config CRYPTO_MICHAEL_MIC tristate "Michael MIC keyed digest algorithm" |
19e2bf146
|
333 |
select CRYPTO_HASH |
90831639a
|
334 |
help |
584fffc8b
|
335 336 337 338 |
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. |
90831639a
|
339 |
|
82798f90f
|
340 |
config CRYPTO_RMD128 |
b6d443418
|
341 |
tristate "RIPEMD-128 digest algorithm" |
7c4468bc0
|
342 |
select CRYPTO_HASH |
b6d443418
|
343 344 |
help RIPEMD-128 (ISO/IEC 10118-3:2004). |
82798f90f
|
345 |
|
b6d443418
|
346 |
RIPEMD-128 is a 128-bit cryptographic hash function. It should only |
35ed4b35b
|
347 |
be used as a secure replacement for RIPEMD. For other use cases, |
b6d443418
|
348 |
RIPEMD-160 should be used. |
82798f90f
|
349 |
|
b6d443418
|
350 |
Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. |
6d8de74c5
|
351 |
See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> |
82798f90f
|
352 353 |
config CRYPTO_RMD160 |
b6d443418
|
354 |
tristate "RIPEMD-160 digest algorithm" |
e5835fba0
|
355 |
select CRYPTO_HASH |
b6d443418
|
356 357 |
help RIPEMD-160 (ISO/IEC 10118-3:2004). |
82798f90f
|
358 |
|
b6d443418
|
359 360 361 362 |
RIPEMD-160 is a 160-bit cryptographic hash function. It is intended to be used as a secure replacement for the 128-bit hash functions MD4, MD5 and it's predecessor RIPEMD (not to be confused with RIPEMD-128). |
82798f90f
|
363 |
|
b6d443418
|
364 365 |
It's speed is comparable to SHA1 and there are no known attacks against RIPEMD-160. |
534fe2c1c
|
366 |
|
b6d443418
|
367 |
Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. |
6d8de74c5
|
368 |
See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> |
534fe2c1c
|
369 370 |
config CRYPTO_RMD256 |
b6d443418
|
371 |
tristate "RIPEMD-256 digest algorithm" |
d8a5e2e9f
|
372 |
select CRYPTO_HASH |
b6d443418
|
373 374 375 376 377 |
help RIPEMD-256 is an optional extension of RIPEMD-128 with a 256 bit hash. It is intended for applications that require longer hash-results, without needing a larger security level (than RIPEMD-128). |
534fe2c1c
|
378 |
|
b6d443418
|
379 |
Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. |
6d8de74c5
|
380 |
See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> |
534fe2c1c
|
381 382 |
config CRYPTO_RMD320 |
b6d443418
|
383 |
tristate "RIPEMD-320 digest algorithm" |
3b8efb4c4
|
384 |
select CRYPTO_HASH |
b6d443418
|
385 386 387 388 389 |
help RIPEMD-320 is an optional extension of RIPEMD-160 with a 320 bit hash. It is intended for applications that require longer hash-results, without needing a larger security level (than RIPEMD-160). |
534fe2c1c
|
390 |
|
b6d443418
|
391 |
Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. |
6d8de74c5
|
392 |
See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> |
82798f90f
|
393 |
|
584fffc8b
|
394 395 |
config CRYPTO_SHA1 tristate "SHA1 digest algorithm" |
54ccb3677
|
396 |
select CRYPTO_HASH |
1da177e4c
|
397 |
help |
584fffc8b
|
398 |
SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). |
1da177e4c
|
399 |
|
66be89515
|
400 401 402 403 404 405 406 407 408 |
config CRYPTO_SHA1_SSSE3 tristate "SHA1 digest algorithm (SSSE3/AVX)" depends on X86 && 64BIT select CRYPTO_SHA1 select CRYPTO_HASH help SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented using Supplemental SSE3 (SSSE3) instructions or Advanced Vector Extensions (AVX), when available. |
584fffc8b
|
409 410 |
config CRYPTO_SHA256 tristate "SHA224 and SHA256 digest algorithm" |
50e109b5b
|
411 |
select CRYPTO_HASH |
1da177e4c
|
412 |
help |
584fffc8b
|
413 |
SHA256 secure hash standard (DFIPS 180-2). |
1da177e4c
|
414 |
|
584fffc8b
|
415 416 |
This version of SHA implements a 256 bit hash with 128 bits of security against collision attacks. |
2729bb427
|
417 |
|
b6d443418
|
418 419 |
This code also includes SHA-224, a 224 bit hash with 112 bits of security against collision attacks. |
584fffc8b
|
420 421 422 |
config CRYPTO_SHA512 tristate "SHA384 and SHA512 digest algorithms" |
bd9d20dba
|
423 |
select CRYPTO_HASH |
b9f535ffe
|
424 |
help |
584fffc8b
|
425 |
SHA512 secure hash standard (DFIPS 180-2). |
b9f535ffe
|
426 |
|
584fffc8b
|
427 428 |
This version of SHA implements a 512 bit hash with 256 bits of security against collision attacks. |
b9f535ffe
|
429 |
|
584fffc8b
|
430 431 |
This code also includes SHA-384, a 384 bit hash with 192 bits of security against collision attacks. |
b9f535ffe
|
432 |
|
584fffc8b
|
433 434 |
config CRYPTO_TGR192 tristate "Tiger digest algorithms" |
f63fbd3d5
|
435 |
select CRYPTO_HASH |
eaf44088f
|
436 |
help |
584fffc8b
|
437 |
Tiger hash algorithm 192, 160 and 128-bit hashes |
eaf44088f
|
438 |
|
584fffc8b
|
439 440 441 |
Tiger is a hash function optimized for 64-bit processors while still having decent performance on 32-bit processors. Tiger was developed by Ross Anderson and Eli Biham. |
eaf44088f
|
442 443 |
See also: |
584fffc8b
|
444 |
<http://www.cs.technion.ac.il/~biham/Reports/Tiger/>. |
eaf44088f
|
445 |
|
584fffc8b
|
446 447 |
config CRYPTO_WP512 tristate "Whirlpool digest algorithms" |
4946510ba
|
448 |
select CRYPTO_HASH |
1da177e4c
|
449 |
help |
584fffc8b
|
450 |
Whirlpool hash algorithm 512, 384 and 256-bit hashes |
1da177e4c
|
451 |
|
584fffc8b
|
452 453 |
Whirlpool-512 is part of the NESSIE cryptographic primitives. Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard |
1da177e4c
|
454 455 |
See also: |
6d8de74c5
|
456 |
<http://www.larc.usp.br/~pbarreto/WhirlpoolPage.html> |
584fffc8b
|
457 |
|
0e1227d35
|
458 459 |
config CRYPTO_GHASH_CLMUL_NI_INTEL tristate "GHASH digest algorithm (CLMUL-NI accelerated)" |
8af00860c
|
460 |
depends on X86 && 64BIT |
0e1227d35
|
461 462 463 464 |
select CRYPTO_CRYPTD help GHASH is message digest algorithm for GCM (Galois/Counter Mode). The implementation is accelerated by CLMUL-NI of Intel. |
584fffc8b
|
465 |
comment "Ciphers" |
1da177e4c
|
466 467 468 |
config CRYPTO_AES tristate "AES cipher algorithms" |
cce9e06d1
|
469 |
select CRYPTO_ALGAPI |
1da177e4c
|
470 |
help |
584fffc8b
|
471 |
AES cipher algorithms (FIPS-197). AES uses the Rijndael |
1da177e4c
|
472 473 474 |
algorithm. Rijndael appears to be consistently a very good performer in |
584fffc8b
|
475 476 477 478 479 480 481 |
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. |
1da177e4c
|
482 |
|
584fffc8b
|
483 |
The AES specifies three key sizes: 128, 192 and 256 bits |
1da177e4c
|
484 485 486 487 488 |
See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information. config CRYPTO_AES_586 tristate "AES cipher algorithms (i586)" |
cce9e06d1
|
489 490 |
depends on (X86 || UML_X86) && !64BIT select CRYPTO_ALGAPI |
5157dea81
|
491 |
select CRYPTO_AES |
1da177e4c
|
492 |
help |
584fffc8b
|
493 |
AES cipher algorithms (FIPS-197). AES uses the Rijndael |
1da177e4c
|
494 495 496 |
algorithm. Rijndael appears to be consistently a very good performer in |
584fffc8b
|
497 498 499 500 501 502 503 |
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. |
1da177e4c
|
504 |
|
584fffc8b
|
505 |
The AES specifies three key sizes: 128, 192 and 256 bits |
a2a892a23
|
506 507 508 509 510 |
See <http://csrc.nist.gov/encryption/aes/> for more information. config CRYPTO_AES_X86_64 tristate "AES cipher algorithms (x86_64)" |
cce9e06d1
|
511 512 |
depends on (X86 || UML_X86) && 64BIT select CRYPTO_ALGAPI |
81190b321
|
513 |
select CRYPTO_AES |
a2a892a23
|
514 |
help |
584fffc8b
|
515 |
AES cipher algorithms (FIPS-197). AES uses the Rijndael |
a2a892a23
|
516 517 518 |
algorithm. Rijndael appears to be consistently a very good performer in |
584fffc8b
|
519 520 521 |
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 |
54b6a1bd5
|
522 523 524 525 526 527 528 529 530 531 532 |
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. config CRYPTO_AES_NI_INTEL tristate "AES cipher algorithms (AES-NI)" |
8af00860c
|
533 |
depends on X86 |
0d258efb6
|
534 535 |
select CRYPTO_AES_X86_64 if 64BIT select CRYPTO_AES_586 if !64BIT |
54b6a1bd5
|
536 |
select CRYPTO_CRYPTD |
a9629d714
|
537 |
select CRYPTO_ABLK_HELPER_X86 |
54b6a1bd5
|
538 539 540 541 542 543 544 545 546 547 548 |
select CRYPTO_ALGAPI help Use Intel AES-NI instructions for AES algorithm. 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 |
584fffc8b
|
549 550 551 552 |
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. |
a2a892a23
|
553 |
|
584fffc8b
|
554 |
The AES specifies three key sizes: 128, 192 and 256 bits |
1da177e4c
|
555 556 |
See <http://csrc.nist.gov/encryption/aes/> for more information. |
0d258efb6
|
557 558 559 560 |
In addition to AES cipher algorithm support, the acceleration for some popular block cipher mode is supported too, including ECB, CBC, LRW, PCBC, XTS. The 64 bit version has additional acceleration for CTR. |
2cf4ac8be
|
561 |
|
584fffc8b
|
562 563 564 565 566 567 568 569 570 571 572 |
config CRYPTO_ANUBIS tristate "Anubis cipher algorithm" select CRYPTO_ALGAPI help Anubis cipher algorithm. Anubis is a variable key length cipher which can use keys from 128 bits to 320 bits in length. It was evaluated as a entrant in the NESSIE competition. See also: |
6d8de74c5
|
573 574 |
<https://www.cosic.esat.kuleuven.be/nessie/reports/> <http://www.larc.usp.br/~pbarreto/AnubisPage.html> |
584fffc8b
|
575 576 577 |
config CRYPTO_ARC4 tristate "ARC4 cipher algorithm" |
b9b0f080f
|
578 |
select CRYPTO_BLKCIPHER |
584fffc8b
|
579 580 581 582 583 584 585 586 587 588 589 |
help ARC4 cipher algorithm. 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. config CRYPTO_BLOWFISH tristate "Blowfish cipher algorithm" select CRYPTO_ALGAPI |
52ba867c8
|
590 |
select CRYPTO_BLOWFISH_COMMON |
584fffc8b
|
591 592 593 594 595 596 597 598 599 |
help Blowfish cipher algorithm, by Bruce Schneier. 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". See also: <http://www.schneier.com/blowfish.html> |
52ba867c8
|
600 601 602 603 604 605 606 607 |
config CRYPTO_BLOWFISH_COMMON tristate help Common parts of the Blowfish cipher algorithm shared by the generic c and the assembler implementations. See also: <http://www.schneier.com/blowfish.html> |
64b94ceae
|
608 609 |
config CRYPTO_BLOWFISH_X86_64 tristate "Blowfish cipher algorithm (x86_64)" |
f21a7c195
|
610 |
depends on X86 && 64BIT |
64b94ceae
|
611 612 613 614 615 616 617 618 619 620 621 |
select CRYPTO_ALGAPI select CRYPTO_BLOWFISH_COMMON help Blowfish cipher algorithm (x86_64), by Bruce Schneier. 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". See also: <http://www.schneier.com/blowfish.html> |
584fffc8b
|
622 623 624 625 626 627 628 629 630 631 632 633 634 635 |
config CRYPTO_CAMELLIA tristate "Camellia cipher algorithms" depends on CRYPTO select CRYPTO_ALGAPI help Camellia cipher algorithms module. Camellia is a symmetric key block cipher developed jointly at NTT and Mitsubishi Electric Corporation. The Camellia specifies three key sizes: 128, 192 and 256 bits. See also: <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> |
0b95ec56a
|
636 637 |
config CRYPTO_CAMELLIA_X86_64 tristate "Camellia cipher algorithm (x86_64)" |
f21a7c195
|
638 |
depends on X86 && 64BIT |
0b95ec56a
|
639 640 |
depends on CRYPTO select CRYPTO_ALGAPI |
964263afd
|
641 |
select CRYPTO_GLUE_HELPER_X86 |
0b95ec56a
|
642 643 644 645 646 647 648 649 650 651 652 653 |
select CRYPTO_LRW select CRYPTO_XTS help Camellia cipher algorithm module (x86_64). Camellia is a symmetric key block cipher developed jointly at NTT and Mitsubishi Electric Corporation. The Camellia specifies three key sizes: 128, 192 and 256 bits. See also: <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> |
1da177e4c
|
654 655 |
config CRYPTO_CAST5 tristate "CAST5 (CAST-128) cipher algorithm" |
cce9e06d1
|
656 |
select CRYPTO_ALGAPI |
1da177e4c
|
657 658 659 660 661 662 |
help The CAST5 encryption algorithm (synonymous with CAST-128) is described in RFC2144. config CRYPTO_CAST6 tristate "CAST6 (CAST-256) cipher algorithm" |
cce9e06d1
|
663 |
select CRYPTO_ALGAPI |
1da177e4c
|
664 665 666 |
help The CAST6 encryption algorithm (synonymous with CAST-256) is described in RFC2612. |
584fffc8b
|
667 668 |
config CRYPTO_DES tristate "DES and Triple DES EDE cipher algorithms" |
cce9e06d1
|
669 |
select CRYPTO_ALGAPI |
1da177e4c
|
670 |
help |
584fffc8b
|
671 |
DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3). |
fb4f10ed5
|
672 |
|
584fffc8b
|
673 674 |
config CRYPTO_FCRYPT tristate "FCrypt cipher algorithm" |
cce9e06d1
|
675 |
select CRYPTO_ALGAPI |
584fffc8b
|
676 |
select CRYPTO_BLKCIPHER |
1da177e4c
|
677 |
help |
584fffc8b
|
678 |
FCrypt algorithm used by RxRPC. |
1da177e4c
|
679 680 681 |
config CRYPTO_KHAZAD tristate "Khazad cipher algorithm" |
cce9e06d1
|
682 |
select CRYPTO_ALGAPI |
1da177e4c
|
683 684 685 686 687 688 689 690 |
help Khazad cipher algorithm. Khazad was a finalist in the initial NESSIE competition. It is an algorithm optimized for 64-bit processors with good performance on 32-bit processors. Khazad uses an 128 bit key size. See also: |
6d8de74c5
|
691 |
<http://www.larc.usp.br/~pbarreto/KhazadPage.html> |
1da177e4c
|
692 |
|
2407d6087
|
693 694 695 696 697 698 699 700 701 |
config CRYPTO_SALSA20 tristate "Salsa20 stream cipher algorithm (EXPERIMENTAL)" depends on EXPERIMENTAL select CRYPTO_BLKCIPHER help Salsa20 stream cipher algorithm. Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> |
974e4b752
|
702 703 704 705 706 707 708 709 710 |
The Salsa20 stream cipher algorithm is designed by Daniel J. Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> config CRYPTO_SALSA20_586 tristate "Salsa20 stream cipher algorithm (i586) (EXPERIMENTAL)" depends on (X86 || UML_X86) && !64BIT depends on EXPERIMENTAL select CRYPTO_BLKCIPHER |
974e4b752
|
711 712 713 714 715 |
help Salsa20 stream cipher algorithm. Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> |
9a7dafbba
|
716 717 718 719 720 721 722 723 724 |
The Salsa20 stream cipher algorithm is designed by Daniel J. Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> config CRYPTO_SALSA20_X86_64 tristate "Salsa20 stream cipher algorithm (x86_64) (EXPERIMENTAL)" depends on (X86 || UML_X86) && 64BIT depends on EXPERIMENTAL select CRYPTO_BLKCIPHER |
9a7dafbba
|
725 726 727 728 729 |
help Salsa20 stream cipher algorithm. Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> |
2407d6087
|
730 731 732 |
The Salsa20 stream cipher algorithm is designed by Daniel J. Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> |
1da177e4c
|
733 |
|
584fffc8b
|
734 735 |
config CRYPTO_SEED tristate "SEED cipher algorithm" |
cce9e06d1
|
736 |
select CRYPTO_ALGAPI |
1da177e4c
|
737 |
help |
584fffc8b
|
738 |
SEED cipher algorithm (RFC4269). |
1da177e4c
|
739 |
|
584fffc8b
|
740 741 742 743 744 745 746 747 748 749 |
SEED is a 128-bit symmetric key block cipher that has been developed by KISA (Korea Information Security Agency) as a national standard encryption algorithm of the Republic of Korea. It is a 16 round block cipher with the key size of 128 bit. See also: <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp> config CRYPTO_SERPENT tristate "Serpent cipher algorithm" |
cce9e06d1
|
750 |
select CRYPTO_ALGAPI |
1da177e4c
|
751 |
help |
584fffc8b
|
752 |
Serpent cipher algorithm, by Anderson, Biham & Knudsen. |
1da177e4c
|
753 |
|
584fffc8b
|
754 755 756 757 758 759 |
Keys are allowed to be from 0 to 256 bits in length, in steps of 8 bits. Also includes the 'Tnepres' algorithm, a reversed variant of Serpent for compatibility with old kerneli.org code. See also: <http://www.cl.cam.ac.uk/~rja14/serpent.html> |
937c30d7f
|
760 761 762 763 |
config CRYPTO_SERPENT_SSE2_X86_64 tristate "Serpent cipher algorithm (x86_64/SSE2)" depends on X86 && 64BIT select CRYPTO_ALGAPI |
341975bf3
|
764 |
select CRYPTO_CRYPTD |
ffaf91563
|
765 |
select CRYPTO_ABLK_HELPER_X86 |
596d87505
|
766 |
select CRYPTO_GLUE_HELPER_X86 |
937c30d7f
|
767 |
select CRYPTO_SERPENT |
feaf0cfc2
|
768 769 |
select CRYPTO_LRW select CRYPTO_XTS |
937c30d7f
|
770 771 772 773 774 775 776 777 778 779 780 |
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. This module provides Serpent cipher algorithm that processes eigth blocks parallel using SSE2 instruction set. See also: <http://www.cl.cam.ac.uk/~rja14/serpent.html> |
251496dbf
|
781 782 783 784 |
config CRYPTO_SERPENT_SSE2_586 tristate "Serpent cipher algorithm (i586/SSE2)" depends on X86 && !64BIT select CRYPTO_ALGAPI |
341975bf3
|
785 |
select CRYPTO_CRYPTD |
ffaf91563
|
786 |
select CRYPTO_ABLK_HELPER_X86 |
596d87505
|
787 |
select CRYPTO_GLUE_HELPER_X86 |
251496dbf
|
788 |
select CRYPTO_SERPENT |
feaf0cfc2
|
789 790 |
select CRYPTO_LRW select CRYPTO_XTS |
251496dbf
|
791 792 793 794 795 796 797 798 799 800 801 |
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. This module provides Serpent cipher algorithm that processes four blocks parallel using SSE2 instruction set. See also: <http://www.cl.cam.ac.uk/~rja14/serpent.html> |
7efe40767
|
802 803 804 805 806 807 |
config CRYPTO_SERPENT_AVX_X86_64 tristate "Serpent cipher algorithm (x86_64/AVX)" depends on X86 && 64BIT select CRYPTO_ALGAPI select CRYPTO_CRYPTD |
ffaf91563
|
808 |
select CRYPTO_ABLK_HELPER_X86 |
1d0debbd4
|
809 |
select CRYPTO_GLUE_HELPER_X86 |
7efe40767
|
810 811 812 813 814 815 816 817 818 819 820 821 822 823 |
select CRYPTO_SERPENT select CRYPTO_LRW select CRYPTO_XTS 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. This module provides the Serpent cipher algorithm that processes eight blocks parallel using the AVX instruction set. See also: <http://www.cl.cam.ac.uk/~rja14/serpent.html> |
251496dbf
|
824 |
|
584fffc8b
|
825 826 |
config CRYPTO_TEA tristate "TEA, XTEA and XETA cipher algorithms" |
cce9e06d1
|
827 |
select CRYPTO_ALGAPI |
1da177e4c
|
828 |
help |
584fffc8b
|
829 |
TEA cipher algorithm. |
1da177e4c
|
830 |
|
584fffc8b
|
831 832 833 834 835 836 837 838 839 840 841 842 843 |
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 modification to the TEA algorithm to address a potential key weakness in the TEA algorithm. Xtendend Encryption Tiny Algorithm is a mis-implementation of the XTEA algorithm for compatibility purposes. config CRYPTO_TWOFISH tristate "Twofish cipher algorithm" |
04ac7db3f
|
844 |
select CRYPTO_ALGAPI |
584fffc8b
|
845 |
select CRYPTO_TWOFISH_COMMON |
04ac7db3f
|
846 |
help |
584fffc8b
|
847 |
Twofish cipher algorithm. |
04ac7db3f
|
848 |
|
584fffc8b
|
849 850 851 852 |
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. |
04ac7db3f
|
853 |
|
584fffc8b
|
854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 |
See also: <http://www.schneier.com/twofish.html> config CRYPTO_TWOFISH_COMMON tristate help Common parts of the Twofish cipher algorithm shared by the generic c and the assembler implementations. config CRYPTO_TWOFISH_586 tristate "Twofish cipher algorithms (i586)" depends on (X86 || UML_X86) && !64BIT select CRYPTO_ALGAPI select CRYPTO_TWOFISH_COMMON 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. |
04ac7db3f
|
875 876 |
See also: |
584fffc8b
|
877 |
<http://www.schneier.com/twofish.html> |
04ac7db3f
|
878 |
|
584fffc8b
|
879 880 881 |
config CRYPTO_TWOFISH_X86_64 tristate "Twofish cipher algorithm (x86_64)" depends on (X86 || UML_X86) && 64BIT |
cce9e06d1
|
882 |
select CRYPTO_ALGAPI |
584fffc8b
|
883 |
select CRYPTO_TWOFISH_COMMON |
1da177e4c
|
884 |
help |
584fffc8b
|
885 |
Twofish cipher algorithm (x86_64). |
1da177e4c
|
886 |
|
584fffc8b
|
887 888 889 890 891 892 893 |
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: <http://www.schneier.com/twofish.html> |
8280daad4
|
894 895 |
config CRYPTO_TWOFISH_X86_64_3WAY tristate "Twofish cipher algorithm (x86_64, 3-way parallel)" |
f21a7c195
|
896 |
depends on X86 && 64BIT |
8280daad4
|
897 898 899 |
select CRYPTO_ALGAPI select CRYPTO_TWOFISH_COMMON select CRYPTO_TWOFISH_X86_64 |
414cb5e7c
|
900 |
select CRYPTO_GLUE_HELPER_X86 |
e7cda5d27
|
901 902 |
select CRYPTO_LRW select CRYPTO_XTS |
8280daad4
|
903 904 905 906 907 908 909 910 911 912 913 914 915 |
help Twofish cipher algorithm (x86_64, 3-way parallel). 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. This module provides Twofish cipher algorithm that processes three blocks parallel, utilizing resources of out-of-order CPUs better. See also: <http://www.schneier.com/twofish.html> |
107778b59
|
916 917 918 919 920 |
config CRYPTO_TWOFISH_AVX_X86_64 tristate "Twofish cipher algorithm (x86_64/AVX)" depends on X86 && 64BIT select CRYPTO_ALGAPI select CRYPTO_CRYPTD |
30a040088
|
921 |
select CRYPTO_ABLK_HELPER_X86 |
a7378d4e5
|
922 |
select CRYPTO_GLUE_HELPER_X86 |
107778b59
|
923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 |
select CRYPTO_TWOFISH_COMMON select CRYPTO_TWOFISH_X86_64 select CRYPTO_TWOFISH_X86_64_3WAY select CRYPTO_LRW select CRYPTO_XTS help Twofish cipher algorithm (x86_64/AVX). 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. This module provides the Twofish cipher algorithm that processes eight blocks parallel using the AVX Instruction Set. See also: <http://www.schneier.com/twofish.html> |
584fffc8b
|
941 942 943 944 945 946 947 |
comment "Compression" config CRYPTO_DEFLATE tristate "Deflate compression algorithm" select CRYPTO_ALGAPI select ZLIB_INFLATE select ZLIB_DEFLATE |
3c09f17c3
|
948 |
help |
584fffc8b
|
949 950 951 952 |
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. |
3c09f17c3
|
953 |
|
bf68e65ec
|
954 955 956 957 958 959 960 961 |
config CRYPTO_ZLIB tristate "Zlib compression algorithm" select CRYPTO_PCOMP select ZLIB_INFLATE select ZLIB_DEFLATE select NLATTR help This is the zlib algorithm. |
0b77abb3b
|
962 963 964 965 966 967 968 |
config CRYPTO_LZO tristate "LZO compression algorithm" select CRYPTO_ALGAPI select LZO_COMPRESS select LZO_DECOMPRESS help This is the LZO algorithm. |
17f0f4a47
|
969 970 971 972 |
comment "Random Number Generation" config CRYPTO_ANSI_CPRNG tristate "Pseudo Random Number Generation for Cryptographic modules" |
4e4ed83be
|
973 |
default m |
17f0f4a47
|
974 975 |
select CRYPTO_AES select CRYPTO_RNG |
17f0f4a47
|
976 977 978 |
help This option enables the generic pseudo random number generator for cryptographic modules. Uses the Algorithm specified in |
7dd607e82
|
979 980 |
ANSI X9.31 A.2.4. Note that this option must be enabled if CRYPTO_FIPS is selected |
17f0f4a47
|
981 |
|
03c8efc1f
|
982 983 |
config CRYPTO_USER_API tristate |
fe869cdb8
|
984 985 |
config CRYPTO_USER_API_HASH tristate "User-space interface for hash algorithms" |
7451708f3
|
986 |
depends on NET |
fe869cdb8
|
987 988 989 990 991 |
select CRYPTO_HASH select CRYPTO_USER_API help This option enables the user-spaces interface for hash algorithms. |
8ff590903
|
992 993 |
config CRYPTO_USER_API_SKCIPHER tristate "User-space interface for symmetric key cipher algorithms" |
7451708f3
|
994 |
depends on NET |
8ff590903
|
995 996 997 998 999 |
select CRYPTO_BLKCIPHER select CRYPTO_USER_API help This option enables the user-spaces interface for symmetric key cipher algorithms. |
1da177e4c
|
1000 |
source "drivers/crypto/Kconfig" |
1da177e4c
|
1001 |
|
cce9e06d1
|
1002 |
endif # if CRYPTO |