]>
Commit | Line | Data |
---|---|---|
685784aa DW |
1 | # |
2 | # Generic algorithms support | |
3 | # | |
4 | config XOR_BLOCKS | |
5 | tristate | |
6 | ||
1da177e4 | 7 | # |
9bc89cd8 | 8 | # async_tx api: hardware offloaded memory transfer/transform support |
1da177e4 | 9 | # |
9bc89cd8 | 10 | source "crypto/async_tx/Kconfig" |
1da177e4 | 11 | |
9bc89cd8 DW |
12 | # |
13 | # Cryptographic API Configuration | |
14 | # | |
2e290f43 | 15 | menuconfig CRYPTO |
c3715cb9 | 16 | tristate "Cryptographic API" |
1da177e4 LT |
17 | help |
18 | This option provides the core Cryptographic API. | |
19 | ||
cce9e06d HX |
20 | if CRYPTO |
21 | ||
584fffc8 SS |
22 | comment "Crypto core or helper" |
23 | ||
ccb778e1 NH |
24 | config CRYPTO_FIPS |
25 | bool "FIPS 200 compliance" | |
f2c89a10 | 26 | depends on (CRYPTO_ANSI_CPRNG || CRYPTO_DRBG) && !CRYPTO_MANAGER_DISABLE_TESTS |
002c77a4 | 27 | depends on MODULE_SIG |
ccb778e1 NH |
28 | help |
29 | This options enables the fips boot option which is | |
30 | required if you want to system to operate in a FIPS 200 | |
31 | certification. You should say no unless you know what | |
e84c5480 | 32 | this is. |
ccb778e1 | 33 | |
cce9e06d HX |
34 | config CRYPTO_ALGAPI |
35 | tristate | |
6a0fcbb4 | 36 | select CRYPTO_ALGAPI2 |
cce9e06d HX |
37 | help |
38 | This option provides the API for cryptographic algorithms. | |
39 | ||
6a0fcbb4 HX |
40 | config CRYPTO_ALGAPI2 |
41 | tristate | |
42 | ||
1ae97820 HX |
43 | config CRYPTO_AEAD |
44 | tristate | |
6a0fcbb4 | 45 | select CRYPTO_AEAD2 |
1ae97820 HX |
46 | select CRYPTO_ALGAPI |
47 | ||
6a0fcbb4 HX |
48 | config CRYPTO_AEAD2 |
49 | tristate | |
50 | select CRYPTO_ALGAPI2 | |
51 | ||
5cde0af2 HX |
52 | config CRYPTO_BLKCIPHER |
53 | tristate | |
6a0fcbb4 | 54 | select CRYPTO_BLKCIPHER2 |
5cde0af2 | 55 | select CRYPTO_ALGAPI |
6a0fcbb4 HX |
56 | |
57 | config CRYPTO_BLKCIPHER2 | |
58 | tristate | |
59 | select CRYPTO_ALGAPI2 | |
60 | select CRYPTO_RNG2 | |
0a2e821d | 61 | select CRYPTO_WORKQUEUE |
5cde0af2 | 62 | |
055bcee3 HX |
63 | config CRYPTO_HASH |
64 | tristate | |
6a0fcbb4 | 65 | select CRYPTO_HASH2 |
055bcee3 HX |
66 | select CRYPTO_ALGAPI |
67 | ||
6a0fcbb4 HX |
68 | config CRYPTO_HASH2 |
69 | tristate | |
70 | select CRYPTO_ALGAPI2 | |
71 | ||
17f0f4a4 NH |
72 | config CRYPTO_RNG |
73 | tristate | |
6a0fcbb4 | 74 | select CRYPTO_RNG2 |
17f0f4a4 NH |
75 | select CRYPTO_ALGAPI |
76 | ||
6a0fcbb4 HX |
77 | config CRYPTO_RNG2 |
78 | tristate | |
79 | select CRYPTO_ALGAPI2 | |
80 | ||
401e4238 HX |
81 | config CRYPTO_RNG_DEFAULT |
82 | tristate | |
83 | select CRYPTO_DRBG_MENU | |
84 | ||
a1d2f095 | 85 | config CRYPTO_PCOMP |
bc94e596 HX |
86 | tristate |
87 | select CRYPTO_PCOMP2 | |
88 | select CRYPTO_ALGAPI | |
89 | ||
90 | config CRYPTO_PCOMP2 | |
a1d2f095 GU |
91 | tristate |
92 | select CRYPTO_ALGAPI2 | |
93 | ||
3c339ab8 TS |
94 | config CRYPTO_AKCIPHER2 |
95 | tristate | |
96 | select CRYPTO_ALGAPI2 | |
97 | ||
98 | config CRYPTO_AKCIPHER | |
99 | tristate | |
100 | select CRYPTO_AKCIPHER2 | |
101 | select CRYPTO_ALGAPI | |
102 | ||
cfc2bb32 TS |
103 | config CRYPTO_RSA |
104 | tristate "RSA algorithm" | |
425e0172 | 105 | select CRYPTO_AKCIPHER |
cfc2bb32 TS |
106 | select MPILIB |
107 | select ASN1 | |
108 | help | |
109 | Generic implementation of the RSA public key algorithm. | |
110 | ||
2b8c19db HX |
111 | config CRYPTO_MANAGER |
112 | tristate "Cryptographic algorithm manager" | |
6a0fcbb4 | 113 | select CRYPTO_MANAGER2 |
2b8c19db HX |
114 | help |
115 | Create default cryptographic template instantiations such as | |
116 | cbc(aes). | |
117 | ||
6a0fcbb4 HX |
118 | config CRYPTO_MANAGER2 |
119 | def_tristate CRYPTO_MANAGER || (CRYPTO_MANAGER!=n && CRYPTO_ALGAPI=y) | |
120 | select CRYPTO_AEAD2 | |
121 | select CRYPTO_HASH2 | |
122 | select CRYPTO_BLKCIPHER2 | |
bc94e596 | 123 | select CRYPTO_PCOMP2 |
946cc463 | 124 | select CRYPTO_AKCIPHER2 |
6a0fcbb4 | 125 | |
a38f7907 SK |
126 | config CRYPTO_USER |
127 | tristate "Userspace cryptographic algorithm configuration" | |
5db017aa | 128 | depends on NET |
a38f7907 SK |
129 | select CRYPTO_MANAGER |
130 | help | |
d19978f5 | 131 | Userspace configuration for cryptographic instantiations such as |
a38f7907 SK |
132 | cbc(aes). |
133 | ||
326a6346 HX |
134 | config CRYPTO_MANAGER_DISABLE_TESTS |
135 | bool "Disable run-time self tests" | |
00ca28a5 HX |
136 | default y |
137 | depends on CRYPTO_MANAGER2 | |
0b767f96 | 138 | help |
326a6346 HX |
139 | Disable run-time self tests that normally take place at |
140 | algorithm registration. | |
0b767f96 | 141 | |
584fffc8 | 142 | config CRYPTO_GF128MUL |
08c70fc3 | 143 | tristate "GF(2^128) multiplication functions" |
333b0d7e | 144 | help |
584fffc8 SS |
145 | Efficient table driven implementation of multiplications in the |
146 | field GF(2^128). This is needed by some cypher modes. This | |
147 | option will be selected automatically if you select such a | |
148 | cipher mode. Only select this option by hand if you expect to load | |
149 | an external module that requires these functions. | |
333b0d7e | 150 | |
1da177e4 LT |
151 | config CRYPTO_NULL |
152 | tristate "Null algorithms" | |
cce9e06d | 153 | select CRYPTO_ALGAPI |
c8620c25 | 154 | select CRYPTO_BLKCIPHER |
d35d2454 | 155 | select CRYPTO_HASH |
1da177e4 LT |
156 | help |
157 | These are 'Null' algorithms, used by IPsec, which do nothing. | |
158 | ||
5068c7a8 | 159 | config CRYPTO_PCRYPT |
3b4afaf2 KC |
160 | tristate "Parallel crypto engine" |
161 | depends on SMP | |
5068c7a8 SK |
162 | select PADATA |
163 | select CRYPTO_MANAGER | |
164 | select CRYPTO_AEAD | |
165 | help | |
166 | This converts an arbitrary crypto algorithm into a parallel | |
167 | algorithm that executes in kernel threads. | |
168 | ||
25c38d3f HY |
169 | config CRYPTO_WORKQUEUE |
170 | tristate | |
171 | ||
584fffc8 SS |
172 | config CRYPTO_CRYPTD |
173 | tristate "Software async crypto daemon" | |
174 | select CRYPTO_BLKCIPHER | |
b8a28251 | 175 | select CRYPTO_HASH |
584fffc8 | 176 | select CRYPTO_MANAGER |
254eff77 | 177 | select CRYPTO_WORKQUEUE |
1da177e4 | 178 | help |
584fffc8 SS |
179 | This is a generic software asynchronous crypto daemon that |
180 | converts an arbitrary synchronous software crypto algorithm | |
181 | into an asynchronous algorithm that executes in a kernel thread. | |
1da177e4 | 182 | |
1e65b81a TC |
183 | config CRYPTO_MCRYPTD |
184 | tristate "Software async multi-buffer crypto daemon" | |
185 | select CRYPTO_BLKCIPHER | |
186 | select CRYPTO_HASH | |
187 | select CRYPTO_MANAGER | |
188 | select CRYPTO_WORKQUEUE | |
189 | help | |
190 | This is a generic software asynchronous crypto daemon that | |
191 | provides the kernel thread to assist multi-buffer crypto | |
192 | algorithms for submitting jobs and flushing jobs in multi-buffer | |
193 | crypto algorithms. Multi-buffer crypto algorithms are executed | |
194 | in the context of this kernel thread and drivers can post | |
0e56673b | 195 | their crypto request asynchronously to be processed by this daemon. |
1e65b81a | 196 | |
584fffc8 SS |
197 | config CRYPTO_AUTHENC |
198 | tristate "Authenc support" | |
199 | select CRYPTO_AEAD | |
200 | select CRYPTO_BLKCIPHER | |
201 | select CRYPTO_MANAGER | |
202 | select CRYPTO_HASH | |
e94c6a7a | 203 | select CRYPTO_NULL |
1da177e4 | 204 | help |
584fffc8 SS |
205 | Authenc: Combined mode wrapper for IPsec. |
206 | This is required for IPSec. | |
1da177e4 | 207 | |
584fffc8 SS |
208 | config CRYPTO_TEST |
209 | tristate "Testing module" | |
210 | depends on m | |
da7f033d | 211 | select CRYPTO_MANAGER |
1da177e4 | 212 | help |
584fffc8 | 213 | Quick & dirty crypto test module. |
1da177e4 | 214 | |
a62b01cd | 215 | config CRYPTO_ABLK_HELPER |
ffaf9156 | 216 | tristate |
ffaf9156 JK |
217 | select CRYPTO_CRYPTD |
218 | ||
596d8750 JK |
219 | config CRYPTO_GLUE_HELPER_X86 |
220 | tristate | |
221 | depends on X86 | |
222 | select CRYPTO_ALGAPI | |
223 | ||
584fffc8 | 224 | comment "Authenticated Encryption with Associated Data" |
cd12fb90 | 225 | |
584fffc8 SS |
226 | config CRYPTO_CCM |
227 | tristate "CCM support" | |
228 | select CRYPTO_CTR | |
229 | select CRYPTO_AEAD | |
1da177e4 | 230 | help |
584fffc8 | 231 | Support for Counter with CBC MAC. Required for IPsec. |
1da177e4 | 232 | |
584fffc8 SS |
233 | config CRYPTO_GCM |
234 | tristate "GCM/GMAC support" | |
235 | select CRYPTO_CTR | |
236 | select CRYPTO_AEAD | |
9382d97a | 237 | select CRYPTO_GHASH |
9489667d | 238 | select CRYPTO_NULL |
1da177e4 | 239 | help |
584fffc8 SS |
240 | Support for Galois/Counter Mode (GCM) and Galois Message |
241 | Authentication Code (GMAC). Required for IPSec. | |
1da177e4 | 242 | |
71ebc4d1 MW |
243 | config CRYPTO_CHACHA20POLY1305 |
244 | tristate "ChaCha20-Poly1305 AEAD support" | |
245 | select CRYPTO_CHACHA20 | |
246 | select CRYPTO_POLY1305 | |
247 | select CRYPTO_AEAD | |
248 | help | |
249 | ChaCha20-Poly1305 AEAD support, RFC7539. | |
250 | ||
251 | Support for the AEAD wrapper using the ChaCha20 stream cipher combined | |
252 | with the Poly1305 authenticator. It is defined in RFC7539 for use in | |
253 | IETF protocols. | |
254 | ||
584fffc8 SS |
255 | config CRYPTO_SEQIV |
256 | tristate "Sequence Number IV Generator" | |
257 | select CRYPTO_AEAD | |
258 | select CRYPTO_BLKCIPHER | |
856e3f40 | 259 | select CRYPTO_NULL |
401e4238 | 260 | select CRYPTO_RNG_DEFAULT |
1da177e4 | 261 | help |
584fffc8 SS |
262 | This IV generator generates an IV based on a sequence number by |
263 | xoring it with a salt. This algorithm is mainly useful for CTR | |
1da177e4 | 264 | |
a10f554f HX |
265 | config CRYPTO_ECHAINIV |
266 | tristate "Encrypted Chain IV Generator" | |
267 | select CRYPTO_AEAD | |
268 | select CRYPTO_NULL | |
401e4238 | 269 | select CRYPTO_RNG_DEFAULT |
3491244c | 270 | default m |
a10f554f HX |
271 | help |
272 | This IV generator generates an IV based on the encryption of | |
273 | a sequence number xored with a salt. This is the default | |
274 | algorithm for CBC. | |
275 | ||
584fffc8 | 276 | comment "Block modes" |
c494e070 | 277 | |
584fffc8 SS |
278 | config CRYPTO_CBC |
279 | tristate "CBC support" | |
db131ef9 | 280 | select CRYPTO_BLKCIPHER |
43518407 | 281 | select CRYPTO_MANAGER |
db131ef9 | 282 | help |
584fffc8 SS |
283 | CBC: Cipher Block Chaining mode |
284 | This block cipher algorithm is required for IPSec. | |
db131ef9 | 285 | |
584fffc8 SS |
286 | config CRYPTO_CTR |
287 | tristate "CTR support" | |
db131ef9 | 288 | select CRYPTO_BLKCIPHER |
584fffc8 | 289 | select CRYPTO_SEQIV |
43518407 | 290 | select CRYPTO_MANAGER |
db131ef9 | 291 | help |
584fffc8 | 292 | CTR: Counter mode |
db131ef9 HX |
293 | This block cipher algorithm is required for IPSec. |
294 | ||
584fffc8 SS |
295 | config CRYPTO_CTS |
296 | tristate "CTS support" | |
297 | select CRYPTO_BLKCIPHER | |
298 | help | |
299 | CTS: Cipher Text Stealing | |
300 | This is the Cipher Text Stealing mode as described by | |
301 | Section 8 of rfc2040 and referenced by rfc3962. | |
302 | (rfc3962 includes errata information in its Appendix A) | |
303 | This mode is required for Kerberos gss mechanism support | |
304 | for AES encryption. | |
305 | ||
306 | config CRYPTO_ECB | |
307 | tristate "ECB support" | |
91652be5 DH |
308 | select CRYPTO_BLKCIPHER |
309 | select CRYPTO_MANAGER | |
91652be5 | 310 | help |
584fffc8 SS |
311 | ECB: Electronic CodeBook mode |
312 | This is the simplest block cipher algorithm. It simply encrypts | |
313 | the input block by block. | |
91652be5 | 314 | |
64470f1b | 315 | config CRYPTO_LRW |
2470a2b2 | 316 | tristate "LRW support" |
64470f1b RS |
317 | select CRYPTO_BLKCIPHER |
318 | select CRYPTO_MANAGER | |
319 | select CRYPTO_GF128MUL | |
320 | help | |
321 | LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable | |
322 | narrow block cipher mode for dm-crypt. Use it with cipher | |
323 | specification string aes-lrw-benbi, the key must be 256, 320 or 384. | |
324 | The first 128, 192 or 256 bits in the key are used for AES and the | |
325 | rest is used to tie each cipher block to its logical position. | |
326 | ||
584fffc8 SS |
327 | config CRYPTO_PCBC |
328 | tristate "PCBC support" | |
329 | select CRYPTO_BLKCIPHER | |
330 | select CRYPTO_MANAGER | |
331 | help | |
332 | PCBC: Propagating Cipher Block Chaining mode | |
333 | This block cipher algorithm is required for RxRPC. | |
334 | ||
f19f5111 | 335 | config CRYPTO_XTS |
5bcf8e6d | 336 | tristate "XTS support" |
f19f5111 RS |
337 | select CRYPTO_BLKCIPHER |
338 | select CRYPTO_MANAGER | |
339 | select CRYPTO_GF128MUL | |
340 | help | |
341 | XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain, | |
342 | key size 256, 384 or 512 bits. This implementation currently | |
343 | can't handle a sectorsize which is not a multiple of 16 bytes. | |
344 | ||
584fffc8 SS |
345 | comment "Hash modes" |
346 | ||
93b5e86a JK |
347 | config CRYPTO_CMAC |
348 | tristate "CMAC support" | |
349 | select CRYPTO_HASH | |
350 | select CRYPTO_MANAGER | |
351 | help | |
352 | Cipher-based Message Authentication Code (CMAC) specified by | |
353 | The National Institute of Standards and Technology (NIST). | |
354 | ||
355 | https://tools.ietf.org/html/rfc4493 | |
356 | http://csrc.nist.gov/publications/nistpubs/800-38B/SP_800-38B.pdf | |
357 | ||
584fffc8 SS |
358 | config CRYPTO_HMAC |
359 | tristate "HMAC support" | |
360 | select CRYPTO_HASH | |
23e353c8 | 361 | select CRYPTO_MANAGER |
23e353c8 | 362 | help |
584fffc8 SS |
363 | HMAC: Keyed-Hashing for Message Authentication (RFC2104). |
364 | This is required for IPSec. | |
23e353c8 | 365 | |
584fffc8 SS |
366 | config CRYPTO_XCBC |
367 | tristate "XCBC support" | |
584fffc8 SS |
368 | select CRYPTO_HASH |
369 | select CRYPTO_MANAGER | |
76cb9521 | 370 | help |
584fffc8 SS |
371 | XCBC: Keyed-Hashing with encryption algorithm |
372 | http://www.ietf.org/rfc/rfc3566.txt | |
373 | http://csrc.nist.gov/encryption/modes/proposedmodes/ | |
374 | xcbc-mac/xcbc-mac-spec.pdf | |
76cb9521 | 375 | |
f1939f7c SW |
376 | config CRYPTO_VMAC |
377 | tristate "VMAC support" | |
f1939f7c SW |
378 | select CRYPTO_HASH |
379 | select CRYPTO_MANAGER | |
380 | help | |
381 | VMAC is a message authentication algorithm designed for | |
382 | very high speed on 64-bit architectures. | |
383 | ||
384 | See also: | |
385 | <http://fastcrypto.org/vmac> | |
386 | ||
584fffc8 | 387 | comment "Digest" |
28db8e3e | 388 | |
584fffc8 SS |
389 | config CRYPTO_CRC32C |
390 | tristate "CRC32c CRC algorithm" | |
5773a3e6 | 391 | select CRYPTO_HASH |
6a0962b2 | 392 | select CRC32 |
4a49b499 | 393 | help |
584fffc8 SS |
394 | Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used |
395 | by iSCSI for header and data digests and by others. | |
69c35efc | 396 | See Castagnoli93. Module will be crc32c. |
4a49b499 | 397 | |
8cb51ba8 AZ |
398 | config CRYPTO_CRC32C_INTEL |
399 | tristate "CRC32c INTEL hardware acceleration" | |
400 | depends on X86 | |
401 | select CRYPTO_HASH | |
402 | help | |
403 | In Intel processor with SSE4.2 supported, the processor will | |
404 | support CRC32C implementation using hardware accelerated CRC32 | |
405 | instruction. This option will create 'crc32c-intel' module, | |
406 | which will enable any routine to use the CRC32 instruction to | |
407 | gain performance compared with software implementation. | |
408 | Module will be crc32c-intel. | |
409 | ||
442a7c40 DM |
410 | config CRYPTO_CRC32C_SPARC64 |
411 | tristate "CRC32c CRC algorithm (SPARC64)" | |
412 | depends on SPARC64 | |
413 | select CRYPTO_HASH | |
414 | select CRC32 | |
415 | help | |
416 | CRC32c CRC algorithm implemented using sparc64 crypto instructions, | |
417 | when available. | |
418 | ||
78c37d19 AB |
419 | config CRYPTO_CRC32 |
420 | tristate "CRC32 CRC algorithm" | |
421 | select CRYPTO_HASH | |
422 | select CRC32 | |
423 | help | |
424 | CRC-32-IEEE 802.3 cyclic redundancy-check algorithm. | |
425 | Shash crypto api wrappers to crc32_le function. | |
426 | ||
427 | config CRYPTO_CRC32_PCLMUL | |
428 | tristate "CRC32 PCLMULQDQ hardware acceleration" | |
429 | depends on X86 | |
430 | select CRYPTO_HASH | |
431 | select CRC32 | |
432 | help | |
433 | From Intel Westmere and AMD Bulldozer processor with SSE4.2 | |
434 | and PCLMULQDQ supported, the processor will support | |
435 | CRC32 PCLMULQDQ implementation using hardware accelerated PCLMULQDQ | |
436 | instruction. This option will create 'crc32-plcmul' module, | |
437 | which will enable any routine to use the CRC-32-IEEE 802.3 checksum | |
438 | and gain better performance as compared with the table implementation. | |
439 | ||
68411521 HX |
440 | config CRYPTO_CRCT10DIF |
441 | tristate "CRCT10DIF algorithm" | |
442 | select CRYPTO_HASH | |
443 | help | |
444 | CRC T10 Data Integrity Field computation is being cast as | |
445 | a crypto transform. This allows for faster crc t10 diff | |
446 | transforms to be used if they are available. | |
447 | ||
448 | config CRYPTO_CRCT10DIF_PCLMUL | |
449 | tristate "CRCT10DIF PCLMULQDQ hardware acceleration" | |
450 | depends on X86 && 64BIT && CRC_T10DIF | |
451 | select CRYPTO_HASH | |
452 | help | |
453 | For x86_64 processors with SSE4.2 and PCLMULQDQ supported, | |
454 | CRC T10 DIF PCLMULQDQ computation can be hardware | |
455 | accelerated PCLMULQDQ instruction. This option will create | |
456 | 'crct10dif-plcmul' module, which is faster when computing the | |
457 | crct10dif checksum as compared with the generic table implementation. | |
458 | ||
2cdc6899 HY |
459 | config CRYPTO_GHASH |
460 | tristate "GHASH digest algorithm" | |
2cdc6899 HY |
461 | select CRYPTO_GF128MUL |
462 | help | |
463 | GHASH is message digest algorithm for GCM (Galois/Counter Mode). | |
464 | ||
f979e014 MW |
465 | config CRYPTO_POLY1305 |
466 | tristate "Poly1305 authenticator algorithm" | |
467 | help | |
468 | Poly1305 authenticator algorithm, RFC7539. | |
469 | ||
470 | Poly1305 is an authenticator algorithm designed by Daniel J. Bernstein. | |
471 | It is used for the ChaCha20-Poly1305 AEAD, specified in RFC7539 for use | |
472 | in IETF protocols. This is the portable C implementation of Poly1305. | |
473 | ||
c70f4abe | 474 | config CRYPTO_POLY1305_X86_64 |
b1ccc8f4 | 475 | tristate "Poly1305 authenticator algorithm (x86_64/SSE2/AVX2)" |
c70f4abe MW |
476 | depends on X86 && 64BIT |
477 | select CRYPTO_POLY1305 | |
478 | help | |
479 | Poly1305 authenticator algorithm, RFC7539. | |
480 | ||
481 | Poly1305 is an authenticator algorithm designed by Daniel J. Bernstein. | |
482 | It is used for the ChaCha20-Poly1305 AEAD, specified in RFC7539 for use | |
483 | in IETF protocols. This is the x86_64 assembler implementation using SIMD | |
484 | instructions. | |
485 | ||
584fffc8 SS |
486 | config CRYPTO_MD4 |
487 | tristate "MD4 digest algorithm" | |
808a1763 | 488 | select CRYPTO_HASH |
124b53d0 | 489 | help |
584fffc8 | 490 | MD4 message digest algorithm (RFC1320). |
124b53d0 | 491 | |
584fffc8 SS |
492 | config CRYPTO_MD5 |
493 | tristate "MD5 digest algorithm" | |
14b75ba7 | 494 | select CRYPTO_HASH |
1da177e4 | 495 | help |
584fffc8 | 496 | MD5 message digest algorithm (RFC1321). |
1da177e4 | 497 | |
d69e75de AK |
498 | config CRYPTO_MD5_OCTEON |
499 | tristate "MD5 digest algorithm (OCTEON)" | |
500 | depends on CPU_CAVIUM_OCTEON | |
501 | select CRYPTO_MD5 | |
502 | select CRYPTO_HASH | |
503 | help | |
504 | MD5 message digest algorithm (RFC1321) implemented | |
505 | using OCTEON crypto instructions, when available. | |
506 | ||
e8e59953 MS |
507 | config CRYPTO_MD5_PPC |
508 | tristate "MD5 digest algorithm (PPC)" | |
509 | depends on PPC | |
510 | select CRYPTO_HASH | |
511 | help | |
512 | MD5 message digest algorithm (RFC1321) implemented | |
513 | in PPC assembler. | |
514 | ||
fa4dfedc DM |
515 | config CRYPTO_MD5_SPARC64 |
516 | tristate "MD5 digest algorithm (SPARC64)" | |
517 | depends on SPARC64 | |
518 | select CRYPTO_MD5 | |
519 | select CRYPTO_HASH | |
520 | help | |
521 | MD5 message digest algorithm (RFC1321) implemented | |
522 | using sparc64 crypto instructions, when available. | |
523 | ||
584fffc8 SS |
524 | config CRYPTO_MICHAEL_MIC |
525 | tristate "Michael MIC keyed digest algorithm" | |
19e2bf14 | 526 | select CRYPTO_HASH |
90831639 | 527 | help |
584fffc8 SS |
528 | Michael MIC is used for message integrity protection in TKIP |
529 | (IEEE 802.11i). This algorithm is required for TKIP, but it | |
530 | should not be used for other purposes because of the weakness | |
531 | of the algorithm. | |
90831639 | 532 | |
82798f90 | 533 | config CRYPTO_RMD128 |
b6d44341 | 534 | tristate "RIPEMD-128 digest algorithm" |
7c4468bc | 535 | select CRYPTO_HASH |
b6d44341 AB |
536 | help |
537 | RIPEMD-128 (ISO/IEC 10118-3:2004). | |
82798f90 | 538 | |
b6d44341 | 539 | RIPEMD-128 is a 128-bit cryptographic hash function. It should only |
35ed4b35 | 540 | be used as a secure replacement for RIPEMD. For other use cases, |
b6d44341 | 541 | RIPEMD-160 should be used. |
82798f90 | 542 | |
b6d44341 | 543 | Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. |
6d8de74c | 544 | See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> |
82798f90 AKR |
545 | |
546 | config CRYPTO_RMD160 | |
b6d44341 | 547 | tristate "RIPEMD-160 digest algorithm" |
e5835fba | 548 | select CRYPTO_HASH |
b6d44341 AB |
549 | help |
550 | RIPEMD-160 (ISO/IEC 10118-3:2004). | |
82798f90 | 551 | |
b6d44341 AB |
552 | RIPEMD-160 is a 160-bit cryptographic hash function. It is intended |
553 | to be used as a secure replacement for the 128-bit hash functions | |
554 | MD4, MD5 and it's predecessor RIPEMD | |
555 | (not to be confused with RIPEMD-128). | |
82798f90 | 556 | |
b6d44341 AB |
557 | It's speed is comparable to SHA1 and there are no known attacks |
558 | against RIPEMD-160. | |
534fe2c1 | 559 | |
b6d44341 | 560 | Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. |
6d8de74c | 561 | See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> |
534fe2c1 AKR |
562 | |
563 | config CRYPTO_RMD256 | |
b6d44341 | 564 | tristate "RIPEMD-256 digest algorithm" |
d8a5e2e9 | 565 | select CRYPTO_HASH |
b6d44341 AB |
566 | help |
567 | RIPEMD-256 is an optional extension of RIPEMD-128 with a | |
568 | 256 bit hash. It is intended for applications that require | |
569 | longer hash-results, without needing a larger security level | |
570 | (than RIPEMD-128). | |
534fe2c1 | 571 | |
b6d44341 | 572 | Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. |
6d8de74c | 573 | See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> |
534fe2c1 AKR |
574 | |
575 | config CRYPTO_RMD320 | |
b6d44341 | 576 | tristate "RIPEMD-320 digest algorithm" |
3b8efb4c | 577 | select CRYPTO_HASH |
b6d44341 AB |
578 | help |
579 | RIPEMD-320 is an optional extension of RIPEMD-160 with a | |
580 | 320 bit hash. It is intended for applications that require | |
581 | longer hash-results, without needing a larger security level | |
582 | (than RIPEMD-160). | |
534fe2c1 | 583 | |
b6d44341 | 584 | Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. |
6d8de74c | 585 | See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> |
82798f90 | 586 | |
584fffc8 SS |
587 | config CRYPTO_SHA1 |
588 | tristate "SHA1 digest algorithm" | |
54ccb367 | 589 | select CRYPTO_HASH |
1da177e4 | 590 | help |
584fffc8 | 591 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). |
1da177e4 | 592 | |
66be8951 | 593 | config CRYPTO_SHA1_SSSE3 |
7c1da8d0 | 594 | tristate "SHA1 digest algorithm (SSSE3/AVX/AVX2)" |
66be8951 MK |
595 | depends on X86 && 64BIT |
596 | select CRYPTO_SHA1 | |
597 | select CRYPTO_HASH | |
598 | help | |
599 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented | |
600 | using Supplemental SSE3 (SSSE3) instructions or Advanced Vector | |
7c1da8d0 | 601 | Extensions (AVX/AVX2), when available. |
66be8951 | 602 | |
8275d1aa TC |
603 | config CRYPTO_SHA256_SSSE3 |
604 | tristate "SHA256 digest algorithm (SSSE3/AVX/AVX2)" | |
605 | depends on X86 && 64BIT | |
606 | select CRYPTO_SHA256 | |
607 | select CRYPTO_HASH | |
608 | help | |
609 | SHA-256 secure hash standard (DFIPS 180-2) implemented | |
610 | using Supplemental SSE3 (SSSE3) instructions, or Advanced Vector | |
611 | Extensions version 1 (AVX1), or Advanced Vector Extensions | |
87de4579 TC |
612 | version 2 (AVX2) instructions, when available. |
613 | ||
614 | config CRYPTO_SHA512_SSSE3 | |
615 | tristate "SHA512 digest algorithm (SSSE3/AVX/AVX2)" | |
616 | depends on X86 && 64BIT | |
617 | select CRYPTO_SHA512 | |
618 | select CRYPTO_HASH | |
619 | help | |
620 | SHA-512 secure hash standard (DFIPS 180-2) implemented | |
621 | using Supplemental SSE3 (SSSE3) instructions, or Advanced Vector | |
622 | Extensions version 1 (AVX1), or Advanced Vector Extensions | |
8275d1aa TC |
623 | version 2 (AVX2) instructions, when available. |
624 | ||
efdb6f6e AK |
625 | config CRYPTO_SHA1_OCTEON |
626 | tristate "SHA1 digest algorithm (OCTEON)" | |
627 | depends on CPU_CAVIUM_OCTEON | |
628 | select CRYPTO_SHA1 | |
629 | select CRYPTO_HASH | |
630 | help | |
631 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented | |
632 | using OCTEON crypto instructions, when available. | |
633 | ||
4ff28d4c DM |
634 | config CRYPTO_SHA1_SPARC64 |
635 | tristate "SHA1 digest algorithm (SPARC64)" | |
636 | depends on SPARC64 | |
637 | select CRYPTO_SHA1 | |
638 | select CRYPTO_HASH | |
639 | help | |
640 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented | |
641 | using sparc64 crypto instructions, when available. | |
642 | ||
323a6bf1 ME |
643 | config CRYPTO_SHA1_PPC |
644 | tristate "SHA1 digest algorithm (powerpc)" | |
645 | depends on PPC | |
646 | help | |
647 | This is the powerpc hardware accelerated implementation of the | |
648 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). | |
649 | ||
d9850fc5 MS |
650 | config CRYPTO_SHA1_PPC_SPE |
651 | tristate "SHA1 digest algorithm (PPC SPE)" | |
652 | depends on PPC && SPE | |
653 | help | |
654 | SHA-1 secure hash standard (DFIPS 180-4) implemented | |
655 | using powerpc SPE SIMD instruction set. | |
656 | ||
1e65b81a TC |
657 | config CRYPTO_SHA1_MB |
658 | tristate "SHA1 digest algorithm (x86_64 Multi-Buffer, Experimental)" | |
659 | depends on X86 && 64BIT | |
660 | select CRYPTO_SHA1 | |
661 | select CRYPTO_HASH | |
662 | select CRYPTO_MCRYPTD | |
663 | help | |
664 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented | |
665 | using multi-buffer technique. This algorithm computes on | |
666 | multiple data lanes concurrently with SIMD instructions for | |
667 | better throughput. It should not be enabled by default but | |
668 | used when there is significant amount of work to keep the keep | |
669 | the data lanes filled to get performance benefit. If the data | |
670 | lanes remain unfilled, a flush operation will be initiated to | |
671 | process the crypto jobs, adding a slight latency. | |
672 | ||
584fffc8 SS |
673 | config CRYPTO_SHA256 |
674 | tristate "SHA224 and SHA256 digest algorithm" | |
50e109b5 | 675 | select CRYPTO_HASH |
1da177e4 | 676 | help |
584fffc8 | 677 | SHA256 secure hash standard (DFIPS 180-2). |
1da177e4 | 678 | |
584fffc8 SS |
679 | This version of SHA implements a 256 bit hash with 128 bits of |
680 | security against collision attacks. | |
2729bb42 | 681 | |
b6d44341 AB |
682 | This code also includes SHA-224, a 224 bit hash with 112 bits |
683 | of security against collision attacks. | |
584fffc8 | 684 | |
2ecc1e95 MS |
685 | config CRYPTO_SHA256_PPC_SPE |
686 | tristate "SHA224 and SHA256 digest algorithm (PPC SPE)" | |
687 | depends on PPC && SPE | |
688 | select CRYPTO_SHA256 | |
689 | select CRYPTO_HASH | |
690 | help | |
691 | SHA224 and SHA256 secure hash standard (DFIPS 180-2) | |
692 | implemented using powerpc SPE SIMD instruction set. | |
693 | ||
efdb6f6e AK |
694 | config CRYPTO_SHA256_OCTEON |
695 | tristate "SHA224 and SHA256 digest algorithm (OCTEON)" | |
696 | depends on CPU_CAVIUM_OCTEON | |
697 | select CRYPTO_SHA256 | |
698 | select CRYPTO_HASH | |
699 | help | |
700 | SHA-256 secure hash standard (DFIPS 180-2) implemented | |
701 | using OCTEON crypto instructions, when available. | |
702 | ||
86c93b24 DM |
703 | config CRYPTO_SHA256_SPARC64 |
704 | tristate "SHA224 and SHA256 digest algorithm (SPARC64)" | |
705 | depends on SPARC64 | |
706 | select CRYPTO_SHA256 | |
707 | select CRYPTO_HASH | |
708 | help | |
709 | SHA-256 secure hash standard (DFIPS 180-2) implemented | |
710 | using sparc64 crypto instructions, when available. | |
711 | ||
584fffc8 SS |
712 | config CRYPTO_SHA512 |
713 | tristate "SHA384 and SHA512 digest algorithms" | |
bd9d20db | 714 | select CRYPTO_HASH |
b9f535ff | 715 | help |
584fffc8 | 716 | SHA512 secure hash standard (DFIPS 180-2). |
b9f535ff | 717 | |
584fffc8 SS |
718 | This version of SHA implements a 512 bit hash with 256 bits of |
719 | security against collision attacks. | |
b9f535ff | 720 | |
584fffc8 SS |
721 | This code also includes SHA-384, a 384 bit hash with 192 bits |
722 | of security against collision attacks. | |
b9f535ff | 723 | |
efdb6f6e AK |
724 | config CRYPTO_SHA512_OCTEON |
725 | tristate "SHA384 and SHA512 digest algorithms (OCTEON)" | |
726 | depends on CPU_CAVIUM_OCTEON | |
727 | select CRYPTO_SHA512 | |
728 | select CRYPTO_HASH | |
729 | help | |
730 | SHA-512 secure hash standard (DFIPS 180-2) implemented | |
731 | using OCTEON crypto instructions, when available. | |
732 | ||
775e0c69 DM |
733 | config CRYPTO_SHA512_SPARC64 |
734 | tristate "SHA384 and SHA512 digest algorithm (SPARC64)" | |
735 | depends on SPARC64 | |
736 | select CRYPTO_SHA512 | |
737 | select CRYPTO_HASH | |
738 | help | |
739 | SHA-512 secure hash standard (DFIPS 180-2) implemented | |
740 | using sparc64 crypto instructions, when available. | |
741 | ||
584fffc8 SS |
742 | config CRYPTO_TGR192 |
743 | tristate "Tiger digest algorithms" | |
f63fbd3d | 744 | select CRYPTO_HASH |
eaf44088 | 745 | help |
584fffc8 | 746 | Tiger hash algorithm 192, 160 and 128-bit hashes |
eaf44088 | 747 | |
584fffc8 SS |
748 | Tiger is a hash function optimized for 64-bit processors while |
749 | still having decent performance on 32-bit processors. | |
750 | Tiger was developed by Ross Anderson and Eli Biham. | |
eaf44088 JF |
751 | |
752 | See also: | |
584fffc8 | 753 | <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>. |
eaf44088 | 754 | |
584fffc8 SS |
755 | config CRYPTO_WP512 |
756 | tristate "Whirlpool digest algorithms" | |
4946510b | 757 | select CRYPTO_HASH |
1da177e4 | 758 | help |
584fffc8 | 759 | Whirlpool hash algorithm 512, 384 and 256-bit hashes |
1da177e4 | 760 | |
584fffc8 SS |
761 | Whirlpool-512 is part of the NESSIE cryptographic primitives. |
762 | Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard | |
1da177e4 LT |
763 | |
764 | See also: | |
6d8de74c | 765 | <http://www.larc.usp.br/~pbarreto/WhirlpoolPage.html> |
584fffc8 | 766 | |
0e1227d3 HY |
767 | config CRYPTO_GHASH_CLMUL_NI_INTEL |
768 | tristate "GHASH digest algorithm (CLMUL-NI accelerated)" | |
8af00860 | 769 | depends on X86 && 64BIT |
0e1227d3 HY |
770 | select CRYPTO_CRYPTD |
771 | help | |
772 | GHASH is message digest algorithm for GCM (Galois/Counter Mode). | |
773 | The implementation is accelerated by CLMUL-NI of Intel. | |
774 | ||
584fffc8 | 775 | comment "Ciphers" |
1da177e4 LT |
776 | |
777 | config CRYPTO_AES | |
778 | tristate "AES cipher algorithms" | |
cce9e06d | 779 | select CRYPTO_ALGAPI |
1da177e4 | 780 | help |
584fffc8 | 781 | AES cipher algorithms (FIPS-197). AES uses the Rijndael |
1da177e4 LT |
782 | algorithm. |
783 | ||
784 | Rijndael appears to be consistently a very good performer in | |
584fffc8 SS |
785 | both hardware and software across a wide range of computing |
786 | environments regardless of its use in feedback or non-feedback | |
787 | modes. Its key setup time is excellent, and its key agility is | |
788 | good. Rijndael's very low memory requirements make it very well | |
789 | suited for restricted-space environments, in which it also | |
790 | demonstrates excellent performance. Rijndael's operations are | |
791 | among the easiest to defend against power and timing attacks. | |
1da177e4 | 792 | |
584fffc8 | 793 | The AES specifies three key sizes: 128, 192 and 256 bits |
1da177e4 LT |
794 | |
795 | See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information. | |
796 | ||
797 | config CRYPTO_AES_586 | |
798 | tristate "AES cipher algorithms (i586)" | |
cce9e06d HX |
799 | depends on (X86 || UML_X86) && !64BIT |
800 | select CRYPTO_ALGAPI | |
5157dea8 | 801 | select CRYPTO_AES |
1da177e4 | 802 | help |
584fffc8 | 803 | AES cipher algorithms (FIPS-197). AES uses the Rijndael |
1da177e4 LT |
804 | algorithm. |
805 | ||
806 | Rijndael appears to be consistently a very good performer in | |
584fffc8 SS |
807 | both hardware and software across a wide range of computing |
808 | environments regardless of its use in feedback or non-feedback | |
809 | modes. Its key setup time is excellent, and its key agility is | |
810 | good. Rijndael's very low memory requirements make it very well | |
811 | suited for restricted-space environments, in which it also | |
812 | demonstrates excellent performance. Rijndael's operations are | |
813 | among the easiest to defend against power and timing attacks. | |
1da177e4 | 814 | |
584fffc8 | 815 | The AES specifies three key sizes: 128, 192 and 256 bits |
a2a892a2 AS |
816 | |
817 | See <http://csrc.nist.gov/encryption/aes/> for more information. | |
818 | ||
819 | config CRYPTO_AES_X86_64 | |
820 | tristate "AES cipher algorithms (x86_64)" | |
cce9e06d HX |
821 | depends on (X86 || UML_X86) && 64BIT |
822 | select CRYPTO_ALGAPI | |
81190b32 | 823 | select CRYPTO_AES |
a2a892a2 | 824 | help |
584fffc8 | 825 | AES cipher algorithms (FIPS-197). AES uses the Rijndael |
a2a892a2 AS |
826 | algorithm. |
827 | ||
828 | Rijndael appears to be consistently a very good performer in | |
584fffc8 SS |
829 | both hardware and software across a wide range of computing |
830 | environments regardless of its use in feedback or non-feedback | |
831 | modes. Its key setup time is excellent, and its key agility is | |
54b6a1bd HY |
832 | good. Rijndael's very low memory requirements make it very well |
833 | suited for restricted-space environments, in which it also | |
834 | demonstrates excellent performance. Rijndael's operations are | |
835 | among the easiest to defend against power and timing attacks. | |
836 | ||
837 | The AES specifies three key sizes: 128, 192 and 256 bits | |
838 | ||
839 | See <http://csrc.nist.gov/encryption/aes/> for more information. | |
840 | ||
841 | config CRYPTO_AES_NI_INTEL | |
842 | tristate "AES cipher algorithms (AES-NI)" | |
8af00860 | 843 | depends on X86 |
0d258efb MK |
844 | select CRYPTO_AES_X86_64 if 64BIT |
845 | select CRYPTO_AES_586 if !64BIT | |
54b6a1bd | 846 | select CRYPTO_CRYPTD |
801201aa | 847 | select CRYPTO_ABLK_HELPER |
54b6a1bd | 848 | select CRYPTO_ALGAPI |
7643a11a | 849 | select CRYPTO_GLUE_HELPER_X86 if 64BIT |
023af608 JK |
850 | select CRYPTO_LRW |
851 | select CRYPTO_XTS | |
54b6a1bd HY |
852 | help |
853 | Use Intel AES-NI instructions for AES algorithm. | |
854 | ||
855 | AES cipher algorithms (FIPS-197). AES uses the Rijndael | |
856 | algorithm. | |
857 | ||
858 | Rijndael appears to be consistently a very good performer in | |
859 | both hardware and software across a wide range of computing | |
860 | environments regardless of its use in feedback or non-feedback | |
861 | modes. Its key setup time is excellent, and its key agility is | |
584fffc8 SS |
862 | good. Rijndael's very low memory requirements make it very well |
863 | suited for restricted-space environments, in which it also | |
864 | demonstrates excellent performance. Rijndael's operations are | |
865 | among the easiest to defend against power and timing attacks. | |
a2a892a2 | 866 | |
584fffc8 | 867 | The AES specifies three key sizes: 128, 192 and 256 bits |
1da177e4 LT |
868 | |
869 | See <http://csrc.nist.gov/encryption/aes/> for more information. | |
870 | ||
0d258efb MK |
871 | In addition to AES cipher algorithm support, the acceleration |
872 | for some popular block cipher mode is supported too, including | |
873 | ECB, CBC, LRW, PCBC, XTS. The 64 bit version has additional | |
874 | acceleration for CTR. | |
2cf4ac8b | 875 | |
9bf4852d DM |
876 | config CRYPTO_AES_SPARC64 |
877 | tristate "AES cipher algorithms (SPARC64)" | |
878 | depends on SPARC64 | |
879 | select CRYPTO_CRYPTD | |
880 | select CRYPTO_ALGAPI | |
881 | help | |
882 | Use SPARC64 crypto opcodes for AES algorithm. | |
883 | ||
884 | AES cipher algorithms (FIPS-197). AES uses the Rijndael | |
885 | algorithm. | |
886 | ||
887 | Rijndael appears to be consistently a very good performer in | |
888 | both hardware and software across a wide range of computing | |
889 | environments regardless of its use in feedback or non-feedback | |
890 | modes. Its key setup time is excellent, and its key agility is | |
891 | good. Rijndael's very low memory requirements make it very well | |
892 | suited for restricted-space environments, in which it also | |
893 | demonstrates excellent performance. Rijndael's operations are | |
894 | among the easiest to defend against power and timing attacks. | |
895 | ||
896 | The AES specifies three key sizes: 128, 192 and 256 bits | |
897 | ||
898 | See <http://csrc.nist.gov/encryption/aes/> for more information. | |
899 | ||
900 | In addition to AES cipher algorithm support, the acceleration | |
901 | for some popular block cipher mode is supported too, including | |
902 | ECB and CBC. | |
903 | ||
504c6143 MS |
904 | config CRYPTO_AES_PPC_SPE |
905 | tristate "AES cipher algorithms (PPC SPE)" | |
906 | depends on PPC && SPE | |
907 | help | |
908 | AES cipher algorithms (FIPS-197). Additionally the acceleration | |
909 | for popular block cipher modes ECB, CBC, CTR and XTS is supported. | |
910 | This module should only be used for low power (router) devices | |
911 | without hardware AES acceleration (e.g. caam crypto). It reduces the | |
912 | size of the AES tables from 16KB to 8KB + 256 bytes and mitigates | |
913 | timining attacks. Nevertheless it might be not as secure as other | |
914 | architecture specific assembler implementations that work on 1KB | |
915 | tables or 256 bytes S-boxes. | |
916 | ||
584fffc8 SS |
917 | config CRYPTO_ANUBIS |
918 | tristate "Anubis cipher algorithm" | |
919 | select CRYPTO_ALGAPI | |
920 | help | |
921 | Anubis cipher algorithm. | |
922 | ||
923 | Anubis is a variable key length cipher which can use keys from | |
924 | 128 bits to 320 bits in length. It was evaluated as a entrant | |
925 | in the NESSIE competition. | |
926 | ||
927 | See also: | |
6d8de74c JM |
928 | <https://www.cosic.esat.kuleuven.be/nessie/reports/> |
929 | <http://www.larc.usp.br/~pbarreto/AnubisPage.html> | |
584fffc8 SS |
930 | |
931 | config CRYPTO_ARC4 | |
932 | tristate "ARC4 cipher algorithm" | |
b9b0f080 | 933 | select CRYPTO_BLKCIPHER |
584fffc8 SS |
934 | help |
935 | ARC4 cipher algorithm. | |
936 | ||
937 | ARC4 is a stream cipher using keys ranging from 8 bits to 2048 | |
938 | bits in length. This algorithm is required for driver-based | |
939 | WEP, but it should not be for other purposes because of the | |
940 | weakness of the algorithm. | |
941 | ||
942 | config CRYPTO_BLOWFISH | |
943 | tristate "Blowfish cipher algorithm" | |
944 | select CRYPTO_ALGAPI | |
52ba867c | 945 | select CRYPTO_BLOWFISH_COMMON |
584fffc8 SS |
946 | help |
947 | Blowfish cipher algorithm, by Bruce Schneier. | |
948 | ||
949 | This is a variable key length cipher which can use keys from 32 | |
950 | bits to 448 bits in length. It's fast, simple and specifically | |
951 | designed for use on "large microprocessors". | |
952 | ||
953 | See also: | |
954 | <http://www.schneier.com/blowfish.html> | |
955 | ||
52ba867c JK |
956 | config CRYPTO_BLOWFISH_COMMON |
957 | tristate | |
958 | help | |
959 | Common parts of the Blowfish cipher algorithm shared by the | |
960 | generic c and the assembler implementations. | |
961 | ||
962 | See also: | |
963 | <http://www.schneier.com/blowfish.html> | |
964 | ||
64b94cea JK |
965 | config CRYPTO_BLOWFISH_X86_64 |
966 | tristate "Blowfish cipher algorithm (x86_64)" | |
f21a7c19 | 967 | depends on X86 && 64BIT |
64b94cea JK |
968 | select CRYPTO_ALGAPI |
969 | select CRYPTO_BLOWFISH_COMMON | |
970 | help | |
971 | Blowfish cipher algorithm (x86_64), by Bruce Schneier. | |
972 | ||
973 | This is a variable key length cipher which can use keys from 32 | |
974 | bits to 448 bits in length. It's fast, simple and specifically | |
975 | designed for use on "large microprocessors". | |
976 | ||
977 | See also: | |
978 | <http://www.schneier.com/blowfish.html> | |
979 | ||
584fffc8 SS |
980 | config CRYPTO_CAMELLIA |
981 | tristate "Camellia cipher algorithms" | |
982 | depends on CRYPTO | |
983 | select CRYPTO_ALGAPI | |
984 | help | |
985 | Camellia cipher algorithms module. | |
986 | ||
987 | Camellia is a symmetric key block cipher developed jointly | |
988 | at NTT and Mitsubishi Electric Corporation. | |
989 | ||
990 | The Camellia specifies three key sizes: 128, 192 and 256 bits. | |
991 | ||
992 | See also: | |
993 | <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> | |
994 | ||
0b95ec56 JK |
995 | config CRYPTO_CAMELLIA_X86_64 |
996 | tristate "Camellia cipher algorithm (x86_64)" | |
f21a7c19 | 997 | depends on X86 && 64BIT |
0b95ec56 JK |
998 | depends on CRYPTO |
999 | select CRYPTO_ALGAPI | |
964263af | 1000 | select CRYPTO_GLUE_HELPER_X86 |
0b95ec56 JK |
1001 | select CRYPTO_LRW |
1002 | select CRYPTO_XTS | |
1003 | help | |
1004 | Camellia cipher algorithm module (x86_64). | |
1005 | ||
1006 | Camellia is a symmetric key block cipher developed jointly | |
1007 | at NTT and Mitsubishi Electric Corporation. | |
1008 | ||
1009 | The Camellia specifies three key sizes: 128, 192 and 256 bits. | |
1010 | ||
1011 | See also: | |
d9b1d2e7 JK |
1012 | <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> |
1013 | ||
1014 | config CRYPTO_CAMELLIA_AESNI_AVX_X86_64 | |
1015 | tristate "Camellia cipher algorithm (x86_64/AES-NI/AVX)" | |
1016 | depends on X86 && 64BIT | |
1017 | depends on CRYPTO | |
1018 | select CRYPTO_ALGAPI | |
1019 | select CRYPTO_CRYPTD | |
801201aa | 1020 | select CRYPTO_ABLK_HELPER |
d9b1d2e7 JK |
1021 | select CRYPTO_GLUE_HELPER_X86 |
1022 | select CRYPTO_CAMELLIA_X86_64 | |
1023 | select CRYPTO_LRW | |
1024 | select CRYPTO_XTS | |
1025 | help | |
1026 | Camellia cipher algorithm module (x86_64/AES-NI/AVX). | |
1027 | ||
1028 | Camellia is a symmetric key block cipher developed jointly | |
1029 | at NTT and Mitsubishi Electric Corporation. | |
1030 | ||
1031 | The Camellia specifies three key sizes: 128, 192 and 256 bits. | |
1032 | ||
1033 | See also: | |
0b95ec56 JK |
1034 | <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> |
1035 | ||
f3f935a7 JK |
1036 | config CRYPTO_CAMELLIA_AESNI_AVX2_X86_64 |
1037 | tristate "Camellia cipher algorithm (x86_64/AES-NI/AVX2)" | |
1038 | depends on X86 && 64BIT | |
1039 | depends on CRYPTO | |
1040 | select CRYPTO_ALGAPI | |
1041 | select CRYPTO_CRYPTD | |
801201aa | 1042 | select CRYPTO_ABLK_HELPER |
f3f935a7 JK |
1043 | select CRYPTO_GLUE_HELPER_X86 |
1044 | select CRYPTO_CAMELLIA_X86_64 | |
1045 | select CRYPTO_CAMELLIA_AESNI_AVX_X86_64 | |
1046 | select CRYPTO_LRW | |
1047 | select CRYPTO_XTS | |
1048 | help | |
1049 | Camellia cipher algorithm module (x86_64/AES-NI/AVX2). | |
1050 | ||
1051 | Camellia is a symmetric key block cipher developed jointly | |
1052 | at NTT and Mitsubishi Electric Corporation. | |
1053 | ||
1054 | The Camellia specifies three key sizes: 128, 192 and 256 bits. | |
1055 | ||
1056 | See also: | |
1057 | <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> | |
1058 | ||
81658ad0 DM |
1059 | config CRYPTO_CAMELLIA_SPARC64 |
1060 | tristate "Camellia cipher algorithm (SPARC64)" | |
1061 | depends on SPARC64 | |
1062 | depends on CRYPTO | |
1063 | select CRYPTO_ALGAPI | |
1064 | help | |
1065 | Camellia cipher algorithm module (SPARC64). | |
1066 | ||
1067 | Camellia is a symmetric key block cipher developed jointly | |
1068 | at NTT and Mitsubishi Electric Corporation. | |
1069 | ||
1070 | The Camellia specifies three key sizes: 128, 192 and 256 bits. | |
1071 | ||
1072 | See also: | |
1073 | <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> | |
1074 | ||
044ab525 JK |
1075 | config CRYPTO_CAST_COMMON |
1076 | tristate | |
1077 | help | |
1078 | Common parts of the CAST cipher algorithms shared by the | |
1079 | generic c and the assembler implementations. | |
1080 | ||
1da177e4 LT |
1081 | config CRYPTO_CAST5 |
1082 | tristate "CAST5 (CAST-128) cipher algorithm" | |
cce9e06d | 1083 | select CRYPTO_ALGAPI |
044ab525 | 1084 | select CRYPTO_CAST_COMMON |
1da177e4 LT |
1085 | help |
1086 | The CAST5 encryption algorithm (synonymous with CAST-128) is | |
1087 | described in RFC2144. | |
1088 | ||
4d6d6a2c JG |
1089 | config CRYPTO_CAST5_AVX_X86_64 |
1090 | tristate "CAST5 (CAST-128) cipher algorithm (x86_64/AVX)" | |
1091 | depends on X86 && 64BIT | |
1092 | select CRYPTO_ALGAPI | |
1093 | select CRYPTO_CRYPTD | |
801201aa | 1094 | select CRYPTO_ABLK_HELPER |
044ab525 | 1095 | select CRYPTO_CAST_COMMON |
4d6d6a2c JG |
1096 | select CRYPTO_CAST5 |
1097 | help | |
1098 | The CAST5 encryption algorithm (synonymous with CAST-128) is | |
1099 | described in RFC2144. | |
1100 | ||
1101 | This module provides the Cast5 cipher algorithm that processes | |
1102 | sixteen blocks parallel using the AVX instruction set. | |
1103 | ||
1da177e4 LT |
1104 | config CRYPTO_CAST6 |
1105 | tristate "CAST6 (CAST-256) cipher algorithm" | |
cce9e06d | 1106 | select CRYPTO_ALGAPI |
044ab525 | 1107 | select CRYPTO_CAST_COMMON |
1da177e4 LT |
1108 | help |
1109 | The CAST6 encryption algorithm (synonymous with CAST-256) is | |
1110 | described in RFC2612. | |
1111 | ||
4ea1277d JG |
1112 | config CRYPTO_CAST6_AVX_X86_64 |
1113 | tristate "CAST6 (CAST-256) cipher algorithm (x86_64/AVX)" | |
1114 | depends on X86 && 64BIT | |
1115 | select CRYPTO_ALGAPI | |
1116 | select CRYPTO_CRYPTD | |
801201aa | 1117 | select CRYPTO_ABLK_HELPER |
4ea1277d | 1118 | select CRYPTO_GLUE_HELPER_X86 |
044ab525 | 1119 | select CRYPTO_CAST_COMMON |
4ea1277d JG |
1120 | select CRYPTO_CAST6 |
1121 | select CRYPTO_LRW | |
1122 | select CRYPTO_XTS | |
1123 | help | |
1124 | The CAST6 encryption algorithm (synonymous with CAST-256) is | |
1125 | described in RFC2612. | |
1126 | ||
1127 | This module provides the Cast6 cipher algorithm that processes | |
1128 | eight blocks parallel using the AVX instruction set. | |
1129 | ||
584fffc8 SS |
1130 | config CRYPTO_DES |
1131 | tristate "DES and Triple DES EDE cipher algorithms" | |
cce9e06d | 1132 | select CRYPTO_ALGAPI |
1da177e4 | 1133 | help |
584fffc8 | 1134 | DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3). |
fb4f10ed | 1135 | |
c5aac2df DM |
1136 | config CRYPTO_DES_SPARC64 |
1137 | tristate "DES and Triple DES EDE cipher algorithms (SPARC64)" | |
97da37b3 | 1138 | depends on SPARC64 |
c5aac2df DM |
1139 | select CRYPTO_ALGAPI |
1140 | select CRYPTO_DES | |
1141 | help | |
1142 | DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3), | |
1143 | optimized using SPARC64 crypto opcodes. | |
1144 | ||
6574e6c6 JK |
1145 | config CRYPTO_DES3_EDE_X86_64 |
1146 | tristate "Triple DES EDE cipher algorithm (x86-64)" | |
1147 | depends on X86 && 64BIT | |
1148 | select CRYPTO_ALGAPI | |
1149 | select CRYPTO_DES | |
1150 | help | |
1151 | Triple DES EDE (FIPS 46-3) algorithm. | |
1152 | ||
1153 | This module provides implementation of the Triple DES EDE cipher | |
1154 | algorithm that is optimized for x86-64 processors. Two versions of | |
1155 | algorithm are provided; regular processing one input block and | |
1156 | one that processes three blocks parallel. | |
1157 | ||
584fffc8 SS |
1158 | config CRYPTO_FCRYPT |
1159 | tristate "FCrypt cipher algorithm" | |
cce9e06d | 1160 | select CRYPTO_ALGAPI |
584fffc8 | 1161 | select CRYPTO_BLKCIPHER |
1da177e4 | 1162 | help |
584fffc8 | 1163 | FCrypt algorithm used by RxRPC. |
1da177e4 LT |
1164 | |
1165 | config CRYPTO_KHAZAD | |
1166 | tristate "Khazad cipher algorithm" | |
cce9e06d | 1167 | select CRYPTO_ALGAPI |
1da177e4 LT |
1168 | help |
1169 | Khazad cipher algorithm. | |
1170 | ||
1171 | Khazad was a finalist in the initial NESSIE competition. It is | |
1172 | an algorithm optimized for 64-bit processors with good performance | |
1173 | on 32-bit processors. Khazad uses an 128 bit key size. | |
1174 | ||
1175 | See also: | |
6d8de74c | 1176 | <http://www.larc.usp.br/~pbarreto/KhazadPage.html> |
1da177e4 | 1177 | |
2407d608 | 1178 | config CRYPTO_SALSA20 |
3b4afaf2 | 1179 | tristate "Salsa20 stream cipher algorithm" |
2407d608 TSH |
1180 | select CRYPTO_BLKCIPHER |
1181 | help | |
1182 | Salsa20 stream cipher algorithm. | |
1183 | ||
1184 | Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT | |
1185 | Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> | |
974e4b75 TSH |
1186 | |
1187 | The Salsa20 stream cipher algorithm is designed by Daniel J. | |
1188 | Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> | |
1189 | ||
1190 | config CRYPTO_SALSA20_586 | |
3b4afaf2 | 1191 | tristate "Salsa20 stream cipher algorithm (i586)" |
974e4b75 | 1192 | depends on (X86 || UML_X86) && !64BIT |
974e4b75 | 1193 | select CRYPTO_BLKCIPHER |
974e4b75 TSH |
1194 | help |
1195 | Salsa20 stream cipher algorithm. | |
1196 | ||
1197 | Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT | |
1198 | Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> | |
9a7dafbb TSH |
1199 | |
1200 | The Salsa20 stream cipher algorithm is designed by Daniel J. | |
1201 | Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> | |
1202 | ||
1203 | config CRYPTO_SALSA20_X86_64 | |
3b4afaf2 | 1204 | tristate "Salsa20 stream cipher algorithm (x86_64)" |
9a7dafbb | 1205 | depends on (X86 || UML_X86) && 64BIT |
9a7dafbb | 1206 | select CRYPTO_BLKCIPHER |
9a7dafbb TSH |
1207 | help |
1208 | Salsa20 stream cipher algorithm. | |
1209 | ||
1210 | Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT | |
1211 | Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> | |
2407d608 TSH |
1212 | |
1213 | The Salsa20 stream cipher algorithm is designed by Daniel J. | |
1214 | Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html> | |
1da177e4 | 1215 | |
c08d0e64 MW |
1216 | config CRYPTO_CHACHA20 |
1217 | tristate "ChaCha20 cipher algorithm" | |
1218 | select CRYPTO_BLKCIPHER | |
1219 | help | |
1220 | ChaCha20 cipher algorithm, RFC7539. | |
1221 | ||
1222 | ChaCha20 is a 256-bit high-speed stream cipher designed by Daniel J. | |
1223 | Bernstein and further specified in RFC7539 for use in IETF protocols. | |
1224 | This is the portable C implementation of ChaCha20. | |
1225 | ||
1226 | See also: | |
1227 | <http://cr.yp.to/chacha/chacha-20080128.pdf> | |
1228 | ||
c9320b6d | 1229 | config CRYPTO_CHACHA20_X86_64 |
3d1e93cd | 1230 | tristate "ChaCha20 cipher algorithm (x86_64/SSSE3/AVX2)" |
c9320b6d MW |
1231 | depends on X86 && 64BIT |
1232 | select CRYPTO_BLKCIPHER | |
1233 | select CRYPTO_CHACHA20 | |
1234 | help | |
1235 | ChaCha20 cipher algorithm, RFC7539. | |
1236 | ||
1237 | ChaCha20 is a 256-bit high-speed stream cipher designed by Daniel J. | |
1238 | Bernstein and further specified in RFC7539 for use in IETF protocols. | |
1239 | This is the x86_64 assembler implementation using SIMD instructions. | |
1240 | ||
1241 | See also: | |
1242 | <http://cr.yp.to/chacha/chacha-20080128.pdf> | |
1243 | ||
584fffc8 SS |
1244 | config CRYPTO_SEED |
1245 | tristate "SEED cipher algorithm" | |
cce9e06d | 1246 | select CRYPTO_ALGAPI |
1da177e4 | 1247 | help |
584fffc8 | 1248 | SEED cipher algorithm (RFC4269). |
1da177e4 | 1249 | |
584fffc8 SS |
1250 | SEED is a 128-bit symmetric key block cipher that has been |
1251 | developed by KISA (Korea Information Security Agency) as a | |
1252 | national standard encryption algorithm of the Republic of Korea. | |
1253 | It is a 16 round block cipher with the key size of 128 bit. | |
1254 | ||
1255 | See also: | |
1256 | <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp> | |
1257 | ||
1258 | config CRYPTO_SERPENT | |
1259 | tristate "Serpent cipher algorithm" | |
cce9e06d | 1260 | select CRYPTO_ALGAPI |
1da177e4 | 1261 | help |
584fffc8 | 1262 | Serpent cipher algorithm, by Anderson, Biham & Knudsen. |
1da177e4 | 1263 | |
584fffc8 SS |
1264 | Keys are allowed to be from 0 to 256 bits in length, in steps |
1265 | of 8 bits. Also includes the 'Tnepres' algorithm, a reversed | |
1266 | variant of Serpent for compatibility with old kerneli.org code. | |
1267 | ||
1268 | See also: | |
1269 | <http://www.cl.cam.ac.uk/~rja14/serpent.html> | |
1270 | ||
937c30d7 JK |
1271 | config CRYPTO_SERPENT_SSE2_X86_64 |
1272 | tristate "Serpent cipher algorithm (x86_64/SSE2)" | |
1273 | depends on X86 && 64BIT | |
1274 | select CRYPTO_ALGAPI | |
341975bf | 1275 | select CRYPTO_CRYPTD |
801201aa | 1276 | select CRYPTO_ABLK_HELPER |
596d8750 | 1277 | select CRYPTO_GLUE_HELPER_X86 |
937c30d7 | 1278 | select CRYPTO_SERPENT |
feaf0cfc JK |
1279 | select CRYPTO_LRW |
1280 | select CRYPTO_XTS | |
937c30d7 JK |
1281 | help |
1282 | Serpent cipher algorithm, by Anderson, Biham & Knudsen. | |
1283 | ||
1284 | Keys are allowed to be from 0 to 256 bits in length, in steps | |
1285 | of 8 bits. | |
1286 | ||
1e6232f8 | 1287 | This module provides Serpent cipher algorithm that processes eight |
937c30d7 JK |
1288 | blocks parallel using SSE2 instruction set. |
1289 | ||
1290 | See also: | |
1291 | <http://www.cl.cam.ac.uk/~rja14/serpent.html> | |
1292 | ||
251496db JK |
1293 | config CRYPTO_SERPENT_SSE2_586 |
1294 | tristate "Serpent cipher algorithm (i586/SSE2)" | |
1295 | depends on X86 && !64BIT | |
1296 | select CRYPTO_ALGAPI | |
341975bf | 1297 | select CRYPTO_CRYPTD |
801201aa | 1298 | select CRYPTO_ABLK_HELPER |
596d8750 | 1299 | select CRYPTO_GLUE_HELPER_X86 |
251496db | 1300 | select CRYPTO_SERPENT |
feaf0cfc JK |
1301 | select CRYPTO_LRW |
1302 | select CRYPTO_XTS | |
251496db JK |
1303 | help |
1304 | Serpent cipher algorithm, by Anderson, Biham & Knudsen. | |
1305 | ||
1306 | Keys are allowed to be from 0 to 256 bits in length, in steps | |
1307 | of 8 bits. | |
1308 | ||
1309 | This module provides Serpent cipher algorithm that processes four | |
1310 | blocks parallel using SSE2 instruction set. | |
1311 | ||
1312 | See also: | |
1313 | <http://www.cl.cam.ac.uk/~rja14/serpent.html> | |
7efe4076 JG |
1314 | |
1315 | config CRYPTO_SERPENT_AVX_X86_64 | |
1316 | tristate "Serpent cipher algorithm (x86_64/AVX)" | |
1317 | depends on X86 && 64BIT | |
1318 | select CRYPTO_ALGAPI | |
1319 | select CRYPTO_CRYPTD | |
801201aa | 1320 | select CRYPTO_ABLK_HELPER |
1d0debbd | 1321 | select CRYPTO_GLUE_HELPER_X86 |
7efe4076 JG |
1322 | select CRYPTO_SERPENT |
1323 | select CRYPTO_LRW | |
1324 | select CRYPTO_XTS | |
1325 | help | |
1326 | Serpent cipher algorithm, by Anderson, Biham & Knudsen. | |
1327 | ||
1328 | Keys are allowed to be from 0 to 256 bits in length, in steps | |
1329 | of 8 bits. | |
1330 | ||
1331 | This module provides the Serpent cipher algorithm that processes | |
1332 | eight blocks parallel using the AVX instruction set. | |
1333 | ||
1334 | See also: | |
1335 | <http://www.cl.cam.ac.uk/~rja14/serpent.html> | |
251496db | 1336 | |
56d76c96 JK |
1337 | config CRYPTO_SERPENT_AVX2_X86_64 |
1338 | tristate "Serpent cipher algorithm (x86_64/AVX2)" | |
1339 | depends on X86 && 64BIT | |
1340 | select CRYPTO_ALGAPI | |
1341 | select CRYPTO_CRYPTD | |
801201aa | 1342 | select CRYPTO_ABLK_HELPER |
56d76c96 JK |
1343 | select CRYPTO_GLUE_HELPER_X86 |
1344 | select CRYPTO_SERPENT | |
1345 | select CRYPTO_SERPENT_AVX_X86_64 | |
1346 | select CRYPTO_LRW | |
1347 | select CRYPTO_XTS | |
1348 | help | |
1349 | Serpent cipher algorithm, by Anderson, Biham & Knudsen. | |
1350 | ||
1351 | Keys are allowed to be from 0 to 256 bits in length, in steps | |
1352 | of 8 bits. | |
1353 | ||
1354 | This module provides Serpent cipher algorithm that processes 16 | |
1355 | blocks parallel using AVX2 instruction set. | |
1356 | ||
1357 | See also: | |
1358 | <http://www.cl.cam.ac.uk/~rja14/serpent.html> | |
1359 | ||
584fffc8 SS |
1360 | config CRYPTO_TEA |
1361 | tristate "TEA, XTEA and XETA cipher algorithms" | |
cce9e06d | 1362 | select CRYPTO_ALGAPI |
1da177e4 | 1363 | help |
584fffc8 | 1364 | TEA cipher algorithm. |
1da177e4 | 1365 | |
584fffc8 SS |
1366 | Tiny Encryption Algorithm is a simple cipher that uses |
1367 | many rounds for security. It is very fast and uses | |
1368 | little memory. | |
1369 | ||
1370 | Xtendend Tiny Encryption Algorithm is a modification to | |
1371 | the TEA algorithm to address a potential key weakness | |
1372 | in the TEA algorithm. | |
1373 | ||
1374 | Xtendend Encryption Tiny Algorithm is a mis-implementation | |
1375 | of the XTEA algorithm for compatibility purposes. | |
1376 | ||
1377 | config CRYPTO_TWOFISH | |
1378 | tristate "Twofish cipher algorithm" | |
04ac7db3 | 1379 | select CRYPTO_ALGAPI |
584fffc8 | 1380 | select CRYPTO_TWOFISH_COMMON |
04ac7db3 | 1381 | help |
584fffc8 | 1382 | Twofish cipher algorithm. |
04ac7db3 | 1383 | |
584fffc8 SS |
1384 | Twofish was submitted as an AES (Advanced Encryption Standard) |
1385 | candidate cipher by researchers at CounterPane Systems. It is a | |
1386 | 16 round block cipher supporting key sizes of 128, 192, and 256 | |
1387 | bits. | |
04ac7db3 | 1388 | |
584fffc8 SS |
1389 | See also: |
1390 | <http://www.schneier.com/twofish.html> | |
1391 | ||
1392 | config CRYPTO_TWOFISH_COMMON | |
1393 | tristate | |
1394 | help | |
1395 | Common parts of the Twofish cipher algorithm shared by the | |
1396 | generic c and the assembler implementations. | |
1397 | ||
1398 | config CRYPTO_TWOFISH_586 | |
1399 | tristate "Twofish cipher algorithms (i586)" | |
1400 | depends on (X86 || UML_X86) && !64BIT | |
1401 | select CRYPTO_ALGAPI | |
1402 | select CRYPTO_TWOFISH_COMMON | |
1403 | help | |
1404 | Twofish cipher algorithm. | |
1405 | ||
1406 | Twofish was submitted as an AES (Advanced Encryption Standard) | |
1407 | candidate cipher by researchers at CounterPane Systems. It is a | |
1408 | 16 round block cipher supporting key sizes of 128, 192, and 256 | |
1409 | bits. | |
04ac7db3 NT |
1410 | |
1411 | See also: | |
584fffc8 | 1412 | <http://www.schneier.com/twofish.html> |
04ac7db3 | 1413 | |
584fffc8 SS |
1414 | config CRYPTO_TWOFISH_X86_64 |
1415 | tristate "Twofish cipher algorithm (x86_64)" | |
1416 | depends on (X86 || UML_X86) && 64BIT | |
cce9e06d | 1417 | select CRYPTO_ALGAPI |
584fffc8 | 1418 | select CRYPTO_TWOFISH_COMMON |
1da177e4 | 1419 | help |
584fffc8 | 1420 | Twofish cipher algorithm (x86_64). |
1da177e4 | 1421 | |
584fffc8 SS |
1422 | Twofish was submitted as an AES (Advanced Encryption Standard) |
1423 | candidate cipher by researchers at CounterPane Systems. It is a | |
1424 | 16 round block cipher supporting key sizes of 128, 192, and 256 | |
1425 | bits. | |
1426 | ||
1427 | See also: | |
1428 | <http://www.schneier.com/twofish.html> | |
1429 | ||
8280daad JK |
1430 | config CRYPTO_TWOFISH_X86_64_3WAY |
1431 | tristate "Twofish cipher algorithm (x86_64, 3-way parallel)" | |
f21a7c19 | 1432 | depends on X86 && 64BIT |
8280daad JK |
1433 | select CRYPTO_ALGAPI |
1434 | select CRYPTO_TWOFISH_COMMON | |
1435 | select CRYPTO_TWOFISH_X86_64 | |
414cb5e7 | 1436 | select CRYPTO_GLUE_HELPER_X86 |
e7cda5d2 JK |
1437 | select CRYPTO_LRW |
1438 | select CRYPTO_XTS | |
8280daad JK |
1439 | help |
1440 | Twofish cipher algorithm (x86_64, 3-way parallel). | |
1441 | ||
1442 | Twofish was submitted as an AES (Advanced Encryption Standard) | |
1443 | candidate cipher by researchers at CounterPane Systems. It is a | |
1444 | 16 round block cipher supporting key sizes of 128, 192, and 256 | |
1445 | bits. | |
1446 | ||
1447 | This module provides Twofish cipher algorithm that processes three | |
1448 | blocks parallel, utilizing resources of out-of-order CPUs better. | |
1449 | ||
1450 | See also: | |
1451 | <http://www.schneier.com/twofish.html> | |
1452 | ||
107778b5 JG |
1453 | config CRYPTO_TWOFISH_AVX_X86_64 |
1454 | tristate "Twofish cipher algorithm (x86_64/AVX)" | |
1455 | depends on X86 && 64BIT | |
1456 | select CRYPTO_ALGAPI | |
1457 | select CRYPTO_CRYPTD | |
801201aa | 1458 | select CRYPTO_ABLK_HELPER |
a7378d4e | 1459 | select CRYPTO_GLUE_HELPER_X86 |
107778b5 JG |
1460 | select CRYPTO_TWOFISH_COMMON |
1461 | select CRYPTO_TWOFISH_X86_64 | |
1462 | select CRYPTO_TWOFISH_X86_64_3WAY | |
1463 | select CRYPTO_LRW | |
1464 | select CRYPTO_XTS | |
1465 | help | |
1466 | Twofish cipher algorithm (x86_64/AVX). | |
1467 | ||
1468 | Twofish was submitted as an AES (Advanced Encryption Standard) | |
1469 | candidate cipher by researchers at CounterPane Systems. It is a | |
1470 | 16 round block cipher supporting key sizes of 128, 192, and 256 | |
1471 | bits. | |
1472 | ||
1473 | This module provides the Twofish cipher algorithm that processes | |
1474 | eight blocks parallel using the AVX Instruction Set. | |
1475 | ||
1476 | See also: | |
1477 | <http://www.schneier.com/twofish.html> | |
1478 | ||
584fffc8 SS |
1479 | comment "Compression" |
1480 | ||
1481 | config CRYPTO_DEFLATE | |
1482 | tristate "Deflate compression algorithm" | |
1483 | select CRYPTO_ALGAPI | |
1484 | select ZLIB_INFLATE | |
1485 | select ZLIB_DEFLATE | |
3c09f17c | 1486 | help |
584fffc8 SS |
1487 | This is the Deflate algorithm (RFC1951), specified for use in |
1488 | IPSec with the IPCOMP protocol (RFC3173, RFC2394). | |
1489 | ||
1490 | You will most probably want this if using IPSec. | |
3c09f17c | 1491 | |
bf68e65e GU |
1492 | config CRYPTO_ZLIB |
1493 | tristate "Zlib compression algorithm" | |
1494 | select CRYPTO_PCOMP | |
1495 | select ZLIB_INFLATE | |
1496 | select ZLIB_DEFLATE | |
1497 | select NLATTR | |
1498 | help | |
1499 | This is the zlib algorithm. | |
1500 | ||
0b77abb3 ZS |
1501 | config CRYPTO_LZO |
1502 | tristate "LZO compression algorithm" | |
1503 | select CRYPTO_ALGAPI | |
1504 | select LZO_COMPRESS | |
1505 | select LZO_DECOMPRESS | |
1506 | help | |
1507 | This is the LZO algorithm. | |
1508 | ||
35a1fc18 SJ |
1509 | config CRYPTO_842 |
1510 | tristate "842 compression algorithm" | |
2062c5b6 DS |
1511 | select CRYPTO_ALGAPI |
1512 | select 842_COMPRESS | |
1513 | select 842_DECOMPRESS | |
35a1fc18 SJ |
1514 | help |
1515 | This is the 842 algorithm. | |
0ea8530d CM |
1516 | |
1517 | config CRYPTO_LZ4 | |
1518 | tristate "LZ4 compression algorithm" | |
1519 | select CRYPTO_ALGAPI | |
1520 | select LZ4_COMPRESS | |
1521 | select LZ4_DECOMPRESS | |
1522 | help | |
1523 | This is the LZ4 algorithm. | |
1524 | ||
1525 | config CRYPTO_LZ4HC | |
1526 | tristate "LZ4HC compression algorithm" | |
1527 | select CRYPTO_ALGAPI | |
1528 | select LZ4HC_COMPRESS | |
1529 | select LZ4_DECOMPRESS | |
1530 | help | |
1531 | This is the LZ4 high compression mode algorithm. | |
35a1fc18 | 1532 | |
17f0f4a4 NH |
1533 | comment "Random Number Generation" |
1534 | ||
1535 | config CRYPTO_ANSI_CPRNG | |
1536 | tristate "Pseudo Random Number Generation for Cryptographic modules" | |
1537 | select CRYPTO_AES | |
1538 | select CRYPTO_RNG | |
17f0f4a4 NH |
1539 | help |
1540 | This option enables the generic pseudo random number generator | |
1541 | for cryptographic modules. Uses the Algorithm specified in | |
7dd607e8 JK |
1542 | ANSI X9.31 A.2.4. Note that this option must be enabled if |
1543 | CRYPTO_FIPS is selected | |
17f0f4a4 | 1544 | |
f2c89a10 | 1545 | menuconfig CRYPTO_DRBG_MENU |
419090c6 | 1546 | tristate "NIST SP800-90A DRBG" |
419090c6 SM |
1547 | help |
1548 | NIST SP800-90A compliant DRBG. In the following submenu, one or | |
1549 | more of the DRBG types must be selected. | |
1550 | ||
f2c89a10 | 1551 | if CRYPTO_DRBG_MENU |
419090c6 SM |
1552 | |
1553 | config CRYPTO_DRBG_HMAC | |
401e4238 | 1554 | bool |
419090c6 | 1555 | default y |
419090c6 | 1556 | select CRYPTO_HMAC |
826775bb | 1557 | select CRYPTO_SHA256 |
419090c6 SM |
1558 | |
1559 | config CRYPTO_DRBG_HASH | |
1560 | bool "Enable Hash DRBG" | |
826775bb | 1561 | select CRYPTO_SHA256 |
419090c6 SM |
1562 | help |
1563 | Enable the Hash DRBG variant as defined in NIST SP800-90A. | |
1564 | ||
1565 | config CRYPTO_DRBG_CTR | |
1566 | bool "Enable CTR DRBG" | |
419090c6 SM |
1567 | select CRYPTO_AES |
1568 | help | |
1569 | Enable the CTR DRBG variant as defined in NIST SP800-90A. | |
1570 | ||
f2c89a10 HX |
1571 | config CRYPTO_DRBG |
1572 | tristate | |
401e4238 | 1573 | default CRYPTO_DRBG_MENU |
f2c89a10 | 1574 | select CRYPTO_RNG |
bb5530e4 | 1575 | select CRYPTO_JITTERENTROPY |
f2c89a10 HX |
1576 | |
1577 | endif # if CRYPTO_DRBG_MENU | |
419090c6 | 1578 | |
bb5530e4 SM |
1579 | config CRYPTO_JITTERENTROPY |
1580 | tristate "Jitterentropy Non-Deterministic Random Number Generator" | |
1581 | help | |
1582 | The Jitterentropy RNG is a noise that is intended | |
1583 | to provide seed to another RNG. The RNG does not | |
1584 | perform any cryptographic whitening of the generated | |
1585 | random numbers. This Jitterentropy RNG registers with | |
1586 | the kernel crypto API and can be used by any caller. | |
1587 | ||
03c8efc1 HX |
1588 | config CRYPTO_USER_API |
1589 | tristate | |
1590 | ||
fe869cdb HX |
1591 | config CRYPTO_USER_API_HASH |
1592 | tristate "User-space interface for hash algorithms" | |
7451708f | 1593 | depends on NET |
fe869cdb HX |
1594 | select CRYPTO_HASH |
1595 | select CRYPTO_USER_API | |
1596 | help | |
1597 | This option enables the user-spaces interface for hash | |
1598 | algorithms. | |
1599 | ||
8ff59090 HX |
1600 | config CRYPTO_USER_API_SKCIPHER |
1601 | tristate "User-space interface for symmetric key cipher algorithms" | |
7451708f | 1602 | depends on NET |
8ff59090 HX |
1603 | select CRYPTO_BLKCIPHER |
1604 | select CRYPTO_USER_API | |
1605 | help | |
1606 | This option enables the user-spaces interface for symmetric | |
1607 | key cipher algorithms. | |
1608 | ||
2f375538 SM |
1609 | config CRYPTO_USER_API_RNG |
1610 | tristate "User-space interface for random number generator algorithms" | |
1611 | depends on NET | |
1612 | select CRYPTO_RNG | |
1613 | select CRYPTO_USER_API | |
1614 | help | |
1615 | This option enables the user-spaces interface for random | |
1616 | number generator algorithms. | |
1617 | ||
b64a2d95 HX |
1618 | config CRYPTO_USER_API_AEAD |
1619 | tristate "User-space interface for AEAD cipher algorithms" | |
1620 | depends on NET | |
1621 | select CRYPTO_AEAD | |
1622 | select CRYPTO_USER_API | |
1623 | help | |
1624 | This option enables the user-spaces interface for AEAD | |
1625 | cipher algorithms. | |
1626 | ||
ee08997f DK |
1627 | config CRYPTO_HASH_INFO |
1628 | bool | |
1629 | ||
1da177e4 | 1630 | source "drivers/crypto/Kconfig" |
964f3b3b | 1631 | source crypto/asymmetric_keys/Kconfig |
1da177e4 | 1632 | |
cce9e06d | 1633 | endif # if CRYPTO |