summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig
diff options
context:
space:
mode:
authorTim Chen <tim.c.chen@linux.intel.com>2013-05-01 12:52:48 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2013-05-20 20:11:01 +0800
commit2d31e518a42828df7877bca23a958627d60408bc (patch)
tree83630715e5a962e734a936310adae2731edb8a3d /lib/Kconfig
parent986dfbcf8b493928188f0e634068993bf2067ad7 (diff)
downloadop-kernel-dev-2d31e518a42828df7877bca23a958627d60408bc.zip
op-kernel-dev-2d31e518a42828df7877bca23a958627d60408bc.tar.gz
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 'lib/Kconfig')
-rw-r--r--lib/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index fe01d41..339d5a4 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -63,6 +63,8 @@ config CRC16
config CRC_T10DIF
tristate "CRC calculation for the T10 Data Integrity Field"
+ select CRYPTO
+ select CRYPTO_CRCT10DIF
help
This option is only needed if a module that's not in the
kernel tree needs to calculate CRC checks for use with the
OpenPOWER on IntegriCloud