]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
685784aa DW |
2 | # |
3 | # Generic algorithms support | |
4 | # | |
5 | config XOR_BLOCKS | |
6 | tristate | |
7 | ||
1da177e4 | 8 | # |
9bc89cd8 | 9 | # async_tx api: hardware offloaded memory transfer/transform support |
1da177e4 | 10 | # |
9bc89cd8 | 11 | source "crypto/async_tx/Kconfig" |
1da177e4 | 12 | |
9bc89cd8 DW |
13 | # |
14 | # Cryptographic API Configuration | |
15 | # | |
2e290f43 | 16 | menuconfig CRYPTO |
c3715cb9 | 17 | tristate "Cryptographic API" |
1da177e4 LT |
18 | help |
19 | This option provides the core Cryptographic API. | |
20 | ||
cce9e06d HX |
21 | if CRYPTO |
22 | ||
584fffc8 SS |
23 | comment "Crypto core or helper" |
24 | ||
ccb778e1 NH |
25 | config CRYPTO_FIPS |
26 | bool "FIPS 200 compliance" | |
f2c89a10 | 27 | depends on (CRYPTO_ANSI_CPRNG || CRYPTO_DRBG) && !CRYPTO_MANAGER_DISABLE_TESTS |
1f696097 | 28 | depends on (MODULE_SIG || !MODULES) |
ccb778e1 NH |
29 | help |
30 | This options enables the fips boot option which is | |
31 | required if you want to system to operate in a FIPS 200 | |
32 | certification. You should say no unless you know what | |
e84c5480 | 33 | this is. |
ccb778e1 | 34 | |
cce9e06d HX |
35 | config CRYPTO_ALGAPI |
36 | tristate | |
6a0fcbb4 | 37 | select CRYPTO_ALGAPI2 |
cce9e06d HX |
38 | help |
39 | This option provides the API for cryptographic algorithms. | |
40 | ||
6a0fcbb4 HX |
41 | config CRYPTO_ALGAPI2 |
42 | tristate | |
43 | ||
1ae97820 HX |
44 | config CRYPTO_AEAD |
45 | tristate | |
6a0fcbb4 | 46 | select CRYPTO_AEAD2 |
1ae97820 HX |
47 | select CRYPTO_ALGAPI |
48 | ||
6a0fcbb4 HX |
49 | config CRYPTO_AEAD2 |
50 | tristate | |
51 | select CRYPTO_ALGAPI2 | |
149a3971 HX |
52 | select CRYPTO_NULL2 |
53 | select CRYPTO_RNG2 | |
6a0fcbb4 | 54 | |
5cde0af2 HX |
55 | config CRYPTO_BLKCIPHER |
56 | tristate | |
6a0fcbb4 | 57 | select CRYPTO_BLKCIPHER2 |
5cde0af2 | 58 | select CRYPTO_ALGAPI |
6a0fcbb4 HX |
59 | |
60 | config CRYPTO_BLKCIPHER2 | |
61 | tristate | |
62 | select CRYPTO_ALGAPI2 | |
63 | select CRYPTO_RNG2 | |
0a2e821d | 64 | select CRYPTO_WORKQUEUE |
5cde0af2 | 65 | |
055bcee3 HX |
66 | config CRYPTO_HASH |
67 | tristate | |
6a0fcbb4 | 68 | select CRYPTO_HASH2 |
055bcee3 HX |
69 | select CRYPTO_ALGAPI |
70 | ||
6a0fcbb4 HX |
71 | config CRYPTO_HASH2 |
72 | tristate | |
73 | select CRYPTO_ALGAPI2 | |
74 | ||
17f0f4a4 NH |
75 | config CRYPTO_RNG |
76 | tristate | |
6a0fcbb4 | 77 | select CRYPTO_RNG2 |
17f0f4a4 NH |
78 | select CRYPTO_ALGAPI |
79 | ||
6a0fcbb4 HX |
80 | config CRYPTO_RNG2 |
81 | tristate | |
82 | select CRYPTO_ALGAPI2 | |
83 | ||
401e4238 HX |
84 | config CRYPTO_RNG_DEFAULT |
85 | tristate | |
86 | select CRYPTO_DRBG_MENU | |
87 | ||
3c339ab8 TS |
88 | config CRYPTO_AKCIPHER2 |
89 | tristate | |
90 | select CRYPTO_ALGAPI2 | |
91 | ||
92 | config CRYPTO_AKCIPHER | |
93 | tristate | |
94 | select CRYPTO_AKCIPHER2 | |
95 | select CRYPTO_ALGAPI | |
96 | ||
4e5f2c40 SB |
97 | config CRYPTO_KPP2 |
98 | tristate | |
99 | select CRYPTO_ALGAPI2 | |
100 | ||
101 | config CRYPTO_KPP | |
102 | tristate | |
103 | select CRYPTO_ALGAPI | |
104 | select CRYPTO_KPP2 | |
105 | ||
2ebda74f GC |
106 | config CRYPTO_ACOMP2 |
107 | tristate | |
108 | select CRYPTO_ALGAPI2 | |
8cd579d2 | 109 | select SGL_ALLOC |
2ebda74f GC |
110 | |
111 | config CRYPTO_ACOMP | |
112 | tristate | |
113 | select CRYPTO_ALGAPI | |
114 | select CRYPTO_ACOMP2 | |
115 | ||
cfc2bb32 TS |
116 | config CRYPTO_RSA |
117 | tristate "RSA algorithm" | |
425e0172 | 118 | select CRYPTO_AKCIPHER |
58446fef | 119 | select CRYPTO_MANAGER |
cfc2bb32 TS |
120 | select MPILIB |
121 | select ASN1 | |
122 | help | |
123 | Generic implementation of the RSA public key algorithm. | |
124 | ||
802c7f1c SB |
125 | config CRYPTO_DH |
126 | tristate "Diffie-Hellman algorithm" | |
127 | select CRYPTO_KPP | |
128 | select MPILIB | |
129 | help | |
130 | Generic implementation of the Diffie-Hellman algorithm. | |
131 | ||
3c4b2390 SB |
132 | config CRYPTO_ECDH |
133 | tristate "ECDH algorithm" | |
b5b90077 | 134 | select CRYPTO_KPP |
6755fd26 | 135 | select CRYPTO_RNG_DEFAULT |
3c4b2390 SB |
136 | help |
137 | Generic implementation of the ECDH algorithm | |
802c7f1c | 138 | |
2b8c19db HX |
139 | config CRYPTO_MANAGER |
140 | tristate "Cryptographic algorithm manager" | |
6a0fcbb4 | 141 | select CRYPTO_MANAGER2 |
2b8c19db HX |
142 | help |
143 | Create default cryptographic template instantiations such as | |
144 | cbc(aes). | |
145 | ||
6a0fcbb4 HX |
146 | config CRYPTO_MANAGER2 |
147 | def_tristate CRYPTO_MANAGER || (CRYPTO_MANAGER!=n && CRYPTO_ALGAPI=y) | |
148 | select CRYPTO_AEAD2 | |
149 | select CRYPTO_HASH2 | |
150 | select CRYPTO_BLKCIPHER2 | |
946cc463 | 151 | select CRYPTO_AKCIPHER2 |
4e5f2c40 | 152 | select CRYPTO_KPP2 |
2ebda74f | 153 | select CRYPTO_ACOMP2 |
6a0fcbb4 | 154 | |
a38f7907 SK |
155 | config CRYPTO_USER |
156 | tristate "Userspace cryptographic algorithm configuration" | |
5db017aa | 157 | depends on NET |
a38f7907 SK |
158 | select CRYPTO_MANAGER |
159 | help | |
d19978f5 | 160 | Userspace configuration for cryptographic instantiations such as |
a38f7907 SK |
161 | cbc(aes). |
162 | ||
326a6346 HX |
163 | config CRYPTO_MANAGER_DISABLE_TESTS |
164 | bool "Disable run-time self tests" | |
00ca28a5 HX |
165 | default y |
166 | depends on CRYPTO_MANAGER2 | |
0b767f96 | 167 | help |
326a6346 HX |
168 | Disable run-time self tests that normally take place at |
169 | algorithm registration. | |
0b767f96 | 170 | |
584fffc8 | 171 | config CRYPTO_GF128MUL |
08c70fc3 | 172 | tristate "GF(2^128) multiplication functions" |
333b0d7e | 173 | help |
584fffc8 SS |
174 | Efficient table driven implementation of multiplications in the |
175 | field GF(2^128). This is needed by some cypher modes. This | |
176 | option will be selected automatically if you select such a | |
177 | cipher mode. Only select this option by hand if you expect to load | |
178 | an external module that requires these functions. | |
333b0d7e | 179 | |
1da177e4 LT |
180 | config CRYPTO_NULL |
181 | tristate "Null algorithms" | |
149a3971 | 182 | select CRYPTO_NULL2 |
1da177e4 LT |
183 | help |
184 | These are 'Null' algorithms, used by IPsec, which do nothing. | |
185 | ||
149a3971 | 186 | config CRYPTO_NULL2 |
dd43c4e9 | 187 | tristate |
149a3971 HX |
188 | select CRYPTO_ALGAPI2 |
189 | select CRYPTO_BLKCIPHER2 | |
190 | select CRYPTO_HASH2 | |
191 | ||
5068c7a8 | 192 | config CRYPTO_PCRYPT |
3b4afaf2 KC |
193 | tristate "Parallel crypto engine" |
194 | depends on SMP | |
5068c7a8 SK |
195 | select PADATA |
196 | select CRYPTO_MANAGER | |
197 | select CRYPTO_AEAD | |
198 | help | |
199 | This converts an arbitrary crypto algorithm into a parallel | |
200 | algorithm that executes in kernel threads. | |
201 | ||
25c38d3f YH |
202 | config CRYPTO_WORKQUEUE |
203 | tristate | |
204 | ||
584fffc8 SS |
205 | config CRYPTO_CRYPTD |
206 | tristate "Software async crypto daemon" | |
207 | select CRYPTO_BLKCIPHER | |
b8a28251 | 208 | select CRYPTO_HASH |
584fffc8 | 209 | select CRYPTO_MANAGER |
254eff77 | 210 | select CRYPTO_WORKQUEUE |
1da177e4 | 211 | help |
584fffc8 SS |
212 | This is a generic software asynchronous crypto daemon that |
213 | converts an arbitrary synchronous software crypto algorithm | |
214 | into an asynchronous algorithm that executes in a kernel thread. | |
1da177e4 | 215 | |
584fffc8 SS |
216 | config CRYPTO_AUTHENC |
217 | tristate "Authenc support" | |
218 | select CRYPTO_AEAD | |
219 | select CRYPTO_BLKCIPHER | |
220 | select CRYPTO_MANAGER | |
221 | select CRYPTO_HASH | |
e94c6a7a | 222 | select CRYPTO_NULL |
1da177e4 | 223 | help |
584fffc8 SS |
224 | Authenc: Combined mode wrapper for IPsec. |
225 | This is required for IPSec. | |
1da177e4 | 226 | |
584fffc8 SS |
227 | config CRYPTO_TEST |
228 | tristate "Testing module" | |
229 | depends on m | |
da7f033d | 230 | select CRYPTO_MANAGER |
1da177e4 | 231 | help |
584fffc8 | 232 | Quick & dirty crypto test module. |
1da177e4 | 233 | |
266d0516 HX |
234 | config CRYPTO_SIMD |
235 | tristate | |
ffaf9156 JK |
236 | select CRYPTO_CRYPTD |
237 | ||
596d8750 JK |
238 | config CRYPTO_GLUE_HELPER_X86 |
239 | tristate | |
240 | depends on X86 | |
065ce327 | 241 | select CRYPTO_BLKCIPHER |
596d8750 | 242 | |
735d37b5 BW |
243 | config CRYPTO_ENGINE |
244 | tristate | |
245 | ||
584fffc8 | 246 | comment "Authenticated Encryption with Associated Data" |
cd12fb90 | 247 | |
584fffc8 SS |
248 | config CRYPTO_CCM |
249 | tristate "CCM support" | |
250 | select CRYPTO_CTR | |
f15f05b0 | 251 | select CRYPTO_HASH |
584fffc8 | 252 | select CRYPTO_AEAD |
1da177e4 | 253 | help |
584fffc8 | 254 | Support for Counter with CBC MAC. Required for IPsec. |
1da177e4 | 255 | |
584fffc8 SS |
256 | config CRYPTO_GCM |
257 | tristate "GCM/GMAC support" | |
258 | select CRYPTO_CTR | |
259 | select CRYPTO_AEAD | |
9382d97a | 260 | select CRYPTO_GHASH |
9489667d | 261 | select CRYPTO_NULL |
1da177e4 | 262 | help |
584fffc8 SS |
263 | Support for Galois/Counter Mode (GCM) and Galois Message |
264 | Authentication Code (GMAC). Required for IPSec. | |
1da177e4 | 265 | |
71ebc4d1 MW |
266 | config CRYPTO_CHACHA20POLY1305 |
267 | tristate "ChaCha20-Poly1305 AEAD support" | |
268 | select CRYPTO_CHACHA20 | |
269 | select CRYPTO_POLY1305 | |
270 | select CRYPTO_AEAD | |
271 | help | |
272 | ChaCha20-Poly1305 AEAD support, RFC7539. | |
273 | ||
274 | Support for the AEAD wrapper using the ChaCha20 stream cipher combined | |
275 | with the Poly1305 authenticator. It is defined in RFC7539 for use in | |
276 | IETF protocols. | |
277 | ||
f606a88e OM |
278 | config CRYPTO_AEGIS128 |
279 | tristate "AEGIS-128 AEAD algorithm" | |
280 | select CRYPTO_AEAD | |
281 | select CRYPTO_AES # for AES S-box tables | |
282 | help | |
283 | Support for the AEGIS-128 dedicated AEAD algorithm. | |
284 | ||
285 | config CRYPTO_AEGIS128L | |
286 | tristate "AEGIS-128L AEAD algorithm" | |
287 | select CRYPTO_AEAD | |
288 | select CRYPTO_AES # for AES S-box tables | |
289 | help | |
290 | Support for the AEGIS-128L dedicated AEAD algorithm. | |
291 | ||
292 | config CRYPTO_AEGIS256 | |
293 | tristate "AEGIS-256 AEAD algorithm" | |
294 | select CRYPTO_AEAD | |
295 | select CRYPTO_AES # for AES S-box tables | |
296 | help | |
297 | Support for the AEGIS-256 dedicated AEAD algorithm. | |
298 | ||
1d373d4e OM |
299 | config CRYPTO_AEGIS128_AESNI_SSE2 |
300 | tristate "AEGIS-128 AEAD algorithm (x86_64 AESNI+SSE2 implementation)" | |
301 | depends on X86 && 64BIT | |
302 | select CRYPTO_AEAD | |
303 | select CRYPTO_CRYPTD | |
304 | help | |
305 | AESNI+SSE2 implementation of the AEGSI-128 dedicated AEAD algorithm. | |
306 | ||
307 | config CRYPTO_AEGIS128L_AESNI_SSE2 | |
308 | tristate "AEGIS-128L AEAD algorithm (x86_64 AESNI+SSE2 implementation)" | |
309 | depends on X86 && 64BIT | |
310 | select CRYPTO_AEAD | |
311 | select CRYPTO_CRYPTD | |
312 | help | |
313 | AESNI+SSE2 implementation of the AEGSI-128L dedicated AEAD algorithm. | |
314 | ||
315 | config CRYPTO_AEGIS256_AESNI_SSE2 | |
316 | tristate "AEGIS-256 AEAD algorithm (x86_64 AESNI+SSE2 implementation)" | |
317 | depends on X86 && 64BIT | |
318 | select CRYPTO_AEAD | |
319 | select CRYPTO_CRYPTD | |
320 | help | |
321 | AESNI+SSE2 implementation of the AEGSI-256 dedicated AEAD algorithm. | |
322 | ||
396be41f OM |
323 | config CRYPTO_MORUS640 |
324 | tristate "MORUS-640 AEAD algorithm" | |
325 | select CRYPTO_AEAD | |
326 | help | |
327 | Support for the MORUS-640 dedicated AEAD algorithm. | |
328 | ||
56e8e57f | 329 | config CRYPTO_MORUS640_GLUE |
2808f173 OM |
330 | tristate |
331 | depends on X86 | |
56e8e57f OM |
332 | select CRYPTO_AEAD |
333 | select CRYPTO_CRYPTD | |
334 | help | |
335 | Common glue for SIMD optimizations of the MORUS-640 dedicated AEAD | |
336 | algorithm. | |
337 | ||
6ecc9d9f OM |
338 | config CRYPTO_MORUS640_SSE2 |
339 | tristate "MORUS-640 AEAD algorithm (x86_64 SSE2 implementation)" | |
340 | depends on X86 && 64BIT | |
341 | select CRYPTO_AEAD | |
342 | select CRYPTO_MORUS640_GLUE | |
343 | help | |
344 | SSE2 implementation of the MORUS-640 dedicated AEAD algorithm. | |
345 | ||
396be41f OM |
346 | config CRYPTO_MORUS1280 |
347 | tristate "MORUS-1280 AEAD algorithm" | |
348 | select CRYPTO_AEAD | |
349 | help | |
350 | Support for the MORUS-1280 dedicated AEAD algorithm. | |
351 | ||
56e8e57f | 352 | config CRYPTO_MORUS1280_GLUE |
2808f173 OM |
353 | tristate |
354 | depends on X86 | |
56e8e57f OM |
355 | select CRYPTO_AEAD |
356 | select CRYPTO_CRYPTD | |
357 | help | |
358 | Common glue for SIMD optimizations of the MORUS-1280 dedicated AEAD | |
6ecc9d9f OM |
359 | algorithm. |
360 | ||
361 | config CRYPTO_MORUS1280_SSE2 | |
362 | tristate "MORUS-1280 AEAD algorithm (x86_64 SSE2 implementation)" | |
363 | depends on X86 && 64BIT | |
364 | select CRYPTO_AEAD | |
365 | select CRYPTO_MORUS1280_GLUE | |
366 | help | |
367 | SSE2 optimizedimplementation of the MORUS-1280 dedicated AEAD | |
368 | algorithm. | |
369 | ||
370 | config CRYPTO_MORUS1280_AVX2 | |
371 | tristate "MORUS-1280 AEAD algorithm (x86_64 AVX2 implementation)" | |
372 | depends on X86 && 64BIT | |
373 | select CRYPTO_AEAD | |
374 | select CRYPTO_MORUS1280_GLUE | |
375 | help | |
376 | AVX2 optimized implementation of the MORUS-1280 dedicated AEAD | |
56e8e57f OM |
377 | algorithm. |
378 | ||
584fffc8 SS |
379 | config CRYPTO_SEQIV |
380 | tristate "Sequence Number IV Generator" | |
381 | select CRYPTO_AEAD | |
382 | select CRYPTO_BLKCIPHER | |
856e3f40 | 383 | select CRYPTO_NULL |
401e4238 | 384 | select CRYPTO_RNG_DEFAULT |
1da177e4 | 385 | help |
584fffc8 SS |
386 | This IV generator generates an IV based on a sequence number by |
387 | xoring it with a salt. This algorithm is mainly useful for CTR | |
1da177e4 | 388 | |
a10f554f HX |
389 | config CRYPTO_ECHAINIV |
390 | tristate "Encrypted Chain IV Generator" | |
391 | select CRYPTO_AEAD | |
392 | select CRYPTO_NULL | |
401e4238 | 393 | select CRYPTO_RNG_DEFAULT |
3491244c | 394 | default m |
a10f554f HX |
395 | help |
396 | This IV generator generates an IV based on the encryption of | |
397 | a sequence number xored with a salt. This is the default | |
398 | algorithm for CBC. | |
399 | ||
584fffc8 | 400 | comment "Block modes" |
c494e070 | 401 | |
584fffc8 SS |
402 | config CRYPTO_CBC |
403 | tristate "CBC support" | |
db131ef9 | 404 | select CRYPTO_BLKCIPHER |
43518407 | 405 | select CRYPTO_MANAGER |
db131ef9 | 406 | help |
584fffc8 SS |
407 | CBC: Cipher Block Chaining mode |
408 | This block cipher algorithm is required for IPSec. | |
db131ef9 | 409 | |
a7d85e06 JB |
410 | config CRYPTO_CFB |
411 | tristate "CFB support" | |
412 | select CRYPTO_BLKCIPHER | |
413 | select CRYPTO_MANAGER | |
414 | help | |
415 | CFB: Cipher FeedBack mode | |
416 | This block cipher algorithm is required for TPM2 Cryptography. | |
417 | ||
584fffc8 SS |
418 | config CRYPTO_CTR |
419 | tristate "CTR support" | |
db131ef9 | 420 | select CRYPTO_BLKCIPHER |
584fffc8 | 421 | select CRYPTO_SEQIV |
43518407 | 422 | select CRYPTO_MANAGER |
db131ef9 | 423 | help |
584fffc8 | 424 | CTR: Counter mode |
db131ef9 HX |
425 | This block cipher algorithm is required for IPSec. |
426 | ||
584fffc8 SS |
427 | config CRYPTO_CTS |
428 | tristate "CTS support" | |
429 | select CRYPTO_BLKCIPHER | |
430 | help | |
431 | CTS: Cipher Text Stealing | |
432 | This is the Cipher Text Stealing mode as described by | |
ecd6d5c9 GBY |
433 | Section 8 of rfc2040 and referenced by rfc3962 |
434 | (rfc3962 includes errata information in its Appendix A) or | |
435 | CBC-CS3 as defined by NIST in Sp800-38A addendum from Oct 2010. | |
584fffc8 SS |
436 | This mode is required for Kerberos gss mechanism support |
437 | for AES encryption. | |
438 | ||
ecd6d5c9 GBY |
439 | See: https://csrc.nist.gov/publications/detail/sp/800-38a/addendum/final |
440 | ||
584fffc8 SS |
441 | config CRYPTO_ECB |
442 | tristate "ECB support" | |
91652be5 DH |
443 | select CRYPTO_BLKCIPHER |
444 | select CRYPTO_MANAGER | |
91652be5 | 445 | help |
584fffc8 SS |
446 | ECB: Electronic CodeBook mode |
447 | This is the simplest block cipher algorithm. It simply encrypts | |
448 | the input block by block. | |
91652be5 | 449 | |
64470f1b | 450 | config CRYPTO_LRW |
2470a2b2 | 451 | tristate "LRW support" |
64470f1b RS |
452 | select CRYPTO_BLKCIPHER |
453 | select CRYPTO_MANAGER | |
454 | select CRYPTO_GF128MUL | |
455 | help | |
456 | LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable | |
457 | narrow block cipher mode for dm-crypt. Use it with cipher | |
458 | specification string aes-lrw-benbi, the key must be 256, 320 or 384. | |
459 | The first 128, 192 or 256 bits in the key are used for AES and the | |
460 | rest is used to tie each cipher block to its logical position. | |
461 | ||
e497c518 GBY |
462 | config CRYPTO_OFB |
463 | tristate "OFB support" | |
464 | select CRYPTO_BLKCIPHER | |
465 | select CRYPTO_MANAGER | |
466 | help | |
467 | OFB: the Output Feedback mode makes a block cipher into a synchronous | |
468 | stream cipher. It generates keystream blocks, which are then XORed | |
469 | with the plaintext blocks to get the ciphertext. Flipping a bit in the | |
470 | ciphertext produces a flipped bit in the plaintext at the same | |
471 | location. This property allows many error correcting codes to function | |
472 | normally even when applied before encryption. | |
473 | ||
584fffc8 SS |
474 | config CRYPTO_PCBC |
475 | tristate "PCBC support" | |
476 | select CRYPTO_BLKCIPHER | |
477 | select CRYPTO_MANAGER | |
478 | help | |
479 | PCBC: Propagating Cipher Block Chaining mode | |
480 | This block cipher algorithm is required for RxRPC. | |
481 | ||
f19f5111 | 482 | config CRYPTO_XTS |
5bcf8e6d | 483 | tristate "XTS support" |
f19f5111 RS |
484 | select CRYPTO_BLKCIPHER |
485 | select CRYPTO_MANAGER | |
12cb3a1c | 486 | select CRYPTO_ECB |
f19f5111 RS |
487 | help |
488 | XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain, | |
489 | key size 256, 384 or 512 bits. This implementation currently | |
490 | can't handle a sectorsize which is not a multiple of 16 bytes. | |
491 | ||
1c49678e SM |
492 | config CRYPTO_KEYWRAP |
493 | tristate "Key wrapping support" | |
494 | select CRYPTO_BLKCIPHER | |
495 | help | |
496 | Support for key wrapping (NIST SP800-38F / RFC3394) without | |
497 | padding. | |
498 | ||
26609a21 EB |
499 | config CRYPTO_NHPOLY1305 |
500 | tristate | |
501 | select CRYPTO_HASH | |
502 | select CRYPTO_POLY1305 | |
503 | ||
012c8238 EB |
504 | config CRYPTO_NHPOLY1305_SSE2 |
505 | tristate "NHPoly1305 hash function (x86_64 SSE2 implementation)" | |
506 | depends on X86 && 64BIT | |
507 | select CRYPTO_NHPOLY1305 | |
508 | help | |
509 | SSE2 optimized implementation of the hash function used by the | |
510 | Adiantum encryption mode. | |
511 | ||
0f961f9f EB |
512 | config CRYPTO_NHPOLY1305_AVX2 |
513 | tristate "NHPoly1305 hash function (x86_64 AVX2 implementation)" | |
514 | depends on X86 && 64BIT | |
515 | select CRYPTO_NHPOLY1305 | |
516 | help | |
517 | AVX2 optimized implementation of the hash function used by the | |
518 | Adiantum encryption mode. | |
519 | ||
059c2a4d EB |
520 | config CRYPTO_ADIANTUM |
521 | tristate "Adiantum support" | |
522 | select CRYPTO_CHACHA20 | |
523 | select CRYPTO_POLY1305 | |
524 | select CRYPTO_NHPOLY1305 | |
525 | help | |
526 | Adiantum is a tweakable, length-preserving encryption mode | |
527 | designed for fast and secure disk encryption, especially on | |
528 | CPUs without dedicated crypto instructions. It encrypts | |
529 | each sector using the XChaCha12 stream cipher, two passes of | |
530 | an ε-almost-∆-universal hash function, and an invocation of | |
531 | the AES-256 block cipher on a single 16-byte block. On CPUs | |
532 | without AES instructions, Adiantum is much faster than | |
533 | AES-XTS. | |
534 | ||
535 | Adiantum's security is provably reducible to that of its | |
536 | underlying stream and block ciphers, subject to a security | |
537 | bound. Unlike XTS, Adiantum is a true wide-block encryption | |
538 | mode, so it actually provides an even stronger notion of | |
539 | security than XTS, subject to the security bound. | |
540 | ||
541 | If unsure, say N. | |
542 | ||
584fffc8 SS |
543 | comment "Hash modes" |
544 | ||
93b5e86a JK |
545 | config CRYPTO_CMAC |
546 | tristate "CMAC support" | |
547 | select CRYPTO_HASH | |
548 | select CRYPTO_MANAGER | |
549 | help | |
550 | Cipher-based Message Authentication Code (CMAC) specified by | |
551 | The National Institute of Standards and Technology (NIST). | |
552 | ||
553 | https://tools.ietf.org/html/rfc4493 | |
554 | http://csrc.nist.gov/publications/nistpubs/800-38B/SP_800-38B.pdf | |
555 | ||
584fffc8 SS |
556 | config CRYPTO_HMAC |
557 | tristate "HMAC support" | |
558 | select CRYPTO_HASH | |
23e353c8 | 559 | select CRYPTO_MANAGER |
23e353c8 | 560 | help |
584fffc8 SS |
561 | HMAC: Keyed-Hashing for Message Authentication (RFC2104). |
562 | This is required for IPSec. | |
23e353c8 | 563 | |
584fffc8 SS |
564 | config CRYPTO_XCBC |
565 | tristate "XCBC support" | |
584fffc8 SS |
566 | select CRYPTO_HASH |
567 | select CRYPTO_MANAGER | |
76cb9521 | 568 | help |
584fffc8 SS |
569 | XCBC: Keyed-Hashing with encryption algorithm |
570 | http://www.ietf.org/rfc/rfc3566.txt | |
571 | http://csrc.nist.gov/encryption/modes/proposedmodes/ | |
572 | xcbc-mac/xcbc-mac-spec.pdf | |
76cb9521 | 573 | |
f1939f7c SW |
574 | config CRYPTO_VMAC |
575 | tristate "VMAC support" | |
f1939f7c SW |
576 | select CRYPTO_HASH |
577 | select CRYPTO_MANAGER | |
578 | help | |
579 | VMAC is a message authentication algorithm designed for | |
580 | very high speed on 64-bit architectures. | |
581 | ||
582 | See also: | |
583 | <http://fastcrypto.org/vmac> | |
584 | ||
584fffc8 | 585 | comment "Digest" |
28db8e3e | 586 | |
584fffc8 SS |
587 | config CRYPTO_CRC32C |
588 | tristate "CRC32c CRC algorithm" | |
5773a3e6 | 589 | select CRYPTO_HASH |
6a0962b2 | 590 | select CRC32 |
4a49b499 | 591 | help |
584fffc8 SS |
592 | Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used |
593 | by iSCSI for header and data digests and by others. | |
69c35efc | 594 | See Castagnoli93. Module will be crc32c. |
4a49b499 | 595 | |
8cb51ba8 AZ |
596 | config CRYPTO_CRC32C_INTEL |
597 | tristate "CRC32c INTEL hardware acceleration" | |
598 | depends on X86 | |
599 | select CRYPTO_HASH | |
600 | help | |
601 | In Intel processor with SSE4.2 supported, the processor will | |
602 | support CRC32C implementation using hardware accelerated CRC32 | |
603 | instruction. This option will create 'crc32c-intel' module, | |
604 | which will enable any routine to use the CRC32 instruction to | |
605 | gain performance compared with software implementation. | |
606 | Module will be crc32c-intel. | |
607 | ||
7cf31864 | 608 | config CRYPTO_CRC32C_VPMSUM |
6dd7a82c | 609 | tristate "CRC32c CRC algorithm (powerpc64)" |
c12abf34 | 610 | depends on PPC64 && ALTIVEC |
6dd7a82c AB |
611 | select CRYPTO_HASH |
612 | select CRC32 | |
613 | help | |
614 | CRC32c algorithm implemented using vector polynomial multiply-sum | |
615 | (vpmsum) instructions, introduced in POWER8. Enable on POWER8 | |
616 | and newer processors for improved performance. | |
617 | ||
618 | ||
442a7c40 DM |
619 | config CRYPTO_CRC32C_SPARC64 |
620 | tristate "CRC32c CRC algorithm (SPARC64)" | |
621 | depends on SPARC64 | |
622 | select CRYPTO_HASH | |
623 | select CRC32 | |
624 | help | |
625 | CRC32c CRC algorithm implemented using sparc64 crypto instructions, | |
626 | when available. | |
627 | ||
78c37d19 AB |
628 | config CRYPTO_CRC32 |
629 | tristate "CRC32 CRC algorithm" | |
630 | select CRYPTO_HASH | |
631 | select CRC32 | |
632 | help | |
633 | CRC-32-IEEE 802.3 cyclic redundancy-check algorithm. | |
634 | Shash crypto api wrappers to crc32_le function. | |
635 | ||
636 | config CRYPTO_CRC32_PCLMUL | |
637 | tristate "CRC32 PCLMULQDQ hardware acceleration" | |
638 | depends on X86 | |
639 | select CRYPTO_HASH | |
640 | select CRC32 | |
641 | help | |
642 | From Intel Westmere and AMD Bulldozer processor with SSE4.2 | |
643 | and PCLMULQDQ supported, the processor will support | |
644 | CRC32 PCLMULQDQ implementation using hardware accelerated PCLMULQDQ | |
645 | instruction. This option will create 'crc32-plcmul' module, | |
646 | which will enable any routine to use the CRC-32-IEEE 802.3 checksum | |
647 | and gain better performance as compared with the table implementation. | |
648 | ||
4a5dc51e MN |
649 | config CRYPTO_CRC32_MIPS |
650 | tristate "CRC32c and CRC32 CRC algorithm (MIPS)" | |
651 | depends on MIPS_CRC_SUPPORT | |
652 | select CRYPTO_HASH | |
653 | help | |
654 | CRC32c and CRC32 CRC algorithms implemented using mips crypto | |
655 | instructions, when available. | |
656 | ||
657 | ||
68411521 HX |
658 | config CRYPTO_CRCT10DIF |
659 | tristate "CRCT10DIF algorithm" | |
660 | select CRYPTO_HASH | |
661 | help | |
662 | CRC T10 Data Integrity Field computation is being cast as | |
663 | a crypto transform. This allows for faster crc t10 diff | |
664 | transforms to be used if they are available. | |
665 | ||
666 | config CRYPTO_CRCT10DIF_PCLMUL | |
667 | tristate "CRCT10DIF PCLMULQDQ hardware acceleration" | |
668 | depends on X86 && 64BIT && CRC_T10DIF | |
669 | select CRYPTO_HASH | |
670 | help | |
671 | For x86_64 processors with SSE4.2 and PCLMULQDQ supported, | |
672 | CRC T10 DIF PCLMULQDQ computation can be hardware | |
673 | accelerated PCLMULQDQ instruction. This option will create | |
674 | 'crct10dif-plcmul' module, which is faster when computing the | |
675 | crct10dif checksum as compared with the generic table implementation. | |
676 | ||
b01df1c1 DA |
677 | config CRYPTO_CRCT10DIF_VPMSUM |
678 | tristate "CRC32T10DIF powerpc64 hardware acceleration" | |
679 | depends on PPC64 && ALTIVEC && CRC_T10DIF | |
680 | select CRYPTO_HASH | |
681 | help | |
682 | CRC10T10DIF algorithm implemented using vector polynomial | |
683 | multiply-sum (vpmsum) instructions, introduced in POWER8. Enable on | |
684 | POWER8 and newer processors for improved performance. | |
685 | ||
146c8688 DA |
686 | config CRYPTO_VPMSUM_TESTER |
687 | tristate "Powerpc64 vpmsum hardware acceleration tester" | |
688 | depends on CRYPTO_CRCT10DIF_VPMSUM && CRYPTO_CRC32C_VPMSUM | |
689 | help | |
690 | Stress test for CRC32c and CRC-T10DIF algorithms implemented with | |
691 | POWER8 vpmsum instructions. | |
692 | Unless you are testing these algorithms, you don't need this. | |
693 | ||
2cdc6899 YH |
694 | config CRYPTO_GHASH |
695 | tristate "GHASH digest algorithm" | |
2cdc6899 | 696 | select CRYPTO_GF128MUL |
578c60fb | 697 | select CRYPTO_HASH |
2cdc6899 YH |
698 | help |
699 | GHASH is message digest algorithm for GCM (Galois/Counter Mode). | |
700 | ||
f979e014 MW |
701 | config CRYPTO_POLY1305 |
702 | tristate "Poly1305 authenticator algorithm" | |
578c60fb | 703 | select CRYPTO_HASH |
f979e014 MW |
704 | help |
705 | Poly1305 authenticator algorithm, RFC7539. | |
706 | ||
707 | Poly1305 is an authenticator algorithm designed by Daniel J. Bernstein. | |
708 | It is used for the ChaCha20-Poly1305 AEAD, specified in RFC7539 for use | |
709 | in IETF protocols. This is the portable C implementation of Poly1305. | |
710 | ||
c70f4abe | 711 | config CRYPTO_POLY1305_X86_64 |
b1ccc8f4 | 712 | tristate "Poly1305 authenticator algorithm (x86_64/SSE2/AVX2)" |
c70f4abe MW |
713 | depends on X86 && 64BIT |
714 | select CRYPTO_POLY1305 | |
715 | help | |
716 | Poly1305 authenticator algorithm, RFC7539. | |
717 | ||
718 | Poly1305 is an authenticator algorithm designed by Daniel J. Bernstein. | |
719 | It is used for the ChaCha20-Poly1305 AEAD, specified in RFC7539 for use | |
720 | in IETF protocols. This is the x86_64 assembler implementation using SIMD | |
721 | instructions. | |
722 | ||
584fffc8 SS |
723 | config CRYPTO_MD4 |
724 | tristate "MD4 digest algorithm" | |
808a1763 | 725 | select CRYPTO_HASH |
124b53d0 | 726 | help |
584fffc8 | 727 | MD4 message digest algorithm (RFC1320). |
124b53d0 | 728 | |
584fffc8 SS |
729 | config CRYPTO_MD5 |
730 | tristate "MD5 digest algorithm" | |
14b75ba7 | 731 | select CRYPTO_HASH |
1da177e4 | 732 | help |
584fffc8 | 733 | MD5 message digest algorithm (RFC1321). |
1da177e4 | 734 | |
d69e75de AK |
735 | config CRYPTO_MD5_OCTEON |
736 | tristate "MD5 digest algorithm (OCTEON)" | |
737 | depends on CPU_CAVIUM_OCTEON | |
738 | select CRYPTO_MD5 | |
739 | select CRYPTO_HASH | |
740 | help | |
741 | MD5 message digest algorithm (RFC1321) implemented | |
742 | using OCTEON crypto instructions, when available. | |
743 | ||
e8e59953 MS |
744 | config CRYPTO_MD5_PPC |
745 | tristate "MD5 digest algorithm (PPC)" | |
746 | depends on PPC | |
747 | select CRYPTO_HASH | |
748 | help | |
749 | MD5 message digest algorithm (RFC1321) implemented | |
750 | in PPC assembler. | |
751 | ||
fa4dfedc DM |
752 | config CRYPTO_MD5_SPARC64 |
753 | tristate "MD5 digest algorithm (SPARC64)" | |
754 | depends on SPARC64 | |
755 | select CRYPTO_MD5 | |
756 | select CRYPTO_HASH | |
757 | help | |
758 | MD5 message digest algorithm (RFC1321) implemented | |
759 | using sparc64 crypto instructions, when available. | |
760 | ||
584fffc8 SS |
761 | config CRYPTO_MICHAEL_MIC |
762 | tristate "Michael MIC keyed digest algorithm" | |
19e2bf14 | 763 | select CRYPTO_HASH |
90831639 | 764 | help |
584fffc8 SS |
765 | Michael MIC is used for message integrity protection in TKIP |
766 | (IEEE 802.11i). This algorithm is required for TKIP, but it | |
767 | should not be used for other purposes because of the weakness | |
768 | of the algorithm. | |
90831639 | 769 | |
82798f90 | 770 | config CRYPTO_RMD128 |
b6d44341 | 771 | tristate "RIPEMD-128 digest algorithm" |
7c4468bc | 772 | select CRYPTO_HASH |
b6d44341 AB |
773 | help |
774 | RIPEMD-128 (ISO/IEC 10118-3:2004). | |
82798f90 | 775 | |
b6d44341 | 776 | RIPEMD-128 is a 128-bit cryptographic hash function. It should only |
35ed4b35 | 777 | be used as a secure replacement for RIPEMD. For other use cases, |
b6d44341 | 778 | RIPEMD-160 should be used. |
82798f90 | 779 | |
b6d44341 | 780 | Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. |
6d8de74c | 781 | See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> |
82798f90 AKR |
782 | |
783 | config CRYPTO_RMD160 | |
b6d44341 | 784 | tristate "RIPEMD-160 digest algorithm" |
e5835fba | 785 | select CRYPTO_HASH |
b6d44341 AB |
786 | help |
787 | RIPEMD-160 (ISO/IEC 10118-3:2004). | |
82798f90 | 788 | |
b6d44341 AB |
789 | RIPEMD-160 is a 160-bit cryptographic hash function. It is intended |
790 | to be used as a secure replacement for the 128-bit hash functions | |
791 | MD4, MD5 and it's predecessor RIPEMD | |
792 | (not to be confused with RIPEMD-128). | |
82798f90 | 793 | |
b6d44341 AB |
794 | It's speed is comparable to SHA1 and there are no known attacks |
795 | against RIPEMD-160. | |
534fe2c1 | 796 | |
b6d44341 | 797 | Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. |
6d8de74c | 798 | See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> |
534fe2c1 AKR |
799 | |
800 | config CRYPTO_RMD256 | |
b6d44341 | 801 | tristate "RIPEMD-256 digest algorithm" |
d8a5e2e9 | 802 | select CRYPTO_HASH |
b6d44341 AB |
803 | help |
804 | RIPEMD-256 is an optional extension of RIPEMD-128 with a | |
805 | 256 bit hash. It is intended for applications that require | |
806 | longer hash-results, without needing a larger security level | |
807 | (than RIPEMD-128). | |
534fe2c1 | 808 | |
b6d44341 | 809 | Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. |
6d8de74c | 810 | See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> |
534fe2c1 AKR |
811 | |
812 | config CRYPTO_RMD320 | |
b6d44341 | 813 | tristate "RIPEMD-320 digest algorithm" |
3b8efb4c | 814 | select CRYPTO_HASH |
b6d44341 AB |
815 | help |
816 | RIPEMD-320 is an optional extension of RIPEMD-160 with a | |
817 | 320 bit hash. It is intended for applications that require | |
818 | longer hash-results, without needing a larger security level | |
819 | (than RIPEMD-160). | |
534fe2c1 | 820 | |
b6d44341 | 821 | Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel. |
6d8de74c | 822 | See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html> |
82798f90 | 823 | |
584fffc8 SS |
824 | config CRYPTO_SHA1 |
825 | tristate "SHA1 digest algorithm" | |
54ccb367 | 826 | select CRYPTO_HASH |
1da177e4 | 827 | help |
584fffc8 | 828 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). |
1da177e4 | 829 | |
66be8951 | 830 | config CRYPTO_SHA1_SSSE3 |
e38b6b7f | 831 | tristate "SHA1 digest algorithm (SSSE3/AVX/AVX2/SHA-NI)" |
66be8951 MK |
832 | depends on X86 && 64BIT |
833 | select CRYPTO_SHA1 | |
834 | select CRYPTO_HASH | |
835 | help | |
836 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented | |
837 | using Supplemental SSE3 (SSSE3) instructions or Advanced Vector | |
e38b6b7f | 838 | Extensions (AVX/AVX2) or SHA-NI(SHA Extensions New Instructions), |
839 | when available. | |
66be8951 | 840 | |
8275d1aa | 841 | config CRYPTO_SHA256_SSSE3 |
e38b6b7f | 842 | tristate "SHA256 digest algorithm (SSSE3/AVX/AVX2/SHA-NI)" |
8275d1aa TC |
843 | depends on X86 && 64BIT |
844 | select CRYPTO_SHA256 | |
845 | select CRYPTO_HASH | |
846 | help | |
847 | SHA-256 secure hash standard (DFIPS 180-2) implemented | |
848 | using Supplemental SSE3 (SSSE3) instructions, or Advanced Vector | |
849 | Extensions version 1 (AVX1), or Advanced Vector Extensions | |
e38b6b7f | 850 | version 2 (AVX2) instructions, or SHA-NI (SHA Extensions New |
851 | Instructions) when available. | |
87de4579 TC |
852 | |
853 | config CRYPTO_SHA512_SSSE3 | |
854 | tristate "SHA512 digest algorithm (SSSE3/AVX/AVX2)" | |
855 | depends on X86 && 64BIT | |
856 | select CRYPTO_SHA512 | |
857 | select CRYPTO_HASH | |
858 | help | |
859 | SHA-512 secure hash standard (DFIPS 180-2) implemented | |
860 | using Supplemental SSE3 (SSSE3) instructions, or Advanced Vector | |
861 | Extensions version 1 (AVX1), or Advanced Vector Extensions | |
8275d1aa TC |
862 | version 2 (AVX2) instructions, when available. |
863 | ||
efdb6f6e AK |
864 | config CRYPTO_SHA1_OCTEON |
865 | tristate "SHA1 digest algorithm (OCTEON)" | |
866 | depends on CPU_CAVIUM_OCTEON | |
867 | select CRYPTO_SHA1 | |
868 | select CRYPTO_HASH | |
869 | help | |
870 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented | |
871 | using OCTEON crypto instructions, when available. | |
872 | ||
4ff28d4c DM |
873 | config CRYPTO_SHA1_SPARC64 |
874 | tristate "SHA1 digest algorithm (SPARC64)" | |
875 | depends on SPARC64 | |
876 | select CRYPTO_SHA1 | |
877 | select CRYPTO_HASH | |
878 | help | |
879 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented | |
880 | using sparc64 crypto instructions, when available. | |
881 | ||
323a6bf1 ME |
882 | config CRYPTO_SHA1_PPC |
883 | tristate "SHA1 digest algorithm (powerpc)" | |
884 | depends on PPC | |
885 | help | |
886 | This is the powerpc hardware accelerated implementation of the | |
887 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). | |
888 | ||
d9850fc5 MS |
889 | config CRYPTO_SHA1_PPC_SPE |
890 | tristate "SHA1 digest algorithm (PPC SPE)" | |
891 | depends on PPC && SPE | |
892 | help | |
893 | SHA-1 secure hash standard (DFIPS 180-4) implemented | |
894 | using powerpc SPE SIMD instruction set. | |
895 | ||
584fffc8 SS |
896 | config CRYPTO_SHA256 |
897 | tristate "SHA224 and SHA256 digest algorithm" | |
50e109b5 | 898 | select CRYPTO_HASH |
1da177e4 | 899 | help |
584fffc8 | 900 | SHA256 secure hash standard (DFIPS 180-2). |
1da177e4 | 901 | |
584fffc8 SS |
902 | This version of SHA implements a 256 bit hash with 128 bits of |
903 | security against collision attacks. | |
2729bb42 | 904 | |
b6d44341 AB |
905 | This code also includes SHA-224, a 224 bit hash with 112 bits |
906 | of security against collision attacks. | |
584fffc8 | 907 | |
2ecc1e95 MS |
908 | config CRYPTO_SHA256_PPC_SPE |
909 | tristate "SHA224 and SHA256 digest algorithm (PPC SPE)" | |
910 | depends on PPC && SPE | |
911 | select CRYPTO_SHA256 | |
912 | select CRYPTO_HASH | |
913 | help | |
914 | SHA224 and SHA256 secure hash standard (DFIPS 180-2) | |
915 | implemented using powerpc SPE SIMD instruction set. | |
916 | ||
efdb6f6e AK |
917 | config CRYPTO_SHA256_OCTEON |
918 | tristate "SHA224 and SHA256 digest algorithm (OCTEON)" | |
919 | depends on CPU_CAVIUM_OCTEON | |
920 | select CRYPTO_SHA256 | |
921 | select CRYPTO_HASH | |
922 | help | |
923 | SHA-256 secure hash standard (DFIPS 180-2) implemented | |
924 | using OCTEON crypto instructions, when available. | |
925 | ||
86c93b24 DM |
926 | config CRYPTO_SHA256_SPARC64 |
927 | tristate "SHA224 and SHA256 digest algorithm (SPARC64)" | |
928 | depends on SPARC64 | |
929 | select CRYPTO_SHA256 | |
930 | select CRYPTO_HASH | |
931 | help | |
932 | SHA-256 secure hash standard (DFIPS 180-2) implemented | |
933 | using sparc64 crypto instructions, when available. | |
934 | ||
584fffc8 SS |
935 | config CRYPTO_SHA512 |
936 | tristate "SHA384 and SHA512 digest algorithms" | |
bd9d20db | 937 | select CRYPTO_HASH |
b9f535ff | 938 | help |
584fffc8 | 939 | SHA512 secure hash standard (DFIPS 180-2). |
b9f535ff | 940 | |
584fffc8 SS |
941 | This version of SHA implements a 512 bit hash with 256 bits of |
942 | security against collision attacks. | |
b9f535ff | 943 | |
584fffc8 SS |
944 | This code also includes SHA-384, a 384 bit hash with 192 bits |
945 | of security against collision attacks. | |
b9f535ff | 946 | |
efdb6f6e AK |
947 | config CRYPTO_SHA512_OCTEON |
948 | tristate "SHA384 and SHA512 digest algorithms (OCTEON)" | |
949 | depends on CPU_CAVIUM_OCTEON | |
950 | select CRYPTO_SHA512 | |
951 | select CRYPTO_HASH | |
952 | help | |
953 | SHA-512 secure hash standard (DFIPS 180-2) implemented | |
954 | using OCTEON crypto instructions, when available. | |
955 | ||
775e0c69 DM |
956 | config CRYPTO_SHA512_SPARC64 |
957 | tristate "SHA384 and SHA512 digest algorithm (SPARC64)" | |
958 | depends on SPARC64 | |
959 | select CRYPTO_SHA512 | |
960 | select CRYPTO_HASH | |
961 | help | |
962 | SHA-512 secure hash standard (DFIPS 180-2) implemented | |
963 | using sparc64 crypto instructions, when available. | |
964 | ||
53964b9e JG |
965 | config CRYPTO_SHA3 |
966 | tristate "SHA3 digest algorithm" | |
967 | select CRYPTO_HASH | |
968 | help | |
969 | SHA-3 secure hash standard (DFIPS 202). It's based on | |
970 | cryptographic sponge function family called Keccak. | |
971 | ||
972 | References: | |
973 | http://keccak.noekeon.org/ | |
974 | ||
4f0fc160 GBY |
975 | config CRYPTO_SM3 |
976 | tristate "SM3 digest algorithm" | |
977 | select CRYPTO_HASH | |
978 | help | |
979 | SM3 secure hash function as defined by OSCCA GM/T 0004-2012 SM3). | |
980 | It is part of the Chinese Commercial Cryptography suite. | |
981 | ||
982 | References: | |
983 | http://www.oscca.gov.cn/UpFile/20101222141857786.pdf | |
984 | https://datatracker.ietf.org/doc/html/draft-shen-sm3-hash | |
985 | ||
fe18957e VC |
986 | config CRYPTO_STREEBOG |
987 | tristate "Streebog Hash Function" | |
988 | select CRYPTO_HASH | |
989 | help | |
990 | Streebog Hash Function (GOST R 34.11-2012, RFC 6986) is one of the Russian | |
991 | cryptographic standard algorithms (called GOST algorithms). | |
992 | This setting enables two hash algorithms with 256 and 512 bits output. | |
993 | ||
994 | References: | |
995 | https://tc26.ru/upload/iblock/fed/feddbb4d26b685903faa2ba11aea43f6.pdf | |
996 | https://tools.ietf.org/html/rfc6986 | |
997 | ||
584fffc8 SS |
998 | config CRYPTO_TGR192 |
999 | tristate "Tiger digest algorithms" | |
f63fbd3d | 1000 | select CRYPTO_HASH |
eaf44088 | 1001 | help |
584fffc8 | 1002 | Tiger hash algorithm 192, 160 and 128-bit hashes |
eaf44088 | 1003 | |
584fffc8 SS |
1004 | Tiger is a hash function optimized for 64-bit processors while |
1005 | still having decent performance on 32-bit processors. | |
1006 | Tiger was developed by Ross Anderson and Eli Biham. | |
eaf44088 JF |
1007 | |
1008 | See also: | |
584fffc8 | 1009 | <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>. |
eaf44088 | 1010 | |
584fffc8 SS |
1011 | config CRYPTO_WP512 |
1012 | tristate "Whirlpool digest algorithms" | |
4946510b | 1013 | select CRYPTO_HASH |
1da177e4 | 1014 | help |
584fffc8 | 1015 | Whirlpool hash algorithm 512, 384 and 256-bit hashes |
1da177e4 | 1016 | |
584fffc8 SS |
1017 | Whirlpool-512 is part of the NESSIE cryptographic primitives. |
1018 | Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard | |
1da177e4 LT |
1019 | |
1020 | See also: | |
6d8de74c | 1021 | <http://www.larc.usp.br/~pbarreto/WhirlpoolPage.html> |
584fffc8 | 1022 | |
0e1227d3 YH |
1023 | config CRYPTO_GHASH_CLMUL_NI_INTEL |
1024 | tristate "GHASH digest algorithm (CLMUL-NI accelerated)" | |
8af00860 | 1025 | depends on X86 && 64BIT |
0e1227d3 YH |
1026 | select CRYPTO_CRYPTD |
1027 | help | |
1028 | GHASH is message digest algorithm for GCM (Galois/Counter Mode). | |
1029 | The implementation is accelerated by CLMUL-NI of Intel. | |
1030 | ||
584fffc8 | 1031 | comment "Ciphers" |
1da177e4 LT |
1032 | |
1033 | config CRYPTO_AES | |
1034 | tristate "AES cipher algorithms" | |
cce9e06d | 1035 | select CRYPTO_ALGAPI |
1da177e4 | 1036 | help |
584fffc8 | 1037 | AES cipher algorithms (FIPS-197). AES uses the Rijndael |
1da177e4 LT |
1038 | algorithm. |
1039 | ||
1040 | Rijndael appears to be consistently a very good performer in | |
584fffc8 SS |
1041 | both hardware and software across a wide range of computing |
1042 | environments regardless of its use in feedback or non-feedback | |
1043 | modes. Its key setup time is excellent, and its key agility is | |
1044 | good. Rijndael's very low memory requirements make it very well | |
1045 | suited for restricted-space environments, in which it also | |
1046 | demonstrates excellent performance. Rijndael's operations are | |
1047 | among the easiest to defend against power and timing attacks. | |
1da177e4 | 1048 | |
584fffc8 | 1049 | The AES specifies three key sizes: 128, 192 and 256 bits |
1da177e4 LT |
1050 | |
1051 | See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information. | |
1052 | ||
b5e0b032 AB |
1053 | config CRYPTO_AES_TI |
1054 | tristate "Fixed time AES cipher" | |
1055 | select CRYPTO_ALGAPI | |
1056 | help | |
1057 | This is a generic implementation of AES that attempts to eliminate | |
1058 | data dependent latencies as much as possible without affecting | |
1059 | performance too much. It is intended for use by the generic CCM | |
1060 | and GCM drivers, and other CTR or CMAC/XCBC based modes that rely | |
1061 | solely on encryption (although decryption is supported as well, but | |
1062 | with a more dramatic performance hit) | |
1063 | ||
1064 | Instead of using 16 lookup tables of 1 KB each, (8 for encryption and | |
1065 | 8 for decryption), this implementation only uses just two S-boxes of | |
1066 | 256 bytes each, and attempts to eliminate data dependent latencies by | |
1067 | prefetching the entire table into the cache at the start of each | |
0a6a40c2 EB |
1068 | block. Interrupts are also disabled to avoid races where cachelines |
1069 | are evicted when the CPU is interrupted to do something else. | |
b5e0b032 | 1070 | |
1da177e4 LT |
1071 | config CRYPTO_AES_586 |
1072 | tristate "AES cipher algorithms (i586)" | |
cce9e06d HX |
1073 | depends on (X86 || UML_X86) && !64BIT |
1074 | select CRYPTO_ALGAPI | |
5157dea8 | 1075 | select CRYPTO_AES |
1da177e4 | 1076 | help |
584fffc8 | 1077 | AES cipher algorithms (FIPS-197). AES uses the Rijndael |
1da177e4 LT |
1078 | algorithm. |
1079 | ||
1080 | Rijndael appears to be consistently a very good performer in | |
584fffc8 SS |
1081 | both hardware and software across a wide range of computing |
1082 | environments regardless of its use in feedback or non-feedback | |
1083 | modes. Its key setup time is excellent, and its key agility is | |
1084 | good. Rijndael's very low memory requirements make it very well | |
1085 | suited for restricted-space environments, in which it also | |
1086 | demonstrates excellent performance. Rijndael's operations are | |
1087 | among the easiest to defend against power and timing attacks. | |
1da177e4 | 1088 | |
584fffc8 | 1089 | The AES specifies three key sizes: 128, 192 and 256 bits |
a2a892a2 AS |
1090 | |
1091 | See <http://csrc.nist.gov/encryption/aes/> for more information. | |
1092 | ||
1093 | config CRYPTO_AES_X86_64 | |
1094 | tristate "AES cipher algorithms (x86_64)" | |
cce9e06d HX |
1095 | depends on (X86 || UML_X86) && 64BIT |
1096 | select CRYPTO_ALGAPI | |
81190b32 | 1097 | select CRYPTO_AES |
a2a892a2 | 1098 | help |
584fffc8 | 1099 | AES cipher algorithms (FIPS-197). AES uses the Rijndael |
a2a892a2 AS |
1100 | algorithm. |
1101 | ||
1102 | Rijndael appears to be consistently a very good performer in | |
584fffc8 SS |
1103 | both hardware and software across a wide range of computing |
1104 | environments regardless of its use in feedback or non-feedback | |
1105 | modes. Its key setup time is excellent, and its key agility is | |
54b6a1bd YH |
1106 | good. Rijndael's very low memory requirements make it very well |
1107 | suited for restricted-space environments, in which it also | |
1108 | demonstrates excellent performance. Rijndael's operations are | |
1109 | among the easiest to defend against power and timing attacks. | |
1110 | ||
1111 | The AES specifies three key sizes: 128, 192 and 256 bits | |
1112 | ||
1113 | See <http://csrc.nist.gov/encryption/aes/> for more information. | |
1114 | ||
1115 | config CRYPTO_AES_NI_INTEL | |
1116 | tristate "AES cipher algorithms (AES-NI)" | |
8af00860 | 1117 | depends on X86 |
85671860 | 1118 | select CRYPTO_AEAD |
0d258efb MK |
1119 | select CRYPTO_AES_X86_64 if 64BIT |
1120 | select CRYPTO_AES_586 if !64BIT | |
54b6a1bd | 1121 | select CRYPTO_ALGAPI |
85671860 | 1122 | select CRYPTO_BLKCIPHER |
7643a11a | 1123 | select CRYPTO_GLUE_HELPER_X86 if 64BIT |
85671860 | 1124 | select CRYPTO_SIMD |
54b6a1bd YH |
1125 | help |
1126 | Use Intel AES-NI instructions for AES algorithm. | |
1127 | ||
1128 | AES cipher algorithms (FIPS-197). AES uses the Rijndael | |
1129 | algorithm. | |
1130 | ||
1131 | Rijndael appears to be consistently a very good performer in | |
1132 | both hardware and software across a wide range of computing | |
1133 | environments regardless of its use in feedback or non-feedback | |
1134 | modes. Its key setup time is excellent, and its key agility is | |
584fffc8 SS |
1135 | good. Rijndael's very low memory requirements make it very well |
1136 | suited for restricted-space environments, in which it also | |
1137 | demonstrates excellent performance. Rijndael's operations are | |
1138 | among the easiest to defend against power and timing attacks. | |
a2a892a2 | 1139 | |
584fffc8 | 1140 | The AES specifies three key sizes: 128, 192 and 256 bits |
1da177e4 LT |
1141 | |
1142 | See <http://csrc.nist.gov/encryption/aes/> for more information. | |
1143 | ||
0d258efb MK |
1144 | In addition to AES cipher algorithm support, the acceleration |
1145 | for some popular block cipher mode is supported too, including | |
944585a6 | 1146 | ECB, CBC, LRW, XTS. The 64 bit version has additional |
0d258efb | 1147 | acceleration for CTR. |
2cf4ac8b | 1148 | |
9bf4852d DM |
1149 | config CRYPTO_AES_SPARC64 |
1150 | tristate "AES cipher algorithms (SPARC64)" | |
1151 | depends on SPARC64 | |
1152 | select CRYPTO_CRYPTD | |
1153 | select CRYPTO_ALGAPI | |
1154 | help | |
1155 | Use SPARC64 crypto opcodes for AES algorithm. | |
1156 | ||
1157 | AES cipher algorithms (FIPS-197). AES uses the Rijndael | |
1158 | algorithm. | |
1159 | ||
1160 | Rijndael appears to be consistently a very good performer in | |
1161 | both hardware and software across a wide range of computing | |
1162 | environments regardless of its use in feedback or non-feedback | |
1163 | modes. Its key setup time is excellent, and its key agility is | |
1164 | good. Rijndael's very low memory requirements make it very well | |
1165 | suited for restricted-space environments, in which it also | |
1166 | demonstrates excellent performance. Rijndael's operations are | |
1167 | among the easiest to defend against power and timing attacks. | |
1168 | ||
1169 | The AES specifies three key sizes: 128, 192 and 256 bits | |
1170 | ||
1171 | See <http://csrc.nist.gov/encryption/aes/> for more information. | |
1172 | ||
1173 | In addition to AES cipher algorithm support, the acceleration | |
1174 | for some popular block cipher mode is supported too, including | |
1175 | ECB and CBC. | |
1176 | ||
504c6143 MS |
1177 | config CRYPTO_AES_PPC_SPE |
1178 | tristate "AES cipher algorithms (PPC SPE)" | |
1179 | depends on PPC && SPE | |
1180 | help | |
1181 | AES cipher algorithms (FIPS-197). Additionally the acceleration | |
1182 | for popular block cipher modes ECB, CBC, CTR and XTS is supported. | |
1183 | This module should only be used for low power (router) devices | |
1184 | without hardware AES acceleration (e.g. caam crypto). It reduces the | |
1185 | size of the AES tables from 16KB to 8KB + 256 bytes and mitigates | |
1186 | timining attacks. Nevertheless it might be not as secure as other | |
1187 | architecture specific assembler implementations that work on 1KB | |
1188 | tables or 256 bytes S-boxes. | |
1189 | ||
584fffc8 SS |
1190 | config CRYPTO_ANUBIS |
1191 | tristate "Anubis cipher algorithm" | |
1192 | select CRYPTO_ALGAPI | |
1193 | help | |
1194 | Anubis cipher algorithm. | |
1195 | ||
1196 | Anubis is a variable key length cipher which can use keys from | |
1197 | 128 bits to 320 bits in length. It was evaluated as a entrant | |
1198 | in the NESSIE competition. | |
1199 | ||
1200 | See also: | |
6d8de74c JM |
1201 | <https://www.cosic.esat.kuleuven.be/nessie/reports/> |
1202 | <http://www.larc.usp.br/~pbarreto/AnubisPage.html> | |
584fffc8 SS |
1203 | |
1204 | config CRYPTO_ARC4 | |
1205 | tristate "ARC4 cipher algorithm" | |
b9b0f080 | 1206 | select CRYPTO_BLKCIPHER |
584fffc8 SS |
1207 | help |
1208 | ARC4 cipher algorithm. | |
1209 | ||
1210 | ARC4 is a stream cipher using keys ranging from 8 bits to 2048 | |
1211 | bits in length. This algorithm is required for driver-based | |
1212 | WEP, but it should not be for other purposes because of the | |
1213 | weakness of the algorithm. | |
1214 | ||
1215 | config CRYPTO_BLOWFISH | |
1216 | tristate "Blowfish cipher algorithm" | |
1217 | select CRYPTO_ALGAPI | |
52ba867c | 1218 | select CRYPTO_BLOWFISH_COMMON |
584fffc8 SS |
1219 | help |
1220 | Blowfish cipher algorithm, by Bruce Schneier. | |
1221 | ||
1222 | This is a variable key length cipher which can use keys from 32 | |
1223 | bits to 448 bits in length. It's fast, simple and specifically | |
1224 | designed for use on "large microprocessors". | |
1225 | ||
1226 | See also: | |
1227 | <http://www.schneier.com/blowfish.html> | |
1228 | ||
52ba867c JK |
1229 | config CRYPTO_BLOWFISH_COMMON |
1230 | tristate | |
1231 | help | |
1232 | Common parts of the Blowfish cipher algorithm shared by the | |
1233 | generic c and the assembler implementations. | |
1234 | ||
1235 | See also: | |
1236 | <http://www.schneier.com/blowfish.html> | |
1237 | ||
64b94cea JK |
1238 | config CRYPTO_BLOWFISH_X86_64 |
1239 | tristate "Blowfish cipher algorithm (x86_64)" | |
f21a7c19 | 1240 | depends on X86 && 64BIT |
c1679171 | 1241 | select CRYPTO_BLKCIPHER |
64b94cea JK |
1242 | select CRYPTO_BLOWFISH_COMMON |
1243 | help | |
1244 | Blowfish cipher algorithm (x86_64), by Bruce Schneier. | |
1245 | ||
1246 | This is a variable key length cipher which can use keys from 32 | |
1247 | bits to 448 bits in length. It's fast, simple and specifically | |
1248 | designed for use on "large microprocessors". | |
1249 | ||
1250 | See also: | |
1251 | <http://www.schneier.com/blowfish.html> | |
1252 | ||
584fffc8 SS |
1253 | config CRYPTO_CAMELLIA |
1254 | tristate "Camellia cipher algorithms" | |
1255 | depends on CRYPTO | |
1256 | select CRYPTO_ALGAPI | |
1257 | help | |
1258 | Camellia cipher algorithms module. | |
1259 | ||
1260 | Camellia is a symmetric key block cipher developed jointly | |
1261 | at NTT and Mitsubishi Electric Corporation. | |
1262 | ||
1263 | The Camellia specifies three key sizes: 128, 192 and 256 bits. | |
1264 | ||
1265 | See also: | |
1266 | <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> | |
1267 | ||
0b95ec56 JK |
1268 | config CRYPTO_CAMELLIA_X86_64 |
1269 | tristate "Camellia cipher algorithm (x86_64)" | |
f21a7c19 | 1270 | depends on X86 && 64BIT |
0b95ec56 | 1271 | depends on CRYPTO |
1af6d037 | 1272 | select CRYPTO_BLKCIPHER |
964263af | 1273 | select CRYPTO_GLUE_HELPER_X86 |
0b95ec56 JK |
1274 | help |
1275 | Camellia cipher algorithm module (x86_64). | |
1276 | ||
1277 | Camellia is a symmetric key block cipher developed jointly | |
1278 | at NTT and Mitsubishi Electric Corporation. | |
1279 | ||
1280 | The Camellia specifies three key sizes: 128, 192 and 256 bits. | |
1281 | ||
1282 | See also: | |
d9b1d2e7 JK |
1283 | <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> |
1284 | ||
1285 | config CRYPTO_CAMELLIA_AESNI_AVX_X86_64 | |
1286 | tristate "Camellia cipher algorithm (x86_64/AES-NI/AVX)" | |
1287 | depends on X86 && 64BIT | |
1288 | depends on CRYPTO | |
44893bc2 | 1289 | select CRYPTO_BLKCIPHER |
d9b1d2e7 | 1290 | select CRYPTO_CAMELLIA_X86_64 |
44893bc2 EB |
1291 | select CRYPTO_GLUE_HELPER_X86 |
1292 | select CRYPTO_SIMD | |
d9b1d2e7 JK |
1293 | select CRYPTO_XTS |
1294 | help | |
1295 | Camellia cipher algorithm module (x86_64/AES-NI/AVX). | |
1296 | ||
1297 | Camellia is a symmetric key block cipher developed jointly | |
1298 | at NTT and Mitsubishi Electric Corporation. | |
1299 | ||
1300 | The Camellia specifies three key sizes: 128, 192 and 256 bits. | |
1301 | ||
1302 | See also: | |
0b95ec56 JK |
1303 | <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> |
1304 | ||
f3f935a7 JK |
1305 | config CRYPTO_CAMELLIA_AESNI_AVX2_X86_64 |
1306 | tristate "Camellia cipher algorithm (x86_64/AES-NI/AVX2)" | |
1307 | depends on X86 && 64BIT | |
1308 | depends on CRYPTO | |
f3f935a7 | 1309 | select CRYPTO_CAMELLIA_AESNI_AVX_X86_64 |
f3f935a7 JK |
1310 | help |
1311 | Camellia cipher algorithm module (x86_64/AES-NI/AVX2). | |
1312 | ||
1313 | Camellia is a symmetric key block cipher developed jointly | |
1314 | at NTT and Mitsubishi Electric Corporation. | |
1315 | ||
1316 | The Camellia specifies three key sizes: 128, 192 and 256 bits. | |
1317 | ||
1318 | See also: | |
1319 | <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> | |
1320 | ||
81658ad0 DM |
1321 | config CRYPTO_CAMELLIA_SPARC64 |
1322 | tristate "Camellia cipher algorithm (SPARC64)" | |
1323 | depends on SPARC64 | |
1324 | depends on CRYPTO | |
1325 | select CRYPTO_ALGAPI | |
1326 | help | |
1327 | Camellia cipher algorithm module (SPARC64). | |
1328 | ||
1329 | Camellia is a symmetric key block cipher developed jointly | |
1330 | at NTT and Mitsubishi Electric Corporation. | |
1331 | ||
1332 | The Camellia specifies three key sizes: 128, 192 and 256 bits. | |
1333 | ||
1334 | See also: | |
1335 | <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> | |
1336 | ||
044ab525 JK |
1337 | config CRYPTO_CAST_COMMON |
1338 | tristate | |
1339 | help | |
1340 | Common parts of the CAST cipher algorithms shared by the | |
1341 | generic c and the assembler implementations. | |
1342 | ||
1da177e4 LT |
1343 | config CRYPTO_CAST5 |
1344 | tristate "CAST5 (CAST-128) cipher algorithm" | |
cce9e06d | 1345 | select CRYPTO_ALGAPI |
044ab525 | 1346 | select CRYPTO_CAST_COMMON |
1da177e4 LT |
1347 | help |
1348 | The CAST5 encryption algorithm (synonymous with CAST-128) is | |
1349 | described in RFC2144. | |
1350 | ||
4d6d6a2c JG |
1351 | config CRYPTO_CAST5_AVX_X86_64 |
1352 | tristate "CAST5 (CAST-128) cipher algorithm (x86_64/AVX)" | |
1353 | depends on X86 && 64BIT | |
1e63183a | 1354 | select CRYPTO_BLKCIPHER |
4d6d6a2c | 1355 | select CRYPTO_CAST5 |
1e63183a EB |
1356 | select CRYPTO_CAST_COMMON |
1357 | select CRYPTO_SIMD | |
4d6d6a2c JG |
1358 | help |
1359 | The CAST5 encryption algorithm (synonymous with CAST-128) is | |
1360 | described in RFC2144. | |
1361 | ||
1362 | This module provides the Cast5 cipher algorithm that processes | |
1363 | sixteen blocks parallel using the AVX instruction set. | |
1364 | ||
1da177e4 LT |
1365 | config CRYPTO_CAST6 |
1366 | tristate "CAST6 (CAST-256) cipher algorithm" | |
cce9e06d | 1367 | select CRYPTO_ALGAPI |
044ab525 | 1368 | select CRYPTO_CAST_COMMON |
1da177e4 LT |
1369 | help |
1370 | The CAST6 encryption algorithm (synonymous with CAST-256) is | |
1371 | described in RFC2612. | |
1372 | ||
4ea1277d JG |
1373 | config CRYPTO_CAST6_AVX_X86_64 |
1374 | tristate "CAST6 (CAST-256) cipher algorithm (x86_64/AVX)" | |
1375 | depends on X86 && 64BIT | |
4bd96924 | 1376 | select CRYPTO_BLKCIPHER |
4ea1277d | 1377 | select CRYPTO_CAST6 |
4bd96924 EB |
1378 | select CRYPTO_CAST_COMMON |
1379 | select CRYPTO_GLUE_HELPER_X86 | |
1380 | select CRYPTO_SIMD | |
4ea1277d JG |
1381 | select CRYPTO_XTS |
1382 | help | |
1383 | The CAST6 encryption algorithm (synonymous with CAST-256) is | |
1384 | described in RFC2612. | |
1385 | ||
1386 | This module provides the Cast6 cipher algorithm that processes | |
1387 | eight blocks parallel using the AVX instruction set. | |
1388 | ||
584fffc8 SS |
1389 | config CRYPTO_DES |
1390 | tristate "DES and Triple DES EDE cipher algorithms" | |
cce9e06d | 1391 | select CRYPTO_ALGAPI |
1da177e4 | 1392 | help |
584fffc8 | 1393 | DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3). |
fb4f10ed | 1394 | |
c5aac2df DM |
1395 | config CRYPTO_DES_SPARC64 |
1396 | tristate "DES and Triple DES EDE cipher algorithms (SPARC64)" | |
97da37b3 | 1397 | depends on SPARC64 |
c5aac2df DM |
1398 | select CRYPTO_ALGAPI |
1399 | select CRYPTO_DES | |
1400 | help | |
1401 | DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3), | |
1402 | optimized using SPARC64 crypto opcodes. | |
1403 | ||
6574e6c6 JK |
1404 | config CRYPTO_DES3_EDE_X86_64 |
1405 | tristate "Triple DES EDE cipher algorithm (x86-64)" | |
1406 | depends on X86 && 64BIT | |
09c0f03b | 1407 | select CRYPTO_BLKCIPHER |
6574e6c6 JK |
1408 | select CRYPTO_DES |
1409 | help | |
1410 | Triple DES EDE (FIPS 46-3) algorithm. | |
1411 | ||
1412 | This module provides implementation of the Triple DES EDE cipher | |
1413 | algorithm that is optimized for x86-64 processors. Two versions of | |
1414 | algorithm are provided; regular processing one input block and | |
1415 | one that processes three blocks parallel. | |
1416 | ||
584fffc8 SS |
1417 | config CRYPTO_FCRYPT |
1418 | tristate "FCrypt cipher algorithm" | |
cce9e06d | 1419 | select CRYPTO_ALGAPI |
584fffc8 | 1420 | select CRYPTO_BLKCIPHER |
1da177e4 | 1421 | help |
584fffc8 | 1422 | FCrypt algorithm used by RxRPC. |
1da177e4 LT |
1423 | |
1424 | config CRYPTO_KHAZAD | |
1425 | tristate "Khazad cipher algorithm" | |
cce9e06d | 1426 | select CRYPTO_ALGAPI |
1da177e4 LT |
1427 | help |
1428 | Khazad cipher algorithm. | |
1429 | ||
1430 | Khazad was a finalist in the initial NESSIE competition. It is | |
1431 | an algorithm optimized for 64-bit processors with good performance | |
1432 | on 32-bit processors. Khazad uses an 128 bit key size. | |
1433 | ||
1434 | See also: | |
6d8de74c | 1435 | <http://www.larc.usp.br/~pbarreto/KhazadPage.html> |
1da177e4 | 1436 | |
2407d608 | 1437 | config CRYPTO_SALSA20 |
3b4afaf2 | 1438 | tristate "Salsa20 stream cipher algorithm" |
2407d608 TSH |
1439 | select CRYPTO_BLKCIPHER |
1440 | help | |
1441 | Salsa20 stream cipher algorithm. | |
1442 | ||
1443 | Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT | |
1444 | Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/> | |
974e4b75 TSH |
1445 | |
1446 | The Salsa20 stream cipher algorithm is designed by Daniel J. | |
1447 | Bernstein <[email protected]>. See <http://cr.yp.to/snuffle.html> | |
1448 | ||
c08d0e64 | 1449 | config CRYPTO_CHACHA20 |
aa762409 | 1450 | tristate "ChaCha stream cipher algorithms" |
c08d0e64 MW |
1451 | select CRYPTO_BLKCIPHER |
1452 | help | |
aa762409 | 1453 | The ChaCha20, XChaCha20, and XChaCha12 stream cipher algorithms. |
c08d0e64 MW |
1454 | |
1455 | ChaCha20 is a 256-bit high-speed stream cipher designed by Daniel J. | |
1456 | Bernstein and further specified in RFC7539 for use in IETF protocols. | |
de61d7ae | 1457 | This is the portable C implementation of ChaCha20. See also: |
c08d0e64 MW |
1458 | <http://cr.yp.to/chacha/chacha-20080128.pdf> |
1459 | ||
de61d7ae EB |
1460 | XChaCha20 is the application of the XSalsa20 construction to ChaCha20 |
1461 | rather than to Salsa20. XChaCha20 extends ChaCha20's nonce length | |
1462 | from 64 bits (or 96 bits using the RFC7539 convention) to 192 bits, | |
1463 | while provably retaining ChaCha20's security. See also: | |
1464 | <https://cr.yp.to/snuffle/xsalsa-20081128.pdf> | |
1465 | ||
aa762409 EB |
1466 | XChaCha12 is XChaCha20 reduced to 12 rounds, with correspondingly |
1467 | reduced security margin but increased performance. It can be needed | |
1468 | in some performance-sensitive scenarios. | |
1469 | ||
c9320b6d | 1470 | config CRYPTO_CHACHA20_X86_64 |
4af78261 | 1471 | tristate "ChaCha stream cipher algorithms (x86_64/SSSE3/AVX2/AVX-512VL)" |
c9320b6d MW |
1472 | depends on X86 && 64BIT |
1473 | select CRYPTO_BLKCIPHER | |
1474 | select CRYPTO_CHACHA20 | |
1475 | help | |
7a507d62 EB |
1476 | SSSE3, AVX2, and AVX-512VL optimized implementations of the ChaCha20, |
1477 | XChaCha20, and XChaCha12 stream ciphers. | |
c9320b6d | 1478 | |
584fffc8 SS |
1479 | config CRYPTO_SEED |
1480 | tristate "SEED cipher algorithm" | |
cce9e06d | 1481 | select CRYPTO_ALGAPI |
1da177e4 | 1482 | help |
584fffc8 | 1483 | SEED cipher algorithm (RFC4269). |
1da177e4 | 1484 | |
584fffc8 SS |
1485 | SEED is a 128-bit symmetric key block cipher that has been |
1486 | developed by KISA (Korea Information Security Agency) as a | |
1487 | national standard encryption algorithm of the Republic of Korea. | |
1488 | It is a 16 round block cipher with the key size of 128 bit. | |
1489 | ||
1490 | See also: | |
1491 | <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp> | |
1492 | ||
1493 | config CRYPTO_SERPENT | |
1494 | tristate "Serpent cipher algorithm" | |
cce9e06d | 1495 | select CRYPTO_ALGAPI |
1da177e4 | 1496 | help |
584fffc8 | 1497 | Serpent cipher algorithm, by Anderson, Biham & Knudsen. |
1da177e4 | 1498 | |
584fffc8 SS |
1499 | Keys are allowed to be from 0 to 256 bits in length, in steps |
1500 | of 8 bits. Also includes the 'Tnepres' algorithm, a reversed | |
1501 | variant of Serpent for compatibility with old kerneli.org code. | |
1502 | ||
1503 | See also: | |
1504 | <http://www.cl.cam.ac.uk/~rja14/serpent.html> | |
1505 | ||
937c30d7 JK |
1506 | config CRYPTO_SERPENT_SSE2_X86_64 |
1507 | tristate "Serpent cipher algorithm (x86_64/SSE2)" | |
1508 | depends on X86 && 64BIT | |
e0f409dc | 1509 | select CRYPTO_BLKCIPHER |
596d8750 | 1510 | select CRYPTO_GLUE_HELPER_X86 |
937c30d7 | 1511 | select CRYPTO_SERPENT |
e0f409dc | 1512 | select CRYPTO_SIMD |
937c30d7 JK |
1513 | help |
1514 | Serpent cipher algorithm, by Anderson, Biham & Knudsen. | |
1515 | ||
1516 | Keys are allowed to be from 0 to 256 bits in length, in steps | |
1517 | of 8 bits. | |
1518 | ||
1e6232f8 | 1519 | This module provides Serpent cipher algorithm that processes eight |
937c30d7 JK |
1520 | blocks parallel using SSE2 instruction set. |
1521 | ||
1522 | See also: | |
1523 | <http://www.cl.cam.ac.uk/~rja14/serpent.html> | |
1524 | ||
251496db JK |
1525 | config CRYPTO_SERPENT_SSE2_586 |
1526 | tristate "Serpent cipher algorithm (i586/SSE2)" | |
1527 | depends on X86 && !64BIT | |
e0f409dc | 1528 | select CRYPTO_BLKCIPHER |
596d8750 | 1529 | select CRYPTO_GLUE_HELPER_X86 |
251496db | 1530 | select CRYPTO_SERPENT |
e0f409dc | 1531 | select CRYPTO_SIMD |
251496db JK |
1532 | help |
1533 | Serpent cipher algorithm, by Anderson, Biham & Knudsen. | |
1534 | ||
1535 | Keys are allowed to be from 0 to 256 bits in length, in steps | |
1536 | of 8 bits. | |
1537 | ||
1538 | This module provides Serpent cipher algorithm that processes four | |
1539 | blocks parallel using SSE2 instruction set. | |
1540 | ||
1541 | See also: | |
1542 | <http://www.cl.cam.ac.uk/~rja14/serpent.html> | |
7efe4076 JG |
1543 | |
1544 | config CRYPTO_SERPENT_AVX_X86_64 | |
1545 | tristate "Serpent cipher algorithm (x86_64/AVX)" | |
1546 | depends on X86 && 64BIT | |
e16bf974 | 1547 | select CRYPTO_BLKCIPHER |
1d0debbd | 1548 | select CRYPTO_GLUE_HELPER_X86 |
7efe4076 | 1549 | select CRYPTO_SERPENT |
e16bf974 | 1550 | select CRYPTO_SIMD |
7efe4076 JG |
1551 | select CRYPTO_XTS |
1552 | help | |
1553 | Serpent cipher algorithm, by Anderson, Biham & Knudsen. | |
1554 | ||
1555 | Keys are allowed to be from 0 to 256 bits in length, in steps | |
1556 | of 8 bits. | |
1557 | ||
1558 | This module provides the Serpent cipher algorithm that processes | |
1559 | eight blocks parallel using the AVX instruction set. | |
1560 | ||
1561 | See also: | |
1562 | <http://www.cl.cam.ac.uk/~rja14/serpent.html> | |
251496db | 1563 | |
56d76c96 JK |
1564 | config CRYPTO_SERPENT_AVX2_X86_64 |
1565 | tristate "Serpent cipher algorithm (x86_64/AVX2)" | |
1566 | depends on X86 && 64BIT | |
56d76c96 | 1567 | select CRYPTO_SERPENT_AVX_X86_64 |
56d76c96 JK |
1568 | help |
1569 | Serpent cipher algorithm, by Anderson, Biham & Knudsen. | |
1570 | ||
1571 | Keys are allowed to be from 0 to 256 bits in length, in steps | |
1572 | of 8 bits. | |
1573 | ||
1574 | This module provides Serpent cipher algorithm that processes 16 | |
1575 | blocks parallel using AVX2 instruction set. | |
1576 | ||
1577 | See also: | |
1578 | <http://www.cl.cam.ac.uk/~rja14/serpent.html> | |
1579 | ||
747c8ce4 GBY |
1580 | config CRYPTO_SM4 |
1581 | tristate "SM4 cipher algorithm" | |
1582 | select CRYPTO_ALGAPI | |
1583 | help | |
1584 | SM4 cipher algorithms (OSCCA GB/T 32907-2016). | |
1585 | ||
1586 | SM4 (GBT.32907-2016) is a cryptographic standard issued by the | |
1587 | Organization of State Commercial Administration of China (OSCCA) | |
1588 | as an authorized cryptographic algorithms for the use within China. | |
1589 | ||
1590 | SMS4 was originally created for use in protecting wireless | |
1591 | networks, and is mandated in the Chinese National Standard for | |
1592 | Wireless LAN WAPI (Wired Authentication and Privacy Infrastructure) | |
1593 | (GB.15629.11-2003). | |
1594 | ||
1595 | The latest SM4 standard (GBT.32907-2016) was proposed by OSCCA and | |
1596 | standardized through TC 260 of the Standardization Administration | |
1597 | of the People's Republic of China (SAC). | |
1598 | ||
1599 | The input, output, and key of SMS4 are each 128 bits. | |
1600 | ||
1601 | See also: <https://eprint.iacr.org/2008/329.pdf> | |
1602 | ||
1603 | If unsure, say N. | |
1604 | ||
584fffc8 SS |
1605 | config CRYPTO_TEA |
1606 | tristate "TEA, XTEA and XETA cipher algorithms" | |
cce9e06d | 1607 | select CRYPTO_ALGAPI |
1da177e4 | 1608 | help |
584fffc8 | 1609 | TEA cipher algorithm. |
1da177e4 | 1610 | |
584fffc8 SS |
1611 | Tiny Encryption Algorithm is a simple cipher that uses |
1612 | many rounds for security. It is very fast and uses | |
1613 | little memory. | |
1614 | ||
1615 | Xtendend Tiny Encryption Algorithm is a modification to | |
1616 | the TEA algorithm to address a potential key weakness | |
1617 | in the TEA algorithm. | |
1618 | ||
1619 | Xtendend Encryption Tiny Algorithm is a mis-implementation | |
1620 | of the XTEA algorithm for compatibility purposes. | |
1621 | ||
1622 | config CRYPTO_TWOFISH | |
1623 | tristate "Twofish cipher algorithm" | |
04ac7db3 | 1624 | select CRYPTO_ALGAPI |
584fffc8 | 1625 | select CRYPTO_TWOFISH_COMMON |
04ac7db3 | 1626 | help |
584fffc8 | 1627 | Twofish cipher algorithm. |
04ac7db3 | 1628 | |
584fffc8 SS |
1629 | Twofish was submitted as an AES (Advanced Encryption Standard) |
1630 | candidate cipher by researchers at CounterPane Systems. It is a | |
1631 | 16 round block cipher supporting key sizes of 128, 192, and 256 | |
1632 | bits. | |
04ac7db3 | 1633 | |
584fffc8 SS |
1634 | See also: |
1635 | <http://www.schneier.com/twofish.html> | |
1636 | ||
1637 | config CRYPTO_TWOFISH_COMMON | |
1638 | tristate | |
1639 | help | |
1640 | Common parts of the Twofish cipher algorithm shared by the | |
1641 | generic c and the assembler implementations. | |
1642 | ||
1643 | config CRYPTO_TWOFISH_586 | |
1644 | tristate "Twofish cipher algorithms (i586)" | |
1645 | depends on (X86 || UML_X86) && !64BIT | |
1646 | select CRYPTO_ALGAPI | |
1647 | select CRYPTO_TWOFISH_COMMON | |
1648 | help | |
1649 | Twofish cipher algorithm. | |
1650 | ||
1651 | Twofish was submitted as an AES (Advanced Encryption Standard) | |
1652 | candidate cipher by researchers at CounterPane Systems. It is a | |
1653 | 16 round block cipher supporting key sizes of 128, 192, and 256 | |
1654 | bits. | |
04ac7db3 NT |
1655 | |
1656 | See also: | |
584fffc8 | 1657 | <http://www.schneier.com/twofish.html> |
04ac7db3 | 1658 | |
584fffc8 SS |
1659 | config CRYPTO_TWOFISH_X86_64 |
1660 | tristate "Twofish cipher algorithm (x86_64)" | |
1661 | depends on (X86 || UML_X86) && 64BIT | |
cce9e06d | 1662 | select CRYPTO_ALGAPI |
584fffc8 | 1663 | select CRYPTO_TWOFISH_COMMON |
1da177e4 | 1664 | help |
584fffc8 | 1665 | Twofish cipher algorithm (x86_64). |
1da177e4 | 1666 | |
584fffc8 SS |
1667 | Twofish was submitted as an AES (Advanced Encryption Standard) |
1668 | candidate cipher by researchers at CounterPane Systems. It is a | |
1669 | 16 round block cipher supporting key sizes of 128, 192, and 256 | |
1670 | bits. | |
1671 | ||
1672 | See also: | |
1673 | <http://www.schneier.com/twofish.html> | |
1674 | ||
8280daad JK |
1675 | config CRYPTO_TWOFISH_X86_64_3WAY |
1676 | tristate "Twofish cipher algorithm (x86_64, 3-way parallel)" | |
f21a7c19 | 1677 | depends on X86 && 64BIT |
37992fa4 | 1678 | select CRYPTO_BLKCIPHER |
8280daad JK |
1679 | select CRYPTO_TWOFISH_COMMON |
1680 | select CRYPTO_TWOFISH_X86_64 | |
414cb5e7 | 1681 | select CRYPTO_GLUE_HELPER_X86 |
8280daad JK |
1682 | help |
1683 | Twofish cipher algorithm (x86_64, 3-way parallel). | |
1684 | ||
1685 | Twofish was submitted as an AES (Advanced Encryption Standard) | |
1686 | candidate cipher by researchers at CounterPane Systems. It is a | |
1687 | 16 round block cipher supporting key sizes of 128, 192, and 256 | |
1688 | bits. | |
1689 | ||
1690 | This module provides Twofish cipher algorithm that processes three | |
1691 | blocks parallel, utilizing resources of out-of-order CPUs better. | |
1692 | ||
1693 | See also: | |
1694 | <http://www.schneier.com/twofish.html> | |
1695 | ||
107778b5 JG |
1696 | config CRYPTO_TWOFISH_AVX_X86_64 |
1697 | tristate "Twofish cipher algorithm (x86_64/AVX)" | |
1698 | depends on X86 && 64BIT | |
0e6ab46d | 1699 | select CRYPTO_BLKCIPHER |
a7378d4e | 1700 | select CRYPTO_GLUE_HELPER_X86 |
0e6ab46d | 1701 | select CRYPTO_SIMD |
107778b5 JG |
1702 | select CRYPTO_TWOFISH_COMMON |
1703 | select CRYPTO_TWOFISH_X86_64 | |
1704 | select CRYPTO_TWOFISH_X86_64_3WAY | |
107778b5 JG |
1705 | help |
1706 | Twofish cipher algorithm (x86_64/AVX). | |
1707 | ||
1708 | Twofish was submitted as an AES (Advanced Encryption Standard) | |
1709 | candidate cipher by researchers at CounterPane Systems. It is a | |
1710 | 16 round block cipher supporting key sizes of 128, 192, and 256 | |
1711 | bits. | |
1712 | ||
1713 | This module provides the Twofish cipher algorithm that processes | |
1714 | eight blocks parallel using the AVX Instruction Set. | |
1715 | ||
1716 | See also: | |
1717 | <http://www.schneier.com/twofish.html> | |
1718 | ||
584fffc8 SS |
1719 | comment "Compression" |
1720 | ||
1721 | config CRYPTO_DEFLATE | |
1722 | tristate "Deflate compression algorithm" | |
1723 | select CRYPTO_ALGAPI | |
f6ded09d | 1724 | select CRYPTO_ACOMP2 |
584fffc8 SS |
1725 | select ZLIB_INFLATE |
1726 | select ZLIB_DEFLATE | |
3c09f17c | 1727 | help |
584fffc8 SS |
1728 | This is the Deflate algorithm (RFC1951), specified for use in |
1729 | IPSec with the IPCOMP protocol (RFC3173, RFC2394). | |
1730 | ||
1731 | You will most probably want this if using IPSec. | |
3c09f17c | 1732 | |
0b77abb3 ZS |
1733 | config CRYPTO_LZO |
1734 | tristate "LZO compression algorithm" | |
1735 | select CRYPTO_ALGAPI | |
ac9d2c4b | 1736 | select CRYPTO_ACOMP2 |
0b77abb3 ZS |
1737 | select LZO_COMPRESS |
1738 | select LZO_DECOMPRESS | |
1739 | help | |
1740 | This is the LZO algorithm. | |
1741 | ||
35a1fc18 SJ |
1742 | config CRYPTO_842 |
1743 | tristate "842 compression algorithm" | |
2062c5b6 | 1744 | select CRYPTO_ALGAPI |
6a8de3ae | 1745 | select CRYPTO_ACOMP2 |
2062c5b6 DS |
1746 | select 842_COMPRESS |
1747 | select 842_DECOMPRESS | |
35a1fc18 SJ |
1748 | help |
1749 | This is the 842 algorithm. | |
0ea8530d CM |
1750 | |
1751 | config CRYPTO_LZ4 | |
1752 | tristate "LZ4 compression algorithm" | |
1753 | select CRYPTO_ALGAPI | |
8cd9330e | 1754 | select CRYPTO_ACOMP2 |
0ea8530d CM |
1755 | select LZ4_COMPRESS |
1756 | select LZ4_DECOMPRESS | |
1757 | help | |
1758 | This is the LZ4 algorithm. | |
1759 | ||
1760 | config CRYPTO_LZ4HC | |
1761 | tristate "LZ4HC compression algorithm" | |
1762 | select CRYPTO_ALGAPI | |
91d53d96 | 1763 | select CRYPTO_ACOMP2 |
0ea8530d CM |
1764 | select LZ4HC_COMPRESS |
1765 | select LZ4_DECOMPRESS | |
1766 | help | |
1767 | This is the LZ4 high compression mode algorithm. | |
35a1fc18 | 1768 | |
d28fc3db NT |
1769 | config CRYPTO_ZSTD |
1770 | tristate "Zstd compression algorithm" | |
1771 | select CRYPTO_ALGAPI | |
1772 | select CRYPTO_ACOMP2 | |
1773 | select ZSTD_COMPRESS | |
1774 | select ZSTD_DECOMPRESS | |
1775 | help | |
1776 | This is the zstd algorithm. | |
1777 | ||
17f0f4a4 NH |
1778 | comment "Random Number Generation" |
1779 | ||
1780 | config CRYPTO_ANSI_CPRNG | |
1781 | tristate "Pseudo Random Number Generation for Cryptographic modules" | |
1782 | select CRYPTO_AES | |
1783 | select CRYPTO_RNG | |
17f0f4a4 NH |
1784 | help |
1785 | This option enables the generic pseudo random number generator | |
1786 | for cryptographic modules. Uses the Algorithm specified in | |
7dd607e8 JK |
1787 | ANSI X9.31 A.2.4. Note that this option must be enabled if |
1788 | CRYPTO_FIPS is selected | |
17f0f4a4 | 1789 | |
f2c89a10 | 1790 | menuconfig CRYPTO_DRBG_MENU |
419090c6 | 1791 | tristate "NIST SP800-90A DRBG" |
419090c6 SM |
1792 | help |
1793 | NIST SP800-90A compliant DRBG. In the following submenu, one or | |
1794 | more of the DRBG types must be selected. | |
1795 | ||
f2c89a10 | 1796 | if CRYPTO_DRBG_MENU |
419090c6 SM |
1797 | |
1798 | config CRYPTO_DRBG_HMAC | |
401e4238 | 1799 | bool |
419090c6 | 1800 | default y |
419090c6 | 1801 | select CRYPTO_HMAC |
826775bb | 1802 | select CRYPTO_SHA256 |
419090c6 SM |
1803 | |
1804 | config CRYPTO_DRBG_HASH | |
1805 | bool "Enable Hash DRBG" | |
826775bb | 1806 | select CRYPTO_SHA256 |
419090c6 SM |
1807 | help |
1808 | Enable the Hash DRBG variant as defined in NIST SP800-90A. | |
1809 | ||
1810 | config CRYPTO_DRBG_CTR | |
1811 | bool "Enable CTR DRBG" | |
419090c6 | 1812 | select CRYPTO_AES |
35591285 | 1813 | depends on CRYPTO_CTR |
419090c6 SM |
1814 | help |
1815 | Enable the CTR DRBG variant as defined in NIST SP800-90A. | |
1816 | ||
f2c89a10 HX |
1817 | config CRYPTO_DRBG |
1818 | tristate | |
401e4238 | 1819 | default CRYPTO_DRBG_MENU |
f2c89a10 | 1820 | select CRYPTO_RNG |
bb5530e4 | 1821 | select CRYPTO_JITTERENTROPY |
f2c89a10 HX |
1822 | |
1823 | endif # if CRYPTO_DRBG_MENU | |
419090c6 | 1824 | |
bb5530e4 SM |
1825 | config CRYPTO_JITTERENTROPY |
1826 | tristate "Jitterentropy Non-Deterministic Random Number Generator" | |
2f313e02 | 1827 | select CRYPTO_RNG |
bb5530e4 SM |
1828 | help |
1829 | The Jitterentropy RNG is a noise that is intended | |
1830 | to provide seed to another RNG. The RNG does not | |
1831 | perform any cryptographic whitening of the generated | |
1832 | random numbers. This Jitterentropy RNG registers with | |
1833 | the kernel crypto API and can be used by any caller. | |
1834 | ||
03c8efc1 HX |
1835 | config CRYPTO_USER_API |
1836 | tristate | |
1837 | ||
fe869cdb HX |
1838 | config CRYPTO_USER_API_HASH |
1839 | tristate "User-space interface for hash algorithms" | |
7451708f | 1840 | depends on NET |
fe869cdb HX |
1841 | select CRYPTO_HASH |
1842 | select CRYPTO_USER_API | |
1843 | help | |
1844 | This option enables the user-spaces interface for hash | |
1845 | algorithms. | |
1846 | ||
8ff59090 HX |
1847 | config CRYPTO_USER_API_SKCIPHER |
1848 | tristate "User-space interface for symmetric key cipher algorithms" | |
7451708f | 1849 | depends on NET |
8ff59090 HX |
1850 | select CRYPTO_BLKCIPHER |
1851 | select CRYPTO_USER_API | |
1852 | help | |
1853 | This option enables the user-spaces interface for symmetric | |
1854 | key cipher algorithms. | |
1855 | ||
2f375538 SM |
1856 | config CRYPTO_USER_API_RNG |
1857 | tristate "User-space interface for random number generator algorithms" | |
1858 | depends on NET | |
1859 | select CRYPTO_RNG | |
1860 | select CRYPTO_USER_API | |
1861 | help | |
1862 | This option enables the user-spaces interface for random | |
1863 | number generator algorithms. | |
1864 | ||
b64a2d95 HX |
1865 | config CRYPTO_USER_API_AEAD |
1866 | tristate "User-space interface for AEAD cipher algorithms" | |
1867 | depends on NET | |
1868 | select CRYPTO_AEAD | |
72548b09 SM |
1869 | select CRYPTO_BLKCIPHER |
1870 | select CRYPTO_NULL | |
b64a2d95 HX |
1871 | select CRYPTO_USER_API |
1872 | help | |
1873 | This option enables the user-spaces interface for AEAD | |
1874 | cipher algorithms. | |
1875 | ||
cac5818c CL |
1876 | config CRYPTO_STATS |
1877 | bool "Crypto usage statistics for User-space" | |
a6a31385 | 1878 | depends on CRYPTO_USER |
cac5818c CL |
1879 | help |
1880 | This option enables the gathering of crypto stats. | |
1881 | This will collect: | |
1882 | - encrypt/decrypt size and numbers of symmeric operations | |
1883 | - compress/decompress size and numbers of compress operations | |
1884 | - size and numbers of hash operations | |
1885 | - encrypt/decrypt/sign/verify numbers for asymmetric operations | |
1886 | - generate/seed numbers for rng operations | |
1887 | ||
ee08997f DK |
1888 | config CRYPTO_HASH_INFO |
1889 | bool | |
1890 | ||
1da177e4 | 1891 | source "drivers/crypto/Kconfig" |
8636a1f9 MY |
1892 | source "crypto/asymmetric_keys/Kconfig" |
1893 | source "certs/Kconfig" | |
1da177e4 | 1894 | |
cce9e06d | 1895 | endif # if CRYPTO |