Blame view
crypto/Kconfig
23.7 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" |
4e4ed83be
|
23 |
depends on CRYPTO_ANSI_CPRNG |
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 |
f77f13e22
|
28 |
this is. Note that CRYPTO_ANSI_CPRNG is required if this |
4e4ed83be
|
29 |
option is selected |
ccb778e18
|
30 |
|
cce9e06d1
|
31 32 |
config CRYPTO_ALGAPI tristate |
6a0fcbb4d
|
33 |
select CRYPTO_ALGAPI2 |
cce9e06d1
|
34 35 |
help This option provides the API for cryptographic algorithms. |
6a0fcbb4d
|
36 37 |
config CRYPTO_ALGAPI2 tristate |
1ae978208
|
38 39 |
config CRYPTO_AEAD tristate |
6a0fcbb4d
|
40 |
select CRYPTO_AEAD2 |
1ae978208
|
41 |
select CRYPTO_ALGAPI |
6a0fcbb4d
|
42 43 44 |
config CRYPTO_AEAD2 tristate select CRYPTO_ALGAPI2 |
5cde0af2a
|
45 46 |
config CRYPTO_BLKCIPHER tristate |
6a0fcbb4d
|
47 |
select CRYPTO_BLKCIPHER2 |
5cde0af2a
|
48 |
select CRYPTO_ALGAPI |
6a0fcbb4d
|
49 50 51 52 53 |
config CRYPTO_BLKCIPHER2 tristate select CRYPTO_ALGAPI2 select CRYPTO_RNG2 |
0a2e821d6
|
54 |
select CRYPTO_WORKQUEUE |
5cde0af2a
|
55 |
|
055bcee31
|
56 57 |
config CRYPTO_HASH tristate |
6a0fcbb4d
|
58 |
select CRYPTO_HASH2 |
055bcee31
|
59 |
select CRYPTO_ALGAPI |
6a0fcbb4d
|
60 61 62 |
config CRYPTO_HASH2 tristate select CRYPTO_ALGAPI2 |
17f0f4a47
|
63 64 |
config CRYPTO_RNG tristate |
6a0fcbb4d
|
65 |
select CRYPTO_RNG2 |
17f0f4a47
|
66 |
select CRYPTO_ALGAPI |
6a0fcbb4d
|
67 68 69 |
config CRYPTO_RNG2 tristate select CRYPTO_ALGAPI2 |
a1d2f0954
|
70 71 |
config CRYPTO_PCOMP tristate |
bc94e5966
|
72 73 74 75 76 |
select CRYPTO_PCOMP2 select CRYPTO_ALGAPI config CRYPTO_PCOMP2 tristate |
a1d2f0954
|
77 |
select CRYPTO_ALGAPI2 |
2b8c19dbd
|
78 79 |
config CRYPTO_MANAGER tristate "Cryptographic algorithm manager" |
6a0fcbb4d
|
80 |
select CRYPTO_MANAGER2 |
2b8c19dbd
|
81 82 83 |
help Create default cryptographic template instantiations such as cbc(aes). |
6a0fcbb4d
|
84 85 86 87 88 |
config CRYPTO_MANAGER2 def_tristate CRYPTO_MANAGER || (CRYPTO_MANAGER!=n && CRYPTO_ALGAPI=y) select CRYPTO_AEAD2 select CRYPTO_HASH2 select CRYPTO_BLKCIPHER2 |
bc94e5966
|
89 |
select CRYPTO_PCOMP2 |
6a0fcbb4d
|
90 |
|
0b767f961
|
91 92 93 94 95 96 97 |
config CRYPTO_MANAGER_TESTS bool "Run algolithms' self-tests" default y depends on CRYPTO_MANAGER2 help Run cryptomanager's tests for the new crypto algorithms being registered. |
584fffc8b
|
98 99 |
config CRYPTO_GF128MUL tristate "GF(2^128) multiplication functions (EXPERIMENTAL)" |
333b0d7ee
|
100 |
depends on EXPERIMENTAL |
333b0d7ee
|
101 |
help |
584fffc8b
|
102 103 104 105 106 |
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
|
107 |
|
1da177e4c
|
108 109 |
config CRYPTO_NULL tristate "Null algorithms" |
cce9e06d1
|
110 |
select CRYPTO_ALGAPI |
c8620c259
|
111 |
select CRYPTO_BLKCIPHER |
d35d2454c
|
112 |
select CRYPTO_HASH |
1da177e4c
|
113 114 |
help These are 'Null' algorithms, used by IPsec, which do nothing. |
5068c7a88
|
115 116 117 118 119 120 121 122 123 |
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
|
124 125 |
config CRYPTO_WORKQUEUE tristate |
584fffc8b
|
126 127 128 |
config CRYPTO_CRYPTD tristate "Software async crypto daemon" select CRYPTO_BLKCIPHER |
b8a28251c
|
129 |
select CRYPTO_HASH |
584fffc8b
|
130 |
select CRYPTO_MANAGER |
254eff771
|
131 |
select CRYPTO_WORKQUEUE |
1da177e4c
|
132 |
help |
584fffc8b
|
133 134 135 |
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
|
136 |
|
584fffc8b
|
137 138 139 140 141 142 |
config CRYPTO_AUTHENC tristate "Authenc support" select CRYPTO_AEAD select CRYPTO_BLKCIPHER select CRYPTO_MANAGER select CRYPTO_HASH |
1da177e4c
|
143 |
help |
584fffc8b
|
144 145 |
Authenc: Combined mode wrapper for IPsec. This is required for IPSec. |
1da177e4c
|
146 |
|
584fffc8b
|
147 148 149 |
config CRYPTO_TEST tristate "Testing module" depends on m |
da7f033dd
|
150 |
select CRYPTO_MANAGER |
1da177e4c
|
151 |
help |
584fffc8b
|
152 |
Quick & dirty crypto test module. |
1da177e4c
|
153 |
|
584fffc8b
|
154 |
comment "Authenticated Encryption with Associated Data" |
cd12fb906
|
155 |
|
584fffc8b
|
156 157 158 159 |
config CRYPTO_CCM tristate "CCM support" select CRYPTO_CTR select CRYPTO_AEAD |
1da177e4c
|
160 |
help |
584fffc8b
|
161 |
Support for Counter with CBC MAC. Required for IPsec. |
1da177e4c
|
162 |
|
584fffc8b
|
163 164 165 166 |
config CRYPTO_GCM tristate "GCM/GMAC support" select CRYPTO_CTR select CRYPTO_AEAD |
9382d97af
|
167 |
select CRYPTO_GHASH |
1da177e4c
|
168 |
help |
584fffc8b
|
169 170 |
Support for Galois/Counter Mode (GCM) and Galois Message Authentication Code (GMAC). Required for IPSec. |
1da177e4c
|
171 |
|
584fffc8b
|
172 173 174 175 |
config CRYPTO_SEQIV tristate "Sequence Number IV Generator" select CRYPTO_AEAD select CRYPTO_BLKCIPHER |
a0f000ec9
|
176 |
select CRYPTO_RNG |
1da177e4c
|
177 |
help |
584fffc8b
|
178 179 |
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
|
180 |
|
584fffc8b
|
181 |
comment "Block modes" |
c494e0705
|
182 |
|
584fffc8b
|
183 184 |
config CRYPTO_CBC tristate "CBC support" |
db131ef90
|
185 |
select CRYPTO_BLKCIPHER |
43518407d
|
186 |
select CRYPTO_MANAGER |
db131ef90
|
187 |
help |
584fffc8b
|
188 189 |
CBC: Cipher Block Chaining mode This block cipher algorithm is required for IPSec. |
db131ef90
|
190 |
|
584fffc8b
|
191 192 |
config CRYPTO_CTR tristate "CTR support" |
db131ef90
|
193 |
select CRYPTO_BLKCIPHER |
584fffc8b
|
194 |
select CRYPTO_SEQIV |
43518407d
|
195 |
select CRYPTO_MANAGER |
db131ef90
|
196 |
help |
584fffc8b
|
197 |
CTR: Counter mode |
db131ef90
|
198 |
This block cipher algorithm is required for IPSec. |
584fffc8b
|
199 200 201 202 203 204 205 206 207 208 209 210 211 |
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
|
212 213 |
select CRYPTO_BLKCIPHER select CRYPTO_MANAGER |
91652be5d
|
214 |
help |
584fffc8b
|
215 216 217 |
ECB: Electronic CodeBook mode This is the simplest block cipher algorithm. It simply encrypts the input block by block. |
91652be5d
|
218 |
|
64470f1b8
|
219 220 221 222 223 224 225 226 227 228 229 230 |
config CRYPTO_LRW tristate "LRW support (EXPERIMENTAL)" depends on EXPERIMENTAL 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
|
231 232 233 234 235 236 237 |
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
|
238 239 240 241 242 243 244 245 246 247 |
config CRYPTO_XTS tristate "XTS support (EXPERIMENTAL)" depends on EXPERIMENTAL 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. |
150c7e855
|
248 249 250 251 |
config CRYPTO_FPU tristate select CRYPTO_BLKCIPHER select CRYPTO_MANAGER |
584fffc8b
|
252 253 254 255 256 |
comment "Hash modes" config CRYPTO_HMAC tristate "HMAC support" select CRYPTO_HASH |
23e353c8a
|
257 |
select CRYPTO_MANAGER |
23e353c8a
|
258 |
help |
584fffc8b
|
259 260 |
HMAC: Keyed-Hashing for Message Authentication (RFC2104). This is required for IPSec. |
23e353c8a
|
261 |
|
584fffc8b
|
262 263 264 265 266 |
config CRYPTO_XCBC tristate "XCBC support" depends on EXPERIMENTAL select CRYPTO_HASH select CRYPTO_MANAGER |
76cb95217
|
267 |
help |
584fffc8b
|
268 269 270 271 |
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
|
272 |
|
f1939f7c5
|
273 274 275 276 277 278 279 280 281 282 283 |
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
|
284 |
comment "Digest" |
28db8e3e3
|
285 |
|
584fffc8b
|
286 287 |
config CRYPTO_CRC32C tristate "CRC32c CRC algorithm" |
5773a3e6e
|
288 |
select CRYPTO_HASH |
4a49b499d
|
289 |
help |
584fffc8b
|
290 291 |
Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used by iSCSI for header and data digests and by others. |
69c35efcf
|
292 |
See Castagnoli93. Module will be crc32c. |
4a49b499d
|
293 |
|
8cb51ba8e
|
294 295 296 297 298 299 300 301 302 303 304 |
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
|
305 306 307 308 309 310 |
config CRYPTO_GHASH tristate "GHASH digest algorithm" select CRYPTO_SHASH select CRYPTO_GF128MUL help GHASH is message digest algorithm for GCM (Galois/Counter Mode). |
584fffc8b
|
311 312 |
config CRYPTO_MD4 tristate "MD4 digest algorithm" |
808a1763c
|
313 |
select CRYPTO_HASH |
124b53d02
|
314 |
help |
584fffc8b
|
315 |
MD4 message digest algorithm (RFC1320). |
124b53d02
|
316 |
|
584fffc8b
|
317 318 |
config CRYPTO_MD5 tristate "MD5 digest algorithm" |
14b75ba70
|
319 |
select CRYPTO_HASH |
1da177e4c
|
320 |
help |
584fffc8b
|
321 |
MD5 message digest algorithm (RFC1321). |
1da177e4c
|
322 |
|
584fffc8b
|
323 324 |
config CRYPTO_MICHAEL_MIC tristate "Michael MIC keyed digest algorithm" |
19e2bf146
|
325 |
select CRYPTO_HASH |
90831639a
|
326 |
help |
584fffc8b
|
327 328 329 330 |
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
|
331 |
|
82798f90f
|
332 |
config CRYPTO_RMD128 |
b6d443418
|
333 |
tristate "RIPEMD-128 digest algorithm" |
7c4468bc0
|
334 |
select CRYPTO_HASH |
b6d443418
|
335 336 |
help RIPEMD-128 (ISO/IEC 10118-3:2004). |
82798f90f
|
337 |
|
b6d443418
|
338 339 340 |
RIPEMD-128 is a 128-bit cryptographic hash function. It should only to be used as a secure replacement for RIPEMD. For other use cases RIPEMD-160 should be used. |
82798f90f
|
341 |
|
b6d443418
|
342 343 |
Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html> |
82798f90f
|
344 345 |
config CRYPTO_RMD160 |
b6d443418
|
346 |
tristate "RIPEMD-160 digest algorithm" |
e5835fba0
|
347 |
select CRYPTO_HASH |
b6d443418
|
348 349 |
help RIPEMD-160 (ISO/IEC 10118-3:2004). |
82798f90f
|
350 |
|
b6d443418
|
351 352 353 354 |
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
|
355 |
|
b6d443418
|
356 357 |
It's speed is comparable to SHA1 and there are no known attacks against RIPEMD-160. |
534fe2c1c
|
358 |
|
b6d443418
|
359 360 |
Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html> |
534fe2c1c
|
361 362 |
config CRYPTO_RMD256 |
b6d443418
|
363 |
tristate "RIPEMD-256 digest algorithm" |
d8a5e2e9f
|
364 |
select CRYPTO_HASH |
b6d443418
|
365 366 367 368 369 |
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
|
370 |
|
b6d443418
|
371 372 |
Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html> |
534fe2c1c
|
373 374 |
config CRYPTO_RMD320 |
b6d443418
|
375 |
tristate "RIPEMD-320 digest algorithm" |
3b8efb4c4
|
376 |
select CRYPTO_HASH |
b6d443418
|
377 378 379 380 381 |
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
|
382 |
|
b6d443418
|
383 384 |
Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html> |
82798f90f
|
385 |
|
584fffc8b
|
386 387 |
config CRYPTO_SHA1 tristate "SHA1 digest algorithm" |
54ccb3677
|
388 |
select CRYPTO_HASH |
1da177e4c
|
389 |
help |
584fffc8b
|
390 |
SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). |
1da177e4c
|
391 |
|
584fffc8b
|
392 393 |
config CRYPTO_SHA256 tristate "SHA224 and SHA256 digest algorithm" |
50e109b5b
|
394 |
select CRYPTO_HASH |
1da177e4c
|
395 |
help |
584fffc8b
|
396 |
SHA256 secure hash standard (DFIPS 180-2). |
1da177e4c
|
397 |
|
584fffc8b
|
398 399 |
This version of SHA implements a 256 bit hash with 128 bits of security against collision attacks. |
2729bb427
|
400 |
|
b6d443418
|
401 402 |
This code also includes SHA-224, a 224 bit hash with 112 bits of security against collision attacks. |
584fffc8b
|
403 404 405 |
config CRYPTO_SHA512 tristate "SHA384 and SHA512 digest algorithms" |
bd9d20dba
|
406 |
select CRYPTO_HASH |
b9f535ffe
|
407 |
help |
584fffc8b
|
408 |
SHA512 secure hash standard (DFIPS 180-2). |
b9f535ffe
|
409 |
|
584fffc8b
|
410 411 |
This version of SHA implements a 512 bit hash with 256 bits of security against collision attacks. |
b9f535ffe
|
412 |
|
584fffc8b
|
413 414 |
This code also includes SHA-384, a 384 bit hash with 192 bits of security against collision attacks. |
b9f535ffe
|
415 |
|
584fffc8b
|
416 417 |
config CRYPTO_TGR192 tristate "Tiger digest algorithms" |
f63fbd3d5
|
418 |
select CRYPTO_HASH |
eaf44088f
|
419 |
help |
584fffc8b
|
420 |
Tiger hash algorithm 192, 160 and 128-bit hashes |
eaf44088f
|
421 |
|
584fffc8b
|
422 423 424 |
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
|
425 426 |
See also: |
584fffc8b
|
427 |
<http://www.cs.technion.ac.il/~biham/Reports/Tiger/>. |
eaf44088f
|
428 |
|
584fffc8b
|
429 430 |
config CRYPTO_WP512 tristate "Whirlpool digest algorithms" |
4946510ba
|
431 |
select CRYPTO_HASH |
1da177e4c
|
432 |
help |
584fffc8b
|
433 |
Whirlpool hash algorithm 512, 384 and 256-bit hashes |
1da177e4c
|
434 |
|
584fffc8b
|
435 436 |
Whirlpool-512 is part of the NESSIE cryptographic primitives. Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard |
1da177e4c
|
437 438 |
See also: |
584fffc8b
|
439 |
<http://planeta.terra.com.br/informatica/paulobarreto/WhirlpoolPage.html> |
0e1227d35
|
440 441 |
config CRYPTO_GHASH_CLMUL_NI_INTEL tristate "GHASH digest algorithm (CLMUL-NI accelerated)" |
3e02e5cb4
|
442 |
depends on (X86 || UML_X86) && 64BIT |
0e1227d35
|
443 444 445 446 447 |
select CRYPTO_SHASH select CRYPTO_CRYPTD help GHASH is message digest algorithm for GCM (Galois/Counter Mode). The implementation is accelerated by CLMUL-NI of Intel. |
584fffc8b
|
448 |
comment "Ciphers" |
1da177e4c
|
449 450 451 |
config CRYPTO_AES tristate "AES cipher algorithms" |
cce9e06d1
|
452 |
select CRYPTO_ALGAPI |
1da177e4c
|
453 |
help |
584fffc8b
|
454 |
AES cipher algorithms (FIPS-197). AES uses the Rijndael |
1da177e4c
|
455 456 457 |
algorithm. Rijndael appears to be consistently a very good performer in |
584fffc8b
|
458 459 460 461 462 463 464 |
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
|
465 |
|
584fffc8b
|
466 |
The AES specifies three key sizes: 128, 192 and 256 bits |
1da177e4c
|
467 468 469 470 471 |
See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information. config CRYPTO_AES_586 tristate "AES cipher algorithms (i586)" |
cce9e06d1
|
472 473 |
depends on (X86 || UML_X86) && !64BIT select CRYPTO_ALGAPI |
5157dea81
|
474 |
select CRYPTO_AES |
1da177e4c
|
475 |
help |
584fffc8b
|
476 |
AES cipher algorithms (FIPS-197). AES uses the Rijndael |
1da177e4c
|
477 478 479 |
algorithm. Rijndael appears to be consistently a very good performer in |
584fffc8b
|
480 481 482 483 484 485 486 |
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
|
487 |
|
584fffc8b
|
488 |
The AES specifies three key sizes: 128, 192 and 256 bits |
a2a892a23
|
489 490 491 492 493 |
See <http://csrc.nist.gov/encryption/aes/> for more information. config CRYPTO_AES_X86_64 tristate "AES cipher algorithms (x86_64)" |
cce9e06d1
|
494 495 |
depends on (X86 || UML_X86) && 64BIT select CRYPTO_ALGAPI |
81190b321
|
496 |
select CRYPTO_AES |
a2a892a23
|
497 |
help |
584fffc8b
|
498 |
AES cipher algorithms (FIPS-197). AES uses the Rijndael |
a2a892a23
|
499 500 501 |
algorithm. Rijndael appears to be consistently a very good performer in |
584fffc8b
|
502 503 504 |
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
|
505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 |
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)" depends on (X86 || UML_X86) && 64BIT select CRYPTO_AES_X86_64 select CRYPTO_CRYPTD select CRYPTO_ALGAPI |
2cf4ac8be
|
520 |
select CRYPTO_FPU |
54b6a1bd5
|
521 522 523 524 525 526 527 528 529 530 |
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
|
531 532 533 534 |
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
|
535 |
|
584fffc8b
|
536 |
The AES specifies three key sizes: 128, 192 and 256 bits |
1da177e4c
|
537 538 |
See <http://csrc.nist.gov/encryption/aes/> for more information. |
2cf4ac8be
|
539 540 541 |
In addition to AES cipher algorithm support, the acceleration for some popular block cipher mode is supported too, including ECB, CBC, CTR, LRW, PCBC, XTS. |
584fffc8b
|
542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 |
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: <https://www.cosic.esat.kuleuven.ac.be/nessie/reports/> <http://planeta.terra.com.br/informatica/paulobarreto/AnubisPage.html> config CRYPTO_ARC4 tristate "ARC4 cipher algorithm" select CRYPTO_ALGAPI 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 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> 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> |
1da177e4c
|
594 595 |
config CRYPTO_CAST5 tristate "CAST5 (CAST-128) cipher algorithm" |
cce9e06d1
|
596 |
select CRYPTO_ALGAPI |
1da177e4c
|
597 598 599 600 601 602 |
help The CAST5 encryption algorithm (synonymous with CAST-128) is described in RFC2144. config CRYPTO_CAST6 tristate "CAST6 (CAST-256) cipher algorithm" |
cce9e06d1
|
603 |
select CRYPTO_ALGAPI |
1da177e4c
|
604 605 606 |
help The CAST6 encryption algorithm (synonymous with CAST-256) is described in RFC2612. |
584fffc8b
|
607 608 |
config CRYPTO_DES tristate "DES and Triple DES EDE cipher algorithms" |
cce9e06d1
|
609 |
select CRYPTO_ALGAPI |
1da177e4c
|
610 |
help |
584fffc8b
|
611 |
DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3). |
fb4f10ed5
|
612 |
|
584fffc8b
|
613 614 |
config CRYPTO_FCRYPT tristate "FCrypt cipher algorithm" |
cce9e06d1
|
615 |
select CRYPTO_ALGAPI |
584fffc8b
|
616 |
select CRYPTO_BLKCIPHER |
1da177e4c
|
617 |
help |
584fffc8b
|
618 |
FCrypt algorithm used by RxRPC. |
1da177e4c
|
619 620 621 |
config CRYPTO_KHAZAD tristate "Khazad cipher algorithm" |
cce9e06d1
|
622 |
select CRYPTO_ALGAPI |
1da177e4c
|
623 624 625 626 627 628 629 630 631 |
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: <http://planeta.terra.com.br/informatica/paulobarreto/KhazadPage.html> |
2407d6087
|
632 633 634 635 636 637 638 639 640 |
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
|
641 642 643 644 645 646 647 648 649 |
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
|
650 651 652 653 654 |
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
|
655 656 657 658 659 660 661 662 663 |
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
|
664 665 666 667 668 |
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
|
669 670 671 |
The Salsa20 stream cipher algorithm is designed by Daniel J. Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> |
1da177e4c
|
672 |
|
584fffc8b
|
673 674 |
config CRYPTO_SEED tristate "SEED cipher algorithm" |
cce9e06d1
|
675 |
select CRYPTO_ALGAPI |
1da177e4c
|
676 |
help |
584fffc8b
|
677 |
SEED cipher algorithm (RFC4269). |
1da177e4c
|
678 |
|
584fffc8b
|
679 680 681 682 683 684 685 686 687 688 |
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
|
689 |
select CRYPTO_ALGAPI |
1da177e4c
|
690 |
help |
584fffc8b
|
691 |
Serpent cipher algorithm, by Anderson, Biham & Knudsen. |
1da177e4c
|
692 |
|
584fffc8b
|
693 694 695 696 697 698 699 700 701 |
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> config CRYPTO_TEA tristate "TEA, XTEA and XETA cipher algorithms" |
cce9e06d1
|
702 |
select CRYPTO_ALGAPI |
1da177e4c
|
703 |
help |
584fffc8b
|
704 |
TEA cipher algorithm. |
1da177e4c
|
705 |
|
584fffc8b
|
706 707 708 709 710 711 712 713 714 715 716 717 718 |
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
|
719 |
select CRYPTO_ALGAPI |
584fffc8b
|
720 |
select CRYPTO_TWOFISH_COMMON |
04ac7db3f
|
721 |
help |
584fffc8b
|
722 |
Twofish cipher algorithm. |
04ac7db3f
|
723 |
|
584fffc8b
|
724 725 726 727 |
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
|
728 |
|
584fffc8b
|
729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 |
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
|
750 751 |
See also: |
584fffc8b
|
752 |
<http://www.schneier.com/twofish.html> |
04ac7db3f
|
753 |
|
584fffc8b
|
754 755 756 |
config CRYPTO_TWOFISH_X86_64 tristate "Twofish cipher algorithm (x86_64)" depends on (X86 || UML_X86) && 64BIT |
cce9e06d1
|
757 |
select CRYPTO_ALGAPI |
584fffc8b
|
758 |
select CRYPTO_TWOFISH_COMMON |
1da177e4c
|
759 |
help |
584fffc8b
|
760 |
Twofish cipher algorithm (x86_64). |
1da177e4c
|
761 |
|
584fffc8b
|
762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 |
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> comment "Compression" config CRYPTO_DEFLATE tristate "Deflate compression algorithm" select CRYPTO_ALGAPI select ZLIB_INFLATE select ZLIB_DEFLATE |
3c09f17c3
|
777 |
help |
584fffc8b
|
778 779 780 781 |
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
|
782 |
|
bf68e65ec
|
783 784 785 786 787 788 789 790 |
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
|
791 792 793 794 795 796 797 |
config CRYPTO_LZO tristate "LZO compression algorithm" select CRYPTO_ALGAPI select LZO_COMPRESS select LZO_DECOMPRESS help This is the LZO algorithm. |
17f0f4a47
|
798 799 800 801 |
comment "Random Number Generation" config CRYPTO_ANSI_CPRNG tristate "Pseudo Random Number Generation for Cryptographic modules" |
4e4ed83be
|
802 |
default m |
17f0f4a47
|
803 804 |
select CRYPTO_AES select CRYPTO_RNG |
17f0f4a47
|
805 806 807 |
help This option enables the generic pseudo random number generator for cryptographic modules. Uses the Algorithm specified in |
7dd607e82
|
808 809 |
ANSI X9.31 A.2.4. Note that this option must be enabled if CRYPTO_FIPS is selected |
17f0f4a47
|
810 |
|
1da177e4c
|
811 |
source "drivers/crypto/Kconfig" |
1da177e4c
|
812 |
|
cce9e06d1
|
813 |
endif # if CRYPTO |