aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2012-11-13 04:43:14 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2012-12-06 04:16:26 -0500
commit044ab5257806310a0150146df3b74b8adaa4ebcf (patch)
tree0396b6068d9547c28841c1808c48adf97e474e60 /crypto/Kconfig
parentf0fcf2002bf122afe8fe1b74b2cee3710c7e6cd9 (diff)
crypto: cast5/cast6 - move lookup tables to shared module
CAST5 and CAST6 both use same lookup tables, which can be moved shared module 'cast_common'. Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r--crypto/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index c226b2c7e47c..4641d95651d3 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -841,9 +841,16 @@ config CRYPTO_CAMELLIA_SPARC64
841 See also: 841 See also:
842 <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 842 <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
843 843
844config CRYPTO_CAST_COMMON
845 tristate
846 help
847 Common parts of the CAST cipher algorithms shared by the
848 generic c and the assembler implementations.
849
844config CRYPTO_CAST5 850config CRYPTO_CAST5
845 tristate "CAST5 (CAST-128) cipher algorithm" 851 tristate "CAST5 (CAST-128) cipher algorithm"
846 select CRYPTO_ALGAPI 852 select CRYPTO_ALGAPI
853 select CRYPTO_CAST_COMMON
847 help 854 help
848 The CAST5 encryption algorithm (synonymous with CAST-128) is 855 The CAST5 encryption algorithm (synonymous with CAST-128) is
849 described in RFC2144. 856 described in RFC2144.
@@ -854,6 +861,7 @@ config CRYPTO_CAST5_AVX_X86_64
854 select CRYPTO_ALGAPI 861 select CRYPTO_ALGAPI
855 select CRYPTO_CRYPTD 862 select CRYPTO_CRYPTD
856 select CRYPTO_ABLK_HELPER_X86 863 select CRYPTO_ABLK_HELPER_X86
864 select CRYPTO_CAST_COMMON
857 select CRYPTO_CAST5 865 select CRYPTO_CAST5
858 help 866 help
859 The CAST5 encryption algorithm (synonymous with CAST-128) is 867 The CAST5 encryption algorithm (synonymous with CAST-128) is
@@ -865,6 +873,7 @@ config CRYPTO_CAST5_AVX_X86_64
865config CRYPTO_CAST6 873config CRYPTO_CAST6
866 tristate "CAST6 (CAST-256) cipher algorithm" 874 tristate "CAST6 (CAST-256) cipher algorithm"
867 select CRYPTO_ALGAPI 875 select CRYPTO_ALGAPI
876 select CRYPTO_CAST_COMMON
868 help 877 help
869 The CAST6 encryption algorithm (synonymous with CAST-256) is 878 The CAST6 encryption algorithm (synonymous with CAST-256) is
870 described in RFC2612. 879 described in RFC2612.
@@ -876,6 +885,7 @@ config CRYPTO_CAST6_AVX_X86_64
876 select CRYPTO_CRYPTD 885 select CRYPTO_CRYPTD
877 select CRYPTO_ABLK_HELPER_X86 886 select CRYPTO_ABLK_HELPER_X86
878 select CRYPTO_GLUE_HELPER_X86 887 select CRYPTO_GLUE_HELPER_X86
888 select CRYPTO_CAST_COMMON
879 select CRYPTO_CAST6 889 select CRYPTO_CAST6
880 select CRYPTO_LRW 890 select CRYPTO_LRW
881 select CRYPTO_XTS 891 select CRYPTO_XTS