2 # Generic algorithms support
8 # async_tx api: hardware offloaded memory transfer/transform support
10 source "crypto/async_tx/Kconfig"
13 # Cryptographic API Configuration
16 tristate "Cryptographic API"
18 This option provides the core Cryptographic API.
22 comment "Crypto core or helper"
25 bool "FIPS 200 compliance"
26 depends on CRYPTO_ANSI_CPRNG && !CRYPTO_MANAGER_DISABLE_TESTS
28 This options enables the fips boot option which is
29 required if you want to system to operate in a FIPS 200
30 certification. You should say no unless you know what
37 This option provides the API for cryptographic algorithms.
51 config CRYPTO_BLKCIPHER
53 select CRYPTO_BLKCIPHER2
56 config CRYPTO_BLKCIPHER2
60 select CRYPTO_WORKQUEUE
90 tristate "Cryptographic algorithm manager"
91 select CRYPTO_MANAGER2
93 Create default cryptographic template instantiations such as
96 config CRYPTO_MANAGER2
97 def_tristate CRYPTO_MANAGER || (CRYPTO_MANAGER!=n && CRYPTO_ALGAPI=y)
100 select CRYPTO_BLKCIPHER2
104 tristate "Userspace cryptographic algorithm configuration"
106 select CRYPTO_MANAGER
108 Userspace configuration for cryptographic instantiations such as
111 config CRYPTO_MANAGER_DISABLE_TESTS
112 bool "Disable run-time self tests"
114 depends on CRYPTO_MANAGER2
116 Disable run-time self tests that normally take place at
117 algorithm registration.
119 config CRYPTO_GF128MUL
120 tristate "GF(2^128) multiplication functions"
122 Efficient table driven implementation of multiplications in the
123 field GF(2^128). This is needed by some cypher modes. This
124 option will be selected automatically if you select such a
125 cipher mode. Only select this option by hand if you expect to load
126 an external module that requires these functions.
129 tristate "Null algorithms"
131 select CRYPTO_BLKCIPHER
134 These are 'Null' algorithms, used by IPsec, which do nothing.
137 tristate "Parallel crypto engine (EXPERIMENTAL)"
138 depends on SMP && EXPERIMENTAL
140 select CRYPTO_MANAGER
143 This converts an arbitrary crypto algorithm into a parallel
144 algorithm that executes in kernel threads.
146 config CRYPTO_WORKQUEUE
150 tristate "Software async crypto daemon"
151 select CRYPTO_BLKCIPHER
153 select CRYPTO_MANAGER
154 select CRYPTO_WORKQUEUE
156 This is a generic software asynchronous crypto daemon that
157 converts an arbitrary synchronous software crypto algorithm
158 into an asynchronous algorithm that executes in a kernel thread.
160 config CRYPTO_AUTHENC
161 tristate "Authenc support"
163 select CRYPTO_BLKCIPHER
164 select CRYPTO_MANAGER
167 Authenc: Combined mode wrapper for IPsec.
168 This is required for IPSec.
171 tristate "Testing module"
173 select CRYPTO_MANAGER
175 Quick & dirty crypto test module.
177 config CRYPTO_ABLK_HELPER_X86
182 config CRYPTO_GLUE_HELPER_X86
187 comment "Authenticated Encryption with Associated Data"
190 tristate "CCM support"
194 Support for Counter with CBC MAC. Required for IPsec.
197 tristate "GCM/GMAC support"
202 Support for Galois/Counter Mode (GCM) and Galois Message
203 Authentication Code (GMAC). Required for IPSec.
206 tristate "Sequence Number IV Generator"
208 select CRYPTO_BLKCIPHER
211 This IV generator generates an IV based on a sequence number by
212 xoring it with a salt. This algorithm is mainly useful for CTR
214 comment "Block modes"
217 tristate "CBC support"
218 select CRYPTO_BLKCIPHER
219 select CRYPTO_MANAGER
221 CBC: Cipher Block Chaining mode
222 This block cipher algorithm is required for IPSec.
225 tristate "CTR support"
226 select CRYPTO_BLKCIPHER
228 select CRYPTO_MANAGER
231 This block cipher algorithm is required for IPSec.
234 tristate "CTS support"
235 select CRYPTO_BLKCIPHER
237 CTS: Cipher Text Stealing
238 This is the Cipher Text Stealing mode as described by
239 Section 8 of rfc2040 and referenced by rfc3962.
240 (rfc3962 includes errata information in its Appendix A)
241 This mode is required for Kerberos gss mechanism support
245 tristate "ECB support"
246 select CRYPTO_BLKCIPHER
247 select CRYPTO_MANAGER
249 ECB: Electronic CodeBook mode
250 This is the simplest block cipher algorithm. It simply encrypts
251 the input block by block.
254 tristate "LRW support"
255 select CRYPTO_BLKCIPHER
256 select CRYPTO_MANAGER
257 select CRYPTO_GF128MUL
259 LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable
260 narrow block cipher mode for dm-crypt. Use it with cipher
261 specification string aes-lrw-benbi, the key must be 256, 320 or 384.
262 The first 128, 192 or 256 bits in the key are used for AES and the
263 rest is used to tie each cipher block to its logical position.
266 tristate "PCBC support"
267 select CRYPTO_BLKCIPHER
268 select CRYPTO_MANAGER
270 PCBC: Propagating Cipher Block Chaining mode
271 This block cipher algorithm is required for RxRPC.
274 tristate "XTS support"
275 select CRYPTO_BLKCIPHER
276 select CRYPTO_MANAGER
277 select CRYPTO_GF128MUL
279 XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain,
280 key size 256, 384 or 512 bits. This implementation currently
281 can't handle a sectorsize which is not a multiple of 16 bytes.
286 tristate "HMAC support"
288 select CRYPTO_MANAGER
290 HMAC: Keyed-Hashing for Message Authentication (RFC2104).
291 This is required for IPSec.
294 tristate "XCBC support"
295 depends on EXPERIMENTAL
297 select CRYPTO_MANAGER
299 XCBC: Keyed-Hashing with encryption algorithm
300 http://www.ietf.org/rfc/rfc3566.txt
301 http://csrc.nist.gov/encryption/modes/proposedmodes/
302 xcbc-mac/xcbc-mac-spec.pdf
305 tristate "VMAC support"
306 depends on EXPERIMENTAL
308 select CRYPTO_MANAGER
310 VMAC is a message authentication algorithm designed for
311 very high speed on 64-bit architectures.
314 <http://fastcrypto.org/vmac>
319 tristate "CRC32c CRC algorithm"
323 Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used
324 by iSCSI for header and data digests and by others.
325 See Castagnoli93. Module will be crc32c.
327 config CRYPTO_CRC32C_X86_64
329 depends on X86 && 64BIT
332 In Intel processor with SSE4.2 supported, the processor will
333 support CRC32C calculation using hardware accelerated CRC32
334 instruction optimized with PCLMULQDQ instruction when available.
336 config CRYPTO_CRC32C_INTEL
337 tristate "CRC32c INTEL hardware acceleration"
339 select CRYPTO_CRC32C_X86_64 if 64BIT
342 In Intel processor with SSE4.2 supported, the processor will
343 support CRC32C implementation using hardware accelerated CRC32
344 instruction. This option will create 'crc32c-intel' module,
345 which will enable any routine to use the CRC32 instruction to
346 gain performance compared with software implementation.
347 Module will be crc32c-intel.
349 config CRYPTO_CRC32C_SPARC64
350 tristate "CRC32c CRC algorithm (SPARC64)"
355 CRC32c CRC algorithm implemented using sparc64 crypto instructions,
359 tristate "GHASH digest algorithm"
360 select CRYPTO_GF128MUL
362 GHASH is message digest algorithm for GCM (Galois/Counter Mode).
365 tristate "MD4 digest algorithm"
368 MD4 message digest algorithm (RFC1320).
371 tristate "MD5 digest algorithm"
374 MD5 message digest algorithm (RFC1321).
376 config CRYPTO_MD5_SPARC64
377 tristate "MD5 digest algorithm (SPARC64)"
382 MD5 message digest algorithm (RFC1321) implemented
383 using sparc64 crypto instructions, when available.
385 config CRYPTO_MICHAEL_MIC
386 tristate "Michael MIC keyed digest algorithm"
389 Michael MIC is used for message integrity protection in TKIP
390 (IEEE 802.11i). This algorithm is required for TKIP, but it
391 should not be used for other purposes because of the weakness
395 tristate "RIPEMD-128 digest algorithm"
398 RIPEMD-128 (ISO/IEC 10118-3:2004).
400 RIPEMD-128 is a 128-bit cryptographic hash function. It should only
401 be used as a secure replacement for RIPEMD. For other use cases,
402 RIPEMD-160 should be used.
404 Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
405 See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
408 tristate "RIPEMD-160 digest algorithm"
411 RIPEMD-160 (ISO/IEC 10118-3:2004).
413 RIPEMD-160 is a 160-bit cryptographic hash function. It is intended
414 to be used as a secure replacement for the 128-bit hash functions
415 MD4, MD5 and it's predecessor RIPEMD
416 (not to be confused with RIPEMD-128).
418 It's speed is comparable to SHA1 and there are no known attacks
421 Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
422 See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
425 tristate "RIPEMD-256 digest algorithm"
428 RIPEMD-256 is an optional extension of RIPEMD-128 with a
429 256 bit hash. It is intended for applications that require
430 longer hash-results, without needing a larger security level
433 Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
434 See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
437 tristate "RIPEMD-320 digest algorithm"
440 RIPEMD-320 is an optional extension of RIPEMD-160 with a
441 320 bit hash. It is intended for applications that require
442 longer hash-results, without needing a larger security level
445 Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
446 See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
449 tristate "SHA1 digest algorithm"
452 SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
454 config CRYPTO_SHA1_SSSE3
455 tristate "SHA1 digest algorithm (SSSE3/AVX)"
456 depends on X86 && 64BIT
460 SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented
461 using Supplemental SSE3 (SSSE3) instructions or Advanced Vector
462 Extensions (AVX), when available.
464 config CRYPTO_SHA1_SPARC64
465 tristate "SHA1 digest algorithm (SPARC64)"
470 SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented
471 using sparc64 crypto instructions, when available.
473 config CRYPTO_SHA1_ARM
474 tristate "SHA1 digest algorithm (ARM-asm)"
479 SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented
480 using optimized ARM assembler.
482 config CRYPTO_SHA1_PPC
483 tristate "SHA1 digest algorithm (powerpc)"
486 This is the powerpc hardware accelerated implementation of the
487 SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
490 tristate "SHA224 and SHA256 digest algorithm"
493 SHA256 secure hash standard (DFIPS 180-2).
495 This version of SHA implements a 256 bit hash with 128 bits of
496 security against collision attacks.
498 This code also includes SHA-224, a 224 bit hash with 112 bits
499 of security against collision attacks.
501 config CRYPTO_SHA256_SPARC64
502 tristate "SHA224 and SHA256 digest algorithm (SPARC64)"
507 SHA-256 secure hash standard (DFIPS 180-2) implemented
508 using sparc64 crypto instructions, when available.
511 tristate "SHA384 and SHA512 digest algorithms"
514 SHA512 secure hash standard (DFIPS 180-2).
516 This version of SHA implements a 512 bit hash with 256 bits of
517 security against collision attacks.
519 This code also includes SHA-384, a 384 bit hash with 192 bits
520 of security against collision attacks.
522 config CRYPTO_SHA512_SPARC64
523 tristate "SHA384 and SHA512 digest algorithm (SPARC64)"
528 SHA-512 secure hash standard (DFIPS 180-2) implemented
529 using sparc64 crypto instructions, when available.
532 tristate "Tiger digest algorithms"
535 Tiger hash algorithm 192, 160 and 128-bit hashes
537 Tiger is a hash function optimized for 64-bit processors while
538 still having decent performance on 32-bit processors.
539 Tiger was developed by Ross Anderson and Eli Biham.
542 <http://www.cs.technion.ac.il/~biham/Reports/Tiger/>.
545 tristate "Whirlpool digest algorithms"
548 Whirlpool hash algorithm 512, 384 and 256-bit hashes
550 Whirlpool-512 is part of the NESSIE cryptographic primitives.
551 Whirlpool will be part of the ISO/IEC 10118-3:2003(E) standard
554 <http://www.larc.usp.br/~pbarreto/WhirlpoolPage.html>
556 config CRYPTO_GHASH_CLMUL_NI_INTEL
557 tristate "GHASH digest algorithm (CLMUL-NI accelerated)"
558 depends on X86 && 64BIT
561 GHASH is message digest algorithm for GCM (Galois/Counter Mode).
562 The implementation is accelerated by CLMUL-NI of Intel.
567 tristate "AES cipher algorithms"
570 AES cipher algorithms (FIPS-197). AES uses the Rijndael
573 Rijndael appears to be consistently a very good performer in
574 both hardware and software across a wide range of computing
575 environments regardless of its use in feedback or non-feedback
576 modes. Its key setup time is excellent, and its key agility is
577 good. Rijndael's very low memory requirements make it very well
578 suited for restricted-space environments, in which it also
579 demonstrates excellent performance. Rijndael's operations are
580 among the easiest to defend against power and timing attacks.
582 The AES specifies three key sizes: 128, 192 and 256 bits
584 See <http://csrc.nist.gov/CryptoToolkit/aes/> for more information.
586 config CRYPTO_AES_586
587 tristate "AES cipher algorithms (i586)"
588 depends on (X86 || UML_X86) && !64BIT
592 AES cipher algorithms (FIPS-197). AES uses the Rijndael
595 Rijndael appears to be consistently a very good performer in
596 both hardware and software across a wide range of computing
597 environments regardless of its use in feedback or non-feedback
598 modes. Its key setup time is excellent, and its key agility is
599 good. Rijndael's very low memory requirements make it very well
600 suited for restricted-space environments, in which it also
601 demonstrates excellent performance. Rijndael's operations are
602 among the easiest to defend against power and timing attacks.
604 The AES specifies three key sizes: 128, 192 and 256 bits
606 See <http://csrc.nist.gov/encryption/aes/> for more information.
608 config CRYPTO_AES_X86_64
609 tristate "AES cipher algorithms (x86_64)"
610 depends on (X86 || UML_X86) && 64BIT
614 AES cipher algorithms (FIPS-197). AES uses the Rijndael
617 Rijndael appears to be consistently a very good performer in
618 both hardware and software across a wide range of computing
619 environments regardless of its use in feedback or non-feedback
620 modes. Its key setup time is excellent, and its key agility is
621 good. Rijndael's very low memory requirements make it very well
622 suited for restricted-space environments, in which it also
623 demonstrates excellent performance. Rijndael's operations are
624 among the easiest to defend against power and timing attacks.
626 The AES specifies three key sizes: 128, 192 and 256 bits
628 See <http://csrc.nist.gov/encryption/aes/> for more information.
630 config CRYPTO_AES_NI_INTEL
631 tristate "AES cipher algorithms (AES-NI)"
633 select CRYPTO_AES_X86_64 if 64BIT
634 select CRYPTO_AES_586 if !64BIT
636 select CRYPTO_ABLK_HELPER_X86
641 Use Intel AES-NI instructions for AES algorithm.
643 AES cipher algorithms (FIPS-197). AES uses the Rijndael
646 Rijndael appears to be consistently a very good performer in
647 both hardware and software across a wide range of computing
648 environments regardless of its use in feedback or non-feedback
649 modes. Its key setup time is excellent, and its key agility is
650 good. Rijndael's very low memory requirements make it very well
651 suited for restricted-space environments, in which it also
652 demonstrates excellent performance. Rijndael's operations are
653 among the easiest to defend against power and timing attacks.
655 The AES specifies three key sizes: 128, 192 and 256 bits
657 See <http://csrc.nist.gov/encryption/aes/> for more information.
659 In addition to AES cipher algorithm support, the acceleration
660 for some popular block cipher mode is supported too, including
661 ECB, CBC, LRW, PCBC, XTS. The 64 bit version has additional
662 acceleration for CTR.
664 config CRYPTO_AES_SPARC64
665 tristate "AES cipher algorithms (SPARC64)"
670 Use SPARC64 crypto opcodes for AES algorithm.
672 AES cipher algorithms (FIPS-197). AES uses the Rijndael
675 Rijndael appears to be consistently a very good performer in
676 both hardware and software across a wide range of computing
677 environments regardless of its use in feedback or non-feedback
678 modes. Its key setup time is excellent, and its key agility is
679 good. Rijndael's very low memory requirements make it very well
680 suited for restricted-space environments, in which it also
681 demonstrates excellent performance. Rijndael's operations are
682 among the easiest to defend against power and timing attacks.
684 The AES specifies three key sizes: 128, 192 and 256 bits
686 See <http://csrc.nist.gov/encryption/aes/> for more information.
688 In addition to AES cipher algorithm support, the acceleration
689 for some popular block cipher mode is supported too, including
692 config CRYPTO_AES_ARM
693 tristate "AES cipher algorithms (ARM-asm)"
698 Use optimized AES assembler routines for ARM platforms.
700 AES cipher algorithms (FIPS-197). AES uses the Rijndael
703 Rijndael appears to be consistently a very good performer in
704 both hardware and software across a wide range of computing
705 environments regardless of its use in feedback or non-feedback
706 modes. Its key setup time is excellent, and its key agility is
707 good. Rijndael's very low memory requirements make it very well
708 suited for restricted-space environments, in which it also
709 demonstrates excellent performance. Rijndael's operations are
710 among the easiest to defend against power and timing attacks.
712 The AES specifies three key sizes: 128, 192 and 256 bits
714 See <http://csrc.nist.gov/encryption/aes/> for more information.
717 tristate "Anubis cipher algorithm"
720 Anubis cipher algorithm.
722 Anubis is a variable key length cipher which can use keys from
723 128 bits to 320 bits in length. It was evaluated as a entrant
724 in the NESSIE competition.
727 <https://www.cosic.esat.kuleuven.be/nessie/reports/>
728 <http://www.larc.usp.br/~pbarreto/AnubisPage.html>
731 tristate "ARC4 cipher algorithm"
732 select CRYPTO_BLKCIPHER
734 ARC4 cipher algorithm.
736 ARC4 is a stream cipher using keys ranging from 8 bits to 2048
737 bits in length. This algorithm is required for driver-based
738 WEP, but it should not be for other purposes because of the
739 weakness of the algorithm.
741 config CRYPTO_BLOWFISH
742 tristate "Blowfish cipher algorithm"
744 select CRYPTO_BLOWFISH_COMMON
746 Blowfish cipher algorithm, by Bruce Schneier.
748 This is a variable key length cipher which can use keys from 32
749 bits to 448 bits in length. It's fast, simple and specifically
750 designed for use on "large microprocessors".
753 <http://www.schneier.com/blowfish.html>
755 config CRYPTO_BLOWFISH_COMMON
758 Common parts of the Blowfish cipher algorithm shared by the
759 generic c and the assembler implementations.
762 <http://www.schneier.com/blowfish.html>
764 config CRYPTO_BLOWFISH_X86_64
765 tristate "Blowfish cipher algorithm (x86_64)"
766 depends on X86 && 64BIT
768 select CRYPTO_BLOWFISH_COMMON
770 Blowfish cipher algorithm (x86_64), by Bruce Schneier.
772 This is a variable key length cipher which can use keys from 32
773 bits to 448 bits in length. It's fast, simple and specifically
774 designed for use on "large microprocessors".
777 <http://www.schneier.com/blowfish.html>
779 config CRYPTO_CAMELLIA
780 tristate "Camellia cipher algorithms"
784 Camellia cipher algorithms module.
786 Camellia is a symmetric key block cipher developed jointly
787 at NTT and Mitsubishi Electric Corporation.
789 The Camellia specifies three key sizes: 128, 192 and 256 bits.
792 <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
794 config CRYPTO_CAMELLIA_X86_64
795 tristate "Camellia cipher algorithm (x86_64)"
796 depends on X86 && 64BIT
799 select CRYPTO_GLUE_HELPER_X86
803 Camellia cipher algorithm module (x86_64).
805 Camellia is a symmetric key block cipher developed jointly
806 at NTT and Mitsubishi Electric Corporation.
808 The Camellia specifies three key sizes: 128, 192 and 256 bits.
811 <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
813 config CRYPTO_CAMELLIA_AESNI_AVX_X86_64
814 tristate "Camellia cipher algorithm (x86_64/AES-NI/AVX)"
815 depends on X86 && 64BIT
819 select CRYPTO_ABLK_HELPER_X86
820 select CRYPTO_GLUE_HELPER_X86
821 select CRYPTO_CAMELLIA_X86_64
825 Camellia cipher algorithm module (x86_64/AES-NI/AVX).
827 Camellia is a symmetric key block cipher developed jointly
828 at NTT and Mitsubishi Electric Corporation.
830 The Camellia specifies three key sizes: 128, 192 and 256 bits.
833 <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
835 config CRYPTO_CAMELLIA_SPARC64
836 tristate "Camellia cipher algorithm (SPARC64)"
841 Camellia cipher algorithm module (SPARC64).
843 Camellia is a symmetric key block cipher developed jointly
844 at NTT and Mitsubishi Electric Corporation.
846 The Camellia specifies three key sizes: 128, 192 and 256 bits.
849 <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
851 config CRYPTO_CAST_COMMON
854 Common parts of the CAST cipher algorithms shared by the
855 generic c and the assembler implementations.
858 tristate "CAST5 (CAST-128) cipher algorithm"
860 select CRYPTO_CAST_COMMON
862 The CAST5 encryption algorithm (synonymous with CAST-128) is
863 described in RFC2144.
865 config CRYPTO_CAST5_AVX_X86_64
866 tristate "CAST5 (CAST-128) cipher algorithm (x86_64/AVX)"
867 depends on X86 && 64BIT
870 select CRYPTO_ABLK_HELPER_X86
871 select CRYPTO_CAST_COMMON
874 The CAST5 encryption algorithm (synonymous with CAST-128) is
875 described in RFC2144.
877 This module provides the Cast5 cipher algorithm that processes
878 sixteen blocks parallel using the AVX instruction set.
881 tristate "CAST6 (CAST-256) cipher algorithm"
883 select CRYPTO_CAST_COMMON
885 The CAST6 encryption algorithm (synonymous with CAST-256) is
886 described in RFC2612.
888 config CRYPTO_CAST6_AVX_X86_64
889 tristate "CAST6 (CAST-256) cipher algorithm (x86_64/AVX)"
890 depends on X86 && 64BIT
893 select CRYPTO_ABLK_HELPER_X86
894 select CRYPTO_GLUE_HELPER_X86
895 select CRYPTO_CAST_COMMON
900 The CAST6 encryption algorithm (synonymous with CAST-256) is
901 described in RFC2612.
903 This module provides the Cast6 cipher algorithm that processes
904 eight blocks parallel using the AVX instruction set.
907 tristate "DES and Triple DES EDE cipher algorithms"
910 DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
912 config CRYPTO_DES_SPARC64
913 tristate "DES and Triple DES EDE cipher algorithms (SPARC64)"
918 DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3),
919 optimized using SPARC64 crypto opcodes.
922 tristate "FCrypt cipher algorithm"
924 select CRYPTO_BLKCIPHER
926 FCrypt algorithm used by RxRPC.
929 tristate "Khazad cipher algorithm"
932 Khazad cipher algorithm.
934 Khazad was a finalist in the initial NESSIE competition. It is
935 an algorithm optimized for 64-bit processors with good performance
936 on 32-bit processors. Khazad uses an 128 bit key size.
939 <http://www.larc.usp.br/~pbarreto/KhazadPage.html>
941 config CRYPTO_SALSA20
942 tristate "Salsa20 stream cipher algorithm (EXPERIMENTAL)"
943 depends on EXPERIMENTAL
944 select CRYPTO_BLKCIPHER
946 Salsa20 stream cipher algorithm.
948 Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
949 Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
951 The Salsa20 stream cipher algorithm is designed by Daniel J.
952 Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
954 config CRYPTO_SALSA20_586
955 tristate "Salsa20 stream cipher algorithm (i586) (EXPERIMENTAL)"
956 depends on (X86 || UML_X86) && !64BIT
957 depends on EXPERIMENTAL
958 select CRYPTO_BLKCIPHER
960 Salsa20 stream cipher algorithm.
962 Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
963 Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
965 The Salsa20 stream cipher algorithm is designed by Daniel J.
966 Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
968 config CRYPTO_SALSA20_X86_64
969 tristate "Salsa20 stream cipher algorithm (x86_64) (EXPERIMENTAL)"
970 depends on (X86 || UML_X86) && 64BIT
971 depends on EXPERIMENTAL
972 select CRYPTO_BLKCIPHER
974 Salsa20 stream cipher algorithm.
976 Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
977 Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
979 The Salsa20 stream cipher algorithm is designed by Daniel J.
980 Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
983 tristate "SEED cipher algorithm"
986 SEED cipher algorithm (RFC4269).
988 SEED is a 128-bit symmetric key block cipher that has been
989 developed by KISA (Korea Information Security Agency) as a
990 national standard encryption algorithm of the Republic of Korea.
991 It is a 16 round block cipher with the key size of 128 bit.
994 <http://www.kisa.or.kr/kisa/seed/jsp/seed_eng.jsp>
996 config CRYPTO_SERPENT
997 tristate "Serpent cipher algorithm"
1000 Serpent cipher algorithm, by Anderson, Biham & Knudsen.
1002 Keys are allowed to be from 0 to 256 bits in length, in steps
1003 of 8 bits. Also includes the 'Tnepres' algorithm, a reversed
1004 variant of Serpent for compatibility with old kerneli.org code.
1007 <http://www.cl.cam.ac.uk/~rja14/serpent.html>
1009 config CRYPTO_SERPENT_SSE2_X86_64
1010 tristate "Serpent cipher algorithm (x86_64/SSE2)"
1011 depends on X86 && 64BIT
1012 select CRYPTO_ALGAPI
1013 select CRYPTO_CRYPTD
1014 select CRYPTO_ABLK_HELPER_X86
1015 select CRYPTO_GLUE_HELPER_X86
1016 select CRYPTO_SERPENT
1020 Serpent cipher algorithm, by Anderson, Biham & Knudsen.
1022 Keys are allowed to be from 0 to 256 bits in length, in steps
1025 This module provides Serpent cipher algorithm that processes eigth
1026 blocks parallel using SSE2 instruction set.
1029 <http://www.cl.cam.ac.uk/~rja14/serpent.html>
1031 config CRYPTO_SERPENT_SSE2_586
1032 tristate "Serpent cipher algorithm (i586/SSE2)"
1033 depends on X86 && !64BIT
1034 select CRYPTO_ALGAPI
1035 select CRYPTO_CRYPTD
1036 select CRYPTO_ABLK_HELPER_X86
1037 select CRYPTO_GLUE_HELPER_X86
1038 select CRYPTO_SERPENT
1042 Serpent cipher algorithm, by Anderson, Biham & Knudsen.
1044 Keys are allowed to be from 0 to 256 bits in length, in steps
1047 This module provides Serpent cipher algorithm that processes four
1048 blocks parallel using SSE2 instruction set.
1051 <http://www.cl.cam.ac.uk/~rja14/serpent.html>
1053 config CRYPTO_SERPENT_AVX_X86_64
1054 tristate "Serpent cipher algorithm (x86_64/AVX)"
1055 depends on X86 && 64BIT
1056 select CRYPTO_ALGAPI
1057 select CRYPTO_CRYPTD
1058 select CRYPTO_ABLK_HELPER_X86
1059 select CRYPTO_GLUE_HELPER_X86
1060 select CRYPTO_SERPENT
1064 Serpent cipher algorithm, by Anderson, Biham & Knudsen.
1066 Keys are allowed to be from 0 to 256 bits in length, in steps
1069 This module provides the Serpent cipher algorithm that processes
1070 eight blocks parallel using the AVX instruction set.
1073 <http://www.cl.cam.ac.uk/~rja14/serpent.html>
1076 tristate "TEA, XTEA and XETA cipher algorithms"
1077 select CRYPTO_ALGAPI
1079 TEA cipher algorithm.
1081 Tiny Encryption Algorithm is a simple cipher that uses
1082 many rounds for security. It is very fast and uses
1085 Xtendend Tiny Encryption Algorithm is a modification to
1086 the TEA algorithm to address a potential key weakness
1087 in the TEA algorithm.
1089 Xtendend Encryption Tiny Algorithm is a mis-implementation
1090 of the XTEA algorithm for compatibility purposes.
1092 config CRYPTO_TWOFISH
1093 tristate "Twofish cipher algorithm"
1094 select CRYPTO_ALGAPI
1095 select CRYPTO_TWOFISH_COMMON
1097 Twofish cipher algorithm.
1099 Twofish was submitted as an AES (Advanced Encryption Standard)
1100 candidate cipher by researchers at CounterPane Systems. It is a
1101 16 round block cipher supporting key sizes of 128, 192, and 256
1105 <http://www.schneier.com/twofish.html>
1107 config CRYPTO_TWOFISH_COMMON
1110 Common parts of the Twofish cipher algorithm shared by the
1111 generic c and the assembler implementations.
1113 config CRYPTO_TWOFISH_586
1114 tristate "Twofish cipher algorithms (i586)"
1115 depends on (X86 || UML_X86) && !64BIT
1116 select CRYPTO_ALGAPI
1117 select CRYPTO_TWOFISH_COMMON
1119 Twofish cipher algorithm.
1121 Twofish was submitted as an AES (Advanced Encryption Standard)
1122 candidate cipher by researchers at CounterPane Systems. It is a
1123 16 round block cipher supporting key sizes of 128, 192, and 256
1127 <http://www.schneier.com/twofish.html>
1129 config CRYPTO_TWOFISH_X86_64
1130 tristate "Twofish cipher algorithm (x86_64)"
1131 depends on (X86 || UML_X86) && 64BIT
1132 select CRYPTO_ALGAPI
1133 select CRYPTO_TWOFISH_COMMON
1135 Twofish cipher algorithm (x86_64).
1137 Twofish was submitted as an AES (Advanced Encryption Standard)
1138 candidate cipher by researchers at CounterPane Systems. It is a
1139 16 round block cipher supporting key sizes of 128, 192, and 256
1143 <http://www.schneier.com/twofish.html>
1145 config CRYPTO_TWOFISH_X86_64_3WAY
1146 tristate "Twofish cipher algorithm (x86_64, 3-way parallel)"
1147 depends on X86 && 64BIT
1148 select CRYPTO_ALGAPI
1149 select CRYPTO_TWOFISH_COMMON
1150 select CRYPTO_TWOFISH_X86_64
1151 select CRYPTO_GLUE_HELPER_X86
1155 Twofish cipher algorithm (x86_64, 3-way parallel).
1157 Twofish was submitted as an AES (Advanced Encryption Standard)
1158 candidate cipher by researchers at CounterPane Systems. It is a
1159 16 round block cipher supporting key sizes of 128, 192, and 256
1162 This module provides Twofish cipher algorithm that processes three
1163 blocks parallel, utilizing resources of out-of-order CPUs better.
1166 <http://www.schneier.com/twofish.html>
1168 config CRYPTO_TWOFISH_AVX_X86_64
1169 tristate "Twofish cipher algorithm (x86_64/AVX)"
1170 depends on X86 && 64BIT
1171 select CRYPTO_ALGAPI
1172 select CRYPTO_CRYPTD
1173 select CRYPTO_ABLK_HELPER_X86
1174 select CRYPTO_GLUE_HELPER_X86
1175 select CRYPTO_TWOFISH_COMMON
1176 select CRYPTO_TWOFISH_X86_64
1177 select CRYPTO_TWOFISH_X86_64_3WAY
1181 Twofish cipher algorithm (x86_64/AVX).
1183 Twofish was submitted as an AES (Advanced Encryption Standard)
1184 candidate cipher by researchers at CounterPane Systems. It is a
1185 16 round block cipher supporting key sizes of 128, 192, and 256
1188 This module provides the Twofish cipher algorithm that processes
1189 eight blocks parallel using the AVX Instruction Set.
1192 <http://www.schneier.com/twofish.html>
1194 comment "Compression"
1196 config CRYPTO_DEFLATE
1197 tristate "Deflate compression algorithm"
1198 select CRYPTO_ALGAPI
1202 This is the Deflate algorithm (RFC1951), specified for use in
1203 IPSec with the IPCOMP protocol (RFC3173, RFC2394).
1205 You will most probably want this if using IPSec.
1208 tristate "Zlib compression algorithm"
1214 This is the zlib algorithm.
1217 tristate "LZO compression algorithm"
1218 select CRYPTO_ALGAPI
1220 select LZO_DECOMPRESS
1222 This is the LZO algorithm.
1225 tristate "842 compression algorithm"
1226 depends on CRYPTO_DEV_NX_COMPRESS
1227 # 842 uses lzo if the hardware becomes unavailable
1229 select LZO_DECOMPRESS
1231 This is the 842 algorithm.
1233 comment "Random Number Generation"
1235 config CRYPTO_ANSI_CPRNG
1236 tristate "Pseudo Random Number Generation for Cryptographic modules"
1241 This option enables the generic pseudo random number generator
1242 for cryptographic modules. Uses the Algorithm specified in
1243 ANSI X9.31 A.2.4. Note that this option must be enabled if
1244 CRYPTO_FIPS is selected
1246 config CRYPTO_USER_API
1249 config CRYPTO_USER_API_HASH
1250 tristate "User-space interface for hash algorithms"
1253 select CRYPTO_USER_API
1255 This option enables the user-spaces interface for hash
1258 config CRYPTO_USER_API_SKCIPHER
1259 tristate "User-space interface for symmetric key cipher algorithms"
1261 select CRYPTO_BLKCIPHER
1262 select CRYPTO_USER_API
1264 This option enables the user-spaces interface for symmetric
1265 key cipher algorithms.
1267 source "drivers/crypto/Kconfig"
1268 source crypto/asymmetric_keys/Kconfig