]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - crypto/Kconfig
crypto: serpent - add AVX2/x86_64 assembler implementation of serpent cipher
[karo-tx-linux.git] / crypto / Kconfig
index 1ba48ddd4da183330611373d703b35a6b8d4a3c4..9ad3d78c1075b1d9b7f8a2eebf6cf6d5197b7d3b 100644 (file)
@@ -1131,6 +1131,29 @@ config CRYPTO_SERPENT_AVX_X86_64
          See also:
          <http://www.cl.cam.ac.uk/~rja14/serpent.html>
 
+config CRYPTO_SERPENT_AVX2_X86_64
+       tristate "Serpent cipher algorithm (x86_64/AVX2)"
+       depends on X86 && 64BIT
+       select CRYPTO_ALGAPI
+       select CRYPTO_CRYPTD
+       select CRYPTO_ABLK_HELPER_X86
+       select CRYPTO_GLUE_HELPER_X86
+       select CRYPTO_SERPENT
+       select CRYPTO_SERPENT_AVX_X86_64
+       select CRYPTO_LRW
+       select CRYPTO_XTS
+       help
+         Serpent cipher algorithm, by Anderson, Biham & Knudsen.
+
+         Keys are allowed to be from 0 to 256 bits in length, in steps
+         of 8 bits.
+
+         This module provides Serpent cipher algorithm that processes 16
+         blocks parallel using AVX2 instruction set.
+
+         See also:
+         <http://www.cl.cam.ac.uk/~rja14/serpent.html>
+
 config CRYPTO_TEA
        tristate "TEA, XTEA and XETA cipher algorithms"
        select CRYPTO_ALGAPI