diff options
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r-- | crypto/Kconfig | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index 82d4d454e1ff..ae9c3ceb2867 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig | |||
@@ -100,6 +100,14 @@ config CRYPTO_MANAGER2 | |||
100 | select CRYPTO_BLKCIPHER2 | 100 | select CRYPTO_BLKCIPHER2 |
101 | select CRYPTO_PCOMP2 | 101 | select CRYPTO_PCOMP2 |
102 | 102 | ||
103 | config CRYPTO_USER | ||
104 | tristate "Userspace cryptographic algorithm configuration" | ||
105 | depends on NET | ||
106 | select CRYPTO_MANAGER | ||
107 | help | ||
108 | Userapace configuration for cryptographic instantiations such as | ||
109 | cbc(aes). | ||
110 | |||
103 | config CRYPTO_MANAGER_DISABLE_TESTS | 111 | config CRYPTO_MANAGER_DISABLE_TESTS |
104 | bool "Disable run-time self tests" | 112 | bool "Disable run-time self tests" |
105 | default y | 113 | default y |
@@ -406,6 +414,16 @@ config CRYPTO_SHA1 | |||
406 | help | 414 | help |
407 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). | 415 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). |
408 | 416 | ||
417 | config CRYPTO_SHA1_SSSE3 | ||
418 | tristate "SHA1 digest algorithm (SSSE3/AVX)" | ||
419 | depends on X86 && 64BIT | ||
420 | select CRYPTO_SHA1 | ||
421 | select CRYPTO_HASH | ||
422 | help | ||
423 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented | ||
424 | using Supplemental SSE3 (SSSE3) instructions or Advanced Vector | ||
425 | Extensions (AVX), when available. | ||
426 | |||
409 | config CRYPTO_SHA256 | 427 | config CRYPTO_SHA256 |
410 | tristate "SHA224 and SHA256 digest algorithm" | 428 | tristate "SHA224 and SHA256 digest algorithm" |
411 | select CRYPTO_HASH | 429 | select CRYPTO_HASH |
@@ -588,6 +606,7 @@ config CRYPTO_ARC4 | |||
588 | config CRYPTO_BLOWFISH | 606 | config CRYPTO_BLOWFISH |
589 | tristate "Blowfish cipher algorithm" | 607 | tristate "Blowfish cipher algorithm" |
590 | select CRYPTO_ALGAPI | 608 | select CRYPTO_ALGAPI |
609 | select CRYPTO_BLOWFISH_COMMON | ||
591 | help | 610 | help |
592 | Blowfish cipher algorithm, by Bruce Schneier. | 611 | Blowfish cipher algorithm, by Bruce Schneier. |
593 | 612 | ||
@@ -598,6 +617,30 @@ config CRYPTO_BLOWFISH | |||
598 | See also: | 617 | See also: |
599 | <http://www.schneier.com/blowfish.html> | 618 | <http://www.schneier.com/blowfish.html> |
600 | 619 | ||
620 | config CRYPTO_BLOWFISH_COMMON | ||
621 | tristate | ||
622 | help | ||
623 | Common parts of the Blowfish cipher algorithm shared by the | ||
624 | generic c and the assembler implementations. | ||
625 | |||
626 | See also: | ||
627 | <http://www.schneier.com/blowfish.html> | ||
628 | |||
629 | config CRYPTO_BLOWFISH_X86_64 | ||
630 | tristate "Blowfish cipher algorithm (x86_64)" | ||
631 | depends on (X86 || UML_X86) && 64BIT | ||
632 | select CRYPTO_ALGAPI | ||
633 | select CRYPTO_BLOWFISH_COMMON | ||
634 | help | ||
635 | Blowfish cipher algorithm (x86_64), by Bruce Schneier. | ||
636 | |||
637 | This is a variable key length cipher which can use keys from 32 | ||
638 | bits to 448 bits in length. It's fast, simple and specifically | ||
639 | designed for use on "large microprocessors". | ||
640 | |||
641 | See also: | ||
642 | <http://www.schneier.com/blowfish.html> | ||
643 | |||
601 | config CRYPTO_CAMELLIA | 644 | config CRYPTO_CAMELLIA |
602 | tristate "Camellia cipher algorithms" | 645 | tristate "Camellia cipher algorithms" |
603 | depends on CRYPTO | 646 | depends on CRYPTO |
@@ -791,6 +834,26 @@ config CRYPTO_TWOFISH_X86_64 | |||
791 | See also: | 834 | See also: |
792 | <http://www.schneier.com/twofish.html> | 835 | <http://www.schneier.com/twofish.html> |
793 | 836 | ||
837 | config CRYPTO_TWOFISH_X86_64_3WAY | ||
838 | tristate "Twofish cipher algorithm (x86_64, 3-way parallel)" | ||
839 | depends on (X86 || UML_X86) && 64BIT | ||
840 | select CRYPTO_ALGAPI | ||
841 | select CRYPTO_TWOFISH_COMMON | ||
842 | select CRYPTO_TWOFISH_X86_64 | ||
843 | help | ||
844 | Twofish cipher algorithm (x86_64, 3-way parallel). | ||
845 | |||
846 | Twofish was submitted as an AES (Advanced Encryption Standard) | ||
847 | candidate cipher by researchers at CounterPane Systems. It is a | ||
848 | 16 round block cipher supporting key sizes of 128, 192, and 256 | ||
849 | bits. | ||
850 | |||
851 | This module provides Twofish cipher algorithm that processes three | ||
852 | blocks parallel, utilizing resources of out-of-order CPUs better. | ||
853 | |||
854 | See also: | ||
855 | <http://www.schneier.com/twofish.html> | ||
856 | |||
794 | comment "Compression" | 857 | comment "Compression" |
795 | 858 | ||
796 | config CRYPTO_DEFLATE | 859 | config CRYPTO_DEFLATE |