diff options
author | Tim Chen <tim.c.chen@linux.intel.com> | 2013-05-01 12:52:48 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-05-20 20:11:01 +0800 |
commit | 24e7cd682f8970c5f79eeb876bf891e489ca09f1 (patch) | |
tree | 988cb8d249dc607f702afbc39730d89c6ca5362a /crypto/Kconfig | |
parent | e827648c65101c1af9d67f1709dec20099b0e79b (diff) | |
download | linux-crypto-24e7cd682f8970c5f79eeb876bf891e489ca09f1.tar.gz linux-crypto-24e7cd682f8970c5f79eeb876bf891e489ca09f1.zip |
crypto: crct10dif - Wrap crc_t10dif function all to use crypto transform framework
When CRC T10 DIF is calculated using the crypto transform framework, we
wrap the crc_t10dif function call to utilize it. This allows us to
take advantage of any accelerated CRC T10 DIF transform that is
plugged into the crypto framework.
Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
-rw-r--r-- | crypto/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index 622d8a48..ceb3611e 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -376,6 +376,14 @@ 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_GHASH tristate "GHASH digest algorithm" select CRYPTO_GF128MUL |