summaryrefslogtreecommitdiff
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2013-09-07 12:56:26 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2013-09-07 12:56:26 +1000
commitc816d23661d6405368fac7a710bfd19d4c1e139a (patch)
tree45284cb3ceff067aaa124306bfb9d5e0f147d42a /crypto/Kconfig
parent21e3a539957468d04a7d4f9461332d1199adec16 (diff)
downloadlinux-crypto-c816d23661d6405368fac7a710bfd19d4c1e139a.tar.gz
linux-crypto-c816d23661d6405368fac7a710bfd19d4c1e139a.zip
Reinstate "crypto: crct10dif - Wrap crc_t10dif function all to use crypto transform framework"
This patch reinstates commits 67822649d7305caf3dd50ed46c27b99c94eff996 3b9b423ebebe34f349e7da5fff3b0e881f66fb89 6eed586968701188819f49d75759f0d5c23c0b05 31d939625a9a20b1badd2d4e6bf6fd39fa523405 24e7cd682f8970c5f79eeb876bf891e489ca09f1 Now that module softdeps are in the kernel we can use that to resolve the boot issue which cause the revert. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r--crypto/Kconfig19
1 files changed, 19 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index aca01164..69ce573f 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -376,6 +376,25 @@ config CRYPTO_CRC32_PCLMUL
which will enable any routine to use the CRC-32-IEEE 802.3 checksum
and gain better performance as compared with the table implementation.
+config CRYPTO_CRCT10DIF
+ tristate "CRCT10DIF algorithm"
+ select CRYPTO_HASH
+ help
+ CRC T10 Data Integrity Field computation is being cast as
+ a crypto transform. This allows for faster crc t10 diff
+ transforms to be used if they are available.
+
+config CRYPTO_CRCT10DIF_PCLMUL
+ tristate "CRCT10DIF PCLMULQDQ hardware acceleration"
+ depends on X86 && 64BIT && CRC_T10DIF
+ select CRYPTO_HASH
+ help
+ For x86_64 processors with SSE4.2 and PCLMULQDQ supported,
+ CRC T10 DIF PCLMULQDQ computation can be hardware
+ accelerated PCLMULQDQ instruction. This option will create
+ 'crct10dif-plcmul' module, which is faster when computing the
+ crct10dif checksum as compared with the generic table implementation.
+
config CRYPTO_GHASH
tristate "GHASH digest algorithm"
select CRYPTO_GF128MUL