import PULS_20180308
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / crypto / Kconfig
index 622d8a48cbe9cd5861701320b7a83ec78c4428c8..16bfc5b80c38d5ad83d5234ed38fc03e13e54b37 100644 (file)
@@ -179,6 +179,10 @@ config CRYPTO_ABLK_HELPER_X86
        depends on X86
        select CRYPTO_CRYPTD
 
+config CRYPTO_ABLK_HELPER
+       tristate
+       select CRYPTO_CRYPTD
+
 config CRYPTO_GLUE_HELPER_X86
        tristate
        depends on X86
@@ -738,6 +742,7 @@ config CRYPTO_AES_ARM
        depends on ARM
        select CRYPTO_ALGAPI
        select CRYPTO_AES
+       select CRYPTO_AES_ARM32_CE if (ARCH_MT6752)
        help
          Use optimized AES assembler routines for ARM platforms.
 
@@ -757,6 +762,13 @@ config CRYPTO_AES_ARM
 
          See <http://csrc.nist.gov/encryption/aes/> for more information.
 
+config CRYPTO_AES_ARM32_CE
+       tristate "AES cipher using ARMv8 32bits Crypto Extensions"
+       select CRYPTO_ABLK_HELPER
+       help
+         AES cipher using ARMv8 32bits Crypto Extensions (HW) to
+         accelerate.
+         
 config CRYPTO_ANUBIS
        tristate "Anubis cipher algorithm"
        select CRYPTO_ALGAPI
@@ -823,6 +835,7 @@ config CRYPTO_BLOWFISH_X86_64
 config CRYPTO_BLOWFISH_AVX2_X86_64
        tristate "Blowfish cipher algorithm (x86_64/AVX2)"
        depends on X86 && 64BIT
+       depends on BROKEN
        select CRYPTO_ALGAPI
        select CRYPTO_CRYPTD
        select CRYPTO_ABLK_HELPER_X86
@@ -1299,6 +1312,7 @@ config CRYPTO_TWOFISH_AVX_X86_64
 config CRYPTO_TWOFISH_AVX2_X86_64
        tristate "Twofish cipher algorithm (x86_64/AVX2)"
        depends on X86 && 64BIT
+       depends on BROKEN
        select CRYPTO_ALGAPI
        select CRYPTO_CRYPTD
        select CRYPTO_ABLK_HELPER_X86
@@ -1350,6 +1364,12 @@ config CRYPTO_LZO
        help
          This is the LZO algorithm.
 
+config CRYPTO_LZ4K
+        tristate "LZ4K compression algorithm"
+        select CRYPTO_ALGAPI
+        help
+          This is the LZ4K algorithm.
+          
 config CRYPTO_842
        tristate "842 compression algorithm"
        depends on CRYPTO_DEV_NX_COMPRESS