aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2012-06-18 07:06:58 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2012-06-27 02:42:00 -0400
commitffaf9156320a077ebf9c5b9a5cf987689dc1a6b3 (patch)
tree22a3602bdedfc8809ff09bc9241b98ae3264ff13 /crypto
parent7c76bdd7c3baf6d2431bb801f5b11d2ac195fdd6 (diff)
crypto: ablk_helper - move ablk_* functions from serpent-sse2/avx glue code to shared module
Move ablk-* functions to separate module to share common code between cipher implementations. Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 2c1c2dfcc02a..8e9145c07d87 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -174,6 +174,11 @@ config CRYPTO_TEST
174 help 174 help
175 Quick & dirty crypto test module. 175 Quick & dirty crypto test module.
176 176
177config CRYPTO_ABLK_HELPER_X86
178 tristate
179 depends on X86
180 select CRYPTO_CRYPTD
181
177comment "Authenticated Encryption with Associated Data" 182comment "Authenticated Encryption with Associated Data"
178 183
179config CRYPTO_CCM 184config CRYPTO_CCM
@@ -786,6 +791,7 @@ config CRYPTO_SERPENT_SSE2_X86_64
786 depends on X86 && 64BIT 791 depends on X86 && 64BIT
787 select CRYPTO_ALGAPI 792 select CRYPTO_ALGAPI
788 select CRYPTO_CRYPTD 793 select CRYPTO_CRYPTD
794 select CRYPTO_ABLK_HELPER_X86
789 select CRYPTO_SERPENT 795 select CRYPTO_SERPENT
790 select CRYPTO_LRW 796 select CRYPTO_LRW
791 select CRYPTO_XTS 797 select CRYPTO_XTS
@@ -806,6 +812,7 @@ config CRYPTO_SERPENT_SSE2_586
806 depends on X86 && !64BIT 812 depends on X86 && !64BIT
807 select CRYPTO_ALGAPI 813 select CRYPTO_ALGAPI
808 select CRYPTO_CRYPTD 814 select CRYPTO_CRYPTD
815 select CRYPTO_ABLK_HELPER_X86
809 select CRYPTO_SERPENT 816 select CRYPTO_SERPENT
810 select CRYPTO_LRW 817 select CRYPTO_LRW
811 select CRYPTO_XTS 818 select CRYPTO_XTS
@@ -826,6 +833,7 @@ config CRYPTO_SERPENT_AVX_X86_64
826 depends on X86 && 64BIT 833 depends on X86 && 64BIT
827 select CRYPTO_ALGAPI 834 select CRYPTO_ALGAPI
828 select CRYPTO_CRYPTD 835 select CRYPTO_CRYPTD
836 select CRYPTO_ABLK_HELPER_X86
829 select CRYPTO_SERPENT 837 select CRYPTO_SERPENT
830 select CRYPTO_LRW 838 select CRYPTO_LRW
831 select CRYPTO_XTS 839 select CRYPTO_XTS