diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-03-10 04:47:44 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-03-12 06:13:35 -0400 |
commit | 652ccae5cc4e1305fb0a4619947f9ee89d8c7f5a (patch) | |
tree | 77825d76286e6e48628784aec071bf226747de61 /crypto/Kconfig | |
parent | 1eb8a1b340e2f0a562b4987683bbaee4d620bf0a (diff) |
crypto: arm - move ARM specific Kconfig definitions to a dedicated file
This moves all Kconfig symbols defined in crypto/Kconfig that depend
on CONFIG_ARM to a dedicated Kconfig file in arch/arm/crypto, which is
where the code that implements those features resides as well.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r-- | crypto/Kconfig | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index 1afb0f66ad43..88639937a934 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig | |||
@@ -572,26 +572,6 @@ config CRYPTO_SHA1_SPARC64 | |||
572 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented | 572 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented |
573 | using sparc64 crypto instructions, when available. | 573 | using sparc64 crypto instructions, when available. |
574 | 574 | ||
575 | config CRYPTO_SHA1_ARM | ||
576 | tristate "SHA1 digest algorithm (ARM-asm)" | ||
577 | depends on ARM | ||
578 | select CRYPTO_SHA1 | ||
579 | select CRYPTO_HASH | ||
580 | help | ||
581 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented | ||
582 | using optimized ARM assembler. | ||
583 | |||
584 | config CRYPTO_SHA1_ARM_NEON | ||
585 | tristate "SHA1 digest algorithm (ARM NEON)" | ||
586 | depends on ARM && KERNEL_MODE_NEON | ||
587 | select CRYPTO_SHA1_ARM | ||
588 | select CRYPTO_SHA1 | ||
589 | select CRYPTO_HASH | ||
590 | help | ||
591 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented | ||
592 | using optimized ARM NEON assembly, when NEON instructions are | ||
593 | available. | ||
594 | |||
595 | config CRYPTO_SHA1_PPC | 575 | config CRYPTO_SHA1_PPC |
596 | tristate "SHA1 digest algorithm (powerpc)" | 576 | tristate "SHA1 digest algorithm (powerpc)" |
597 | depends on PPC | 577 | depends on PPC |
@@ -691,21 +671,6 @@ config CRYPTO_SHA512_SPARC64 | |||
691 | SHA-512 secure hash standard (DFIPS 180-2) implemented | 671 | SHA-512 secure hash standard (DFIPS 180-2) implemented |
692 | using sparc64 crypto instructions, when available. | 672 | using sparc64 crypto instructions, when available. |
693 | 673 | ||
694 | config CRYPTO_SHA512_ARM_NEON | ||
695 | tristate "SHA384 and SHA512 digest algorithm (ARM NEON)" | ||
696 | depends on ARM && KERNEL_MODE_NEON | ||
697 | select CRYPTO_SHA512 | ||
698 | select CRYPTO_HASH | ||
699 | help | ||
700 | SHA-512 secure hash standard (DFIPS 180-2) implemented | ||
701 | using ARM NEON instructions, when available. | ||
702 | |||
703 | This version of SHA implements a 512 bit hash with 256 bits of | ||
704 | security against collision attacks. | ||
705 | |||
706 | This code also includes SHA-384, a 384 bit hash with 192 bits | ||
707 | of security against collision attacks. | ||
708 | |||
709 | config CRYPTO_TGR192 | 674 | config CRYPTO_TGR192 |
710 | tristate "Tiger digest algorithms" | 675 | tristate "Tiger digest algorithms" |
711 | select CRYPTO_HASH | 676 | select CRYPTO_HASH |
@@ -868,46 +833,6 @@ config CRYPTO_AES_SPARC64 | |||
868 | for some popular block cipher mode is supported too, including | 833 | for some popular block cipher mode is supported too, including |
869 | ECB and CBC. | 834 | ECB and CBC. |
870 | 835 | ||
871 | config CRYPTO_AES_ARM | ||
872 | tristate "AES cipher algorithms (ARM-asm)" | ||
873 | depends on ARM | ||
874 | select CRYPTO_ALGAPI | ||
875 | select CRYPTO_AES | ||
876 | help | ||
877 | Use optimized AES assembler routines for ARM platforms. | ||
878 | |||
879 | AES cipher algorithms (FIPS-197). AES uses the Rijndael | ||
880 | algorithm. | ||
881 | |||
882 | Rijndael appears to be consistently a very good performer in | ||
883 | both hardware and software across a wide range of computing | ||
884 | environments regardless of its use in feedback or non-feedback | ||
885 | modes. Its key setup time is excellent, and its key agility is | ||
886 | good. Rijndael's very low memory requirements make it very well | ||
887 | suited for restricted-space environments, in which it also | ||
888 | demonstrates excellent performance. Rijndael's operations are | ||
889 | among the easiest to defend against power and timing attacks. | ||
890 | |||
891 | The AES specifies three key sizes: 128, 192 and 256 bits | ||
892 | |||
893 | See <http://csrc.nist.gov/encryption/aes/> for more information. | ||
894 | |||
895 | config CRYPTO_AES_ARM_BS | ||
896 | tristate "Bit sliced AES using NEON instructions" | ||
897 | depends on ARM && KERNEL_MODE_NEON | ||
898 | select CRYPTO_ALGAPI | ||
899 | select CRYPTO_AES_ARM | ||
900 | select CRYPTO_ABLK_HELPER | ||
901 | help | ||
902 | Use a faster and more secure NEON based implementation of AES in CBC, | ||
903 | CTR and XTS modes | ||
904 | |||
905 | Bit sliced AES gives around 45% speedup on Cortex-A15 for CTR mode | ||
906 | and for XTS mode encryption, CBC and XTS mode decryption speedup is | ||
907 | around 25%. (CBC encryption speed is not affected by this driver.) | ||
908 | This implementation does not rely on any lookup tables so it is | ||
909 | believed to be invulnerable to cache timing attacks. | ||
910 | |||
911 | config CRYPTO_AES_PPC_SPE | 836 | config CRYPTO_AES_PPC_SPE |
912 | tristate "AES cipher algorithms (PPC SPE)" | 837 | tristate "AES cipher algorithms (PPC SPE)" |
913 | depends on PPC && SPE | 838 | depends on PPC && SPE |